1- Install NLTK: run "sudo pip install -U nltk" 2- using python console download nltk library >>> import nltk >>> nltk.download() >>> # download the sources that you need
3- To run the program: - you should change the path of source file - file format must be only one sentence in each line