Here I am giving the code. To run program correctly all the files in given zip file
should be kept in same folder. Hindi is by default language, but you can use -hindi
for hindi corpus as command line argument for eg:
java Assignment1 OR java Assignment1 -hindi
and you must use -bengali as command line argument for bengali corpus: