Skip to content

This is a sentiment analyser which classifies recent tweets on any given keyword into positive or negative sentiment using TextBlob

License

Notifications You must be signed in to change notification settings

jramasani/Twitter_Sentiment_Analyser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TwitterSentimentAnalyser

This is a sentiment analyser based on twitter data for a given key word. This outputs a csv file with the following columns.

  1. Tweet
  2. Sentiment(Positive/Negative)
  3. Polarity
  4. Subjectivity

Usage

  1. Clone the repo and install dependencies.
  2. Create a new twitter app and get your consumer key, consumer secret, access token key and access token secret. Provide them in jAnalyser.py.
  3. Run jAnalyser.py keyword (Keyword is optional, if nothing is given, "modi" wil be taken as keyword).
  4. The output will be written to sentiment.csv file

About

This is a sentiment analyser which classifies recent tweets on any given keyword into positive or negative sentiment using TextBlob

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages