Note: Twitter API keys have been revoked, you can generate your own copy from https://developer.twitter.com/en/docs/twitter-api
main.ipynb
contains all the code, from obtaining twitter tweets to the sentimental analysis. This jupyter file contains comments and notes to explain each block and what is being done.raw_tweets_general_large.csv
- These tweets are stored in a csv from themain.ipynb
, this is used instead of trying to obtain the tweets fresh from the API. In order to avoid API limits.preprocessed_tweets.csv
- Preprocessed version of the tweets fromraw_tweets_general_large.csv
.raw_tweets_celeb.csv
- Tweets done by celebrities.raw_tweets_celeb_replies.csv
- Replies to the celebrity's tweets.preprocessed_tweets_celeb.csv
- Proprocessed version ofraw_tweets_celeb.csv
&preprocessed_tweets_celeb.csv
.get_tweets_large.py
&get_tweets_celebs.py
- Daemon scripts to obtain tweets info and store into the following CSVs:raw_tweets_general_large.csv
,raw_tweets_celeb.csv
&raw_tweets_celeb_replies.csv
.bokeh_plot.png
- Clustering of the 12 LDA Topics.topic-modelled.html
- Terms revolving the topics for modelling.
- What are the main concerns or topics that are being discussed related to farmers protest in India.
- What are the general reaction or sentiment of the crowd towards each topic.
- Which all celebrities voiced out their opinions about the issue?
- How does the public feel towards celebrities?