I have downloaded a Java program that contains an executable .jar file and all of the source code that goes along with it: .CLASS and .java files (please forgive my amateur descriptions). The program runs on the windows command line and does the following: the user types in "java -jar Uqailaut.jar" and then a word in the Inuit language Inuktitut, for example "java -jar Uaqilaut.jar kiluutaq" and presses enter. The program then outputs an analysis (i.e. parse) of that word in terms of its different morphological components; the resulting output for "kiluutaq" is:
Where the two lines represent two possible decompositions of the word. I would like to analyze all the words in an entire 50,000 word+ corpus using this program, but obviously I can't be doing it one word at a time! So my question is, how can I get the program to run automatically over a large text file, and preferably output a text file (in a perfect world the output would only include the first optional analysis/parse, but I think I can figure out how to clean that up after the fact. Thank you in advance for any suggestions, or places to start, you might have.