Skip to content

sentiment analysis and calculation of polarity scores on amazon food reviews and amazon book reviews datasets collected from Kaggle

License

Notifications You must be signed in to change notification settings

zufeshan12/sentiment-analysis

Repository files navigation

sentiment-analysis : comparative analysis using VADER, AWS Comprehend & roBERTa

This project demonstrates a complete comparative study of different NLP text classifiers for sentiment analysis. The dataset is based on Amazon food reviews collected from Kaggle.

How VADER which is a pretrained model from NLTK trained on social media texts analyzes reviews and scores them as positive , negative or neutral and how AWS's Comprehend, an NLP service to perform sentiment classification over variety of data , projects labels such as positive, negative, neutral and mixed over 500 food reviews given by different customers. The latest pretrained roberta model from Hugging Face library has been used to analyze sentiments across 500 food reviews and conclusively , Vader and Roberta gave out similar results. These models however fail to capture sarcasm, mockery and puns . Guess we still have a long way to go!

Screenshot 2023-08-16 at 3 48 49 PM Screenshot 2023-08-16 at 3 49 06 PM Screenshot 2023-08-16 at 3 49 21 PM Screenshot 2023-08-16 at 3 49 58 PM

About

sentiment analysis and calculation of polarity scores on amazon food reviews and amazon book reviews datasets collected from Kaggle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published