This application calculates the sentiment of given text and yelp reviews on a 1-5 scale (very bad - very good).
Score | Sentiment |
---|---|
1 | very bad |
2 | bad |
3 | meh |
4 | good |
5 | very good |
- Calculating sentiment
- Calculating sentiment of Yelp reviews with a given URL
- Sentiment chart for Yelp reviews
- Different forms of displaying data
- Simple and responsive design
- Navigation menu
Similar to the last example, even though the words enjoy and sweet are usually considered positive, the overall structure is a negative type.
Sentiments on a yelp review
Follow this, basically clone this and change the SECRET_KEY and install required libraries
pip install -r requirements.txt
installing torch might be different depending on your OS etc. so go here for the command.
Then run this in the same folder where manage.py is and go to http://127.0.0.1:8000/
python manage.py runserver