This web-app focusses on analyzing sentiments and keyphrase extraction on twitter data from tweepy api and generating a report.
- deepmoji/ contains all the underlying code used to calculate sentiment.
- templates/ contains the front-end code used for report generation.
- model/ contains the pretrained model and vocabulary.
- index.py contains code to fire up the Flask server.
- Local Machine Installation
$ git clone https://github.com/theAayushbajaj/Social-Media-Sentiment-Analysis.git
$ cd Social-Media-Sentiment-Analysis/
$ pip install -r requirements.txt
$ python index.py
- Docker Run
$ sudo docker build -t socialsentiments:latest .
$ docker run --name socialsentiments -v "$(pwd)":/home -p5000:5000 socialsentiments:latest
- Pulling the image from DockerHub: https://hub.docker.com/repository/docker/theaayushbajaj/social-sentiments