Twitter Sentiment Analysis in Python

I followed this tutorial which looks at the sentiment of tweets about a particular topic (word) on twitter means I got to play with;

  • Python
  • Text Blob Sentiment Analysis using NLTK or Pattern libraries
  • Twitter Streaming API
  • Docker
  • Elasticsearch
  • Kibana

The speed at which containers get everything up is impressive (compared to installing everything manually…)

The tutorial word was ‘congress’ but you can muck around changing the word and see what comes up.

Here is a pie chart of the sentiment that was running for the topic ‘congress’ at that time.

sentiment

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s