Giter Site home page Giter Site logo

geekyshiva / twitter_sentiment_analysis-and-graphing Goto Github PK

View Code? Open in Web Editor NEW
7.0 5.0 2.0 89 KB

This is a Natural Language Processing experiment to analyse the simple trend and sentimens of a query on Twitter using Twitter streaming API .

Python 100.00%
twitter-api nlp nltk nltk-grammar tweepy python-3

twitter_sentiment_analysis-and-graphing's Introduction

Twitter_Sentiment_Analysis_and_Graphing

Twitter Sentiment Analysis using NLTK

Travis branch

NLTK is a leading platform for building Python programs to work with human language data. It provides easy-to-use interfaces to over 50 corpora and lexical resources such as WordNet, along with a suite of text processing libraries for classification, tokenization, stemming, tagging, parsing, and semantic reasoning, wrappers for industrial-strength NLP libraries

Get your Twitter Consumer key, Consumer secret, Access token, Access secret here

To know how to get Twitter access tokens Click Here!

The code is divided in 3 set of files

1.First one is just a streaming file twitter_streaming.py {This file contains code only to stream tweets}, remember the stram now is restricted to 3240 tweets only due to permission criteria.

2.Second file streaming.py {This file contains the core code}

3.Third file graphing.py is the NLTK graphing file for Data Visualisation.

Check the final output here

The live stream of the sentiments will look like this:

twitter_sentiment_analysis-and-graphing's People

Contributors

geekyshiva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

kendalvictor

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.