Twitter Sentiment Analysis download 10 tweets and use Google Cloud NLP API to get the sentiment of the tweet.
- Install Python & pip
- Install Python library requirements: pip install -r requirements.txt
-
Make sure you create the credential to access Cloud Translation API and download the credential. Set the credential to use Google Cloud NLP API: export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credential/json/file
-
Run the Twitter Analysis Server: python server.py
-
Open the web browser and point to http://localhost:5050/web