The main idea behind this project was to determine the sentiment (positive or negative) expressed by a movie review. In this project, I explored different types of feature models like the Top-N feature model and the bag-of-words model and brought them together.
- Python (> 3.0)
- Pillow (comes with python by default)
- NLTK
Training files along with pretrained models of the following models are added:
- Top-N feature model (accuracy: 0.807)
- Unigram model (accuracy: 0.703)
- Bigram model (accuracy: 0.786)
- Ngram model (accuracy: 0.912)
Results of all the models are added.