This is a sentiment analyser based on twitter data for a given key word. This outputs a csv file with the following columns.
- Tweet
- Sentiment(Positive/Negative)
- Polarity
- Subjectivity
- Clone the repo and install dependencies.
- Create a new twitter app and get your consumer key, consumer secret, access token key and access token secret. Provide them in jAnalyser.py.
- Run jAnalyser.py keyword (Keyword is optional, if nothing is given, "modi" wil be taken as keyword).
- The output will be written to sentiment.csv file