https://github.com/volkanbicer/coinsentiment
Cryptocurrency reddit sentiment analysis application.
https://github.com/volkanbicer/coinsentiment
cryptocurrency data-simulation flask python3 reddit sentiment-analysis
Last synced: 3 months ago
JSON representation
Cryptocurrency reddit sentiment analysis application.
- Host: GitHub
- URL: https://github.com/volkanbicer/coinsentiment
- Owner: volkanbicer
- Created: 2018-03-21T10:20:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T00:56:30.000Z (over 2 years ago)
- Last Synced: 2023-03-21T00:50:37.680Z (about 2 years ago)
- Topics: cryptocurrency, data-simulation, flask, python3, reddit, sentiment-analysis
- Language: Python
- Homepage: https://coinsentiment.herokuapp.com/
- Size: 29.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Coinsentiment
Does sentiment analysis based on subreddit and the comments belongs to topic.
View live [here](https://coinsentiment.herokuapp.com/)## Installing
* Create virtual environment
```
virtualenv -p python3 p3env
```
* Activate environment
```
source p3env/bin/activate
```
* Install dependencies
```
pip install -r requirements.txt
```
* Install nltk [`vader_lexicon`](https://github.com/cjhutto/vaderSentiment) data
```
python
import nltk
nltk.download('vader_lexicon')
```
* Reddit requires [OAuth2](https://github.com/reddit-archive/reddit/wiki/OAuth2) authentication. Create your client and then change configuration in appConfig.py
* `client_id`
* `client_secret`
* `password`
* `user_agent`
* `username`## Running
Simply run application
```bash
python app.py
```If you want the run application in docker container
```Bash
./run.sh
```## Built With
* [Flask](https://github.com/pallets/flask)
* [Flask Cache](https://github.com/thadeusb/flask-cache)
* [Nltk](https://github.com/nltk/nltk)
* [Praw](https://github.com/praw-dev/praw)