Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1003 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 1003 Bytes

Social Media Sentiment Analysis

This web-app focusses on analyzing sentiments and keyphrase extraction on twitter data from tweepy api and generating a report.

Overview

  • 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.

Installation

  • 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