Lab 2: Twitter sentiment analysis

Installation instructions

conda create --name twitter_api
pip install -r requirements.txt

Problem 1

Run command

python scrapper.py

Problem 2

Run command

python tweet_sentiment.py AFINN-111.txt data.json

Problem 3

Run command

python term_sentiment.py AFINN-111.txt data.json

Problem 4

Run command

python frequency.py data.json

Problem 5

Run command

python happiest_state.py AFINN-111.txt data.json

Problem 6

Run command

python top_ten.py data.json