Skip to content

volkanbicer/coinsentiment

Repository files navigation

Coinsentiment

Does sentiment analysis based on subreddit and the comments belongs to topic. View live here

Installing

  • Create virtual environment
virtualenv -p python3 p3env
  • Activate environment
source p3env/bin/activate
  • Install dependencies
pip install -r requirements.txt
  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

Running

Simply run application

python app.py

If you want the run application in docker container

./run.sh

Built With