Sentiment Analysis Bot that extracts tweets from a given hashtag and labels them according to their negativity level.
First, install Ipython:
$ sudo apt-get -y install ipython ipython-notebook
Next, install Jupyter Notebook
$ sudo -H pip install jupyter
You’ll need to create a Twitter app and you should have your Consumer Key, Consumer Secret, Access Token, and Access Token Secret in hand before beginning this.
To install the required libraries type:
$ pip install -r requirements.txt
in credentials.py replace the items in single quotes with your unique strings from the Twitter apps website (and keep the single quotes).
First, run Jupyter Notebook in the repo's directory by typing:
$ jupyter notebook
Then, open main.py.ipynb
and click run!