Skip to content

Kuldip-Bhutoria/Sentiment-Analysis

Repository files navigation

Sentiment-Analysis

How to run?

requirements are listed in requirements.txt, just pip install that inside a virtual environment

run the instance of mongodb server

mongod --dbpath="{path_to_the_database}" (Note: I have included all my database under database/mongodb_database)

all the analysis is done by sentimentAPI.py

sentimentAPI is a REST api, upon request it streams tweets in new thread and perform analysis

so run the sentimentAPI with python sentimentAPI.py

app.py is client app that requests sentimentAPI for the analysis, and shows the real time analysis while streaming from twitter uing web-sockets in a spline graph

run app.py python app.py

use url http://localhost:5000 to use the app

How does it look?

home categories livesentiment3png histroy about livesentiment2

How api returns data?

api

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published