/reddit_sentiment

Perform simple sentiment analysis on subreddit posts.

Primary LanguagePython

Reddit sentiment

Perform simple sentiment analysis on subreddit posts.

Set up env

Create & activate new virtual environment

$ python3 -m venv venv
$ . venv/bin/activate

Install the requirements

$ pip install -r requirements.txt

Or install the latest versions (-U for upgrade):

$ pip install -U -r requirements.txt

Create an .env file

Copy .env.example file and replace with your keys.

Run program

$ python program_name.py

Uninstall all pip packages

Useful for debugging, for example, to see which packages are needed and which are not. This is just a helpful note for myself.

$ pip uninstall -y -r <(pip freeze)