A JAVA INDEXING AND DICTIONARY API The main function of the programme is that it is able to read in and parse any .txt file or online resource with text in it. The programme is able to read in every word in the textfile and create an index for the textfile which provides the definitions of the words in the textfile and also prints the page numbers. The index prints to a screen in the console and also to the file words_in_book_definitions.txt in the textfile folder. The is also able to type a word into the console and the programme should search the textfile for this word and print the definition out in the console.