Simple Python Implementation of Stemmer and Lemmatizer
- To run stemmer file, run the following commands in the directory where code files are stored.
- sudo apt install python3-pip
- sudo pip3 install nltk
- python3
- import nltk
- nltk.download('brown')
- Exit python terminal and execute the myStemmerLongInput.py file
After executing these steps, one can execute the Lemmatizer file as well from the same directory.