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_lexicondata
python
import nltk
nltk.download('vader_lexicon')
- Reddit requires OAuth2 authentication. Create your client and then change configuration in appConfig.py
client_idclient_secretpassworduser_agentusername
Simply run application
python app.pyIf you want the run application in docker container
./run.sh