An open API service indexing awesome lists of open source software.

https://github.com/shreyansh26/live-twitter-sentiment-analysis

Sentiment analysis on live twitter stream and plotting the sentiment values using Matplotlib
https://github.com/shreyansh26/live-twitter-sentiment-analysis

nltk twitter-sentiment-analysis twitter-streaming-api

Last synced: 6 months ago
JSON representation

Sentiment analysis on live twitter stream and plotting the sentiment values using Matplotlib

Awesome Lists containing this project

README

          

Live Twitter Sentiment Analysis
===============================

I created a module called **sentiment_mod** using NLTK. The classifier used for sentiment analysis is a custom classifier based on voting involving various algorithms including -

* Original Naive Bayes Classifier of NLTK
* Multinomial Naive Bayes
* Stochastic Gradient Descent (SGD)
* Bernoulli Naive Bayes

The module can do sentiment analysis on any piece of text and describe it as positive(pos) or negative(neg).

The file **live_twitter_sentiment.py** is used to do twitter analysis on live twitter feed on ay topic.
The file **graphing_live_twitter.py** plots a live graph of the sentiment value of tweets.

The pickle files can also be made by running the **sentiment_module_1.py**.