Simple twitter sentimental anlaysis to demonstrate sentiment using textblob and integrating dash core components and http requests.
click Twitter Sentimental analysis to see the demo.
quick demo
app.py
- Front and back end portion of the web applicationmodels
- it contains sentimental analysis script .pred
- conatins sentimental prediction file for twitter #hastag, which we submitted for prediction.src
- contains raw data file extracted from twitter using tweepy,credential file for twiier account(excluded from git code for security), twiiter extractor script .
- Download the entire repository as a folder and open
app.py
and run it with IDE . That's it! http://127.0.0.1:5001/
Directory Tree
├─ .gitignore
├─ app.py
├─ app_view.PNG
├─ model
│ ├─ text_blob.py
│ └─ __pycache__
│ └─ text_blob.cpython-36.pyc
├─ pred
│ └─ sentiment_#coronavaccine.csv
├─ README.md
├─ requirements.txt
└─ src
├─ raw_data
│ └─ tweet_#coronavaccine.csv
└─ tweet_extractor.py