Sentiment Analysis using Python
All the paths in the code should be changed. I have set the path which is on my computer.
The dependencies are:
pickle
nltk
sklearn
To train the classifier, first run train.py
. Make sure to have the positive.txt
and negative.txt
files in the appropriate file path.
To run the classifier, run the main.py
file.