A Bot that performs Sentiment Analysis on posts from r/depression subreddit
Visit [Slide show](http://lwgray.github.io) for results of analysis. Click on sad face in the portfolio. Download the slideshow for high resolution slides
- Reddit bot which reads new posts in depression subreddit
- Analyze sentiment of posts
- Score the likelyhood of suicide
- Respond with appropriate suicide hotline information
- Use Flask to provide admin interface to log sentiment scores
- ::
- $ python app.py
Sentiment scores for reddit post are located in /main/data.csv
- All files are located in main folder
- All files must be run from "main" folder in order to work
- general_sentiment.py runs analysis on suicide notes
- suicide notes are located within suicide_notes subfolder in the main folder
- reddit_sentiment_scoring.py calculates /r/depression scores
- app.py collects testing text scoring of /r/depression into data.csv
- data.csv file is created with app.py... it contains title, upvotes, sentiment, and score of each /r/depression posts
- api_key.txt - Generated by alchemyapi.py. It contains api key It is created by visit alchemyapi website if you would like to request your own free api key. The free key only allows 1000 requests per day.
- Provide community psychiatrist/psychologist resources based on poster's location