How to run the Code:

All the code is in one java file called "CorpusAnalyzer.java". All the contents of the Zip file shall be extracted in the same folder.

The program can be compiled by the Command:
javac -encoding UTF-8 CorpusAnalyzer.java

To run the program, type:
java CorpusAnalyzer

The Program goes through different Steps, which is shown when it runs. The important step, that needs to be done manually, is Step 2. The program produces a file called "final.txt", which is the Corpus file to be supplied to Linguistica. Once Linguistica produces it's output, it needs to be put in a folder called "Linguistica" under the current folder. A copy of the same is also present in the Zip File.

The final Output is produced in the "Output" sub-folder of the current folder, after the program completes.