Find out the views of different people on the demonetization by analyzing tweets using afinn dictionary (lexicon based approach)
dependencies-
- tweepy
- numpy
- matplotlib
STEPS-
- Used the Twitter API to extract all tweets related to demonetisation in India by using appropriate filters.
- Divide each tweet text into words to calculate the sentiment of the whole tweet.
- Rate the word as per its meaning from +5 to -5 using the dictionary AFINN.
The AFINN is a dictionary which consists of 2500 words which are rated from +5 to -5 depending on their meaning.