Does sentiment analysis based on subreddit and the comments belongs to topic. View live here
- Create virtual environment
virtualenv -p python3 p3env
- Activate environment
source p3env/bin/activate
- Install dependencies
pip install -r requirements.txt
- Install nltk
vader_lexicon
data
python
import nltk
nltk.download('vader_lexicon')
- Reddit requires OAuth2 authentication. Create your client and then change configuration in appConfig.py
client_id
client_secret
password
user_agent
username
Simply run application
python app.py
If you want the run application in docker container
./run.sh