https://github.com/frankfarrell/ireland-sentiment
Sentiment and Analysis for Irish Data Stream
https://github.com/frankfarrell/ireland-sentiment
Last synced: 9 months ago
JSON representation
Sentiment and Analysis for Irish Data Stream
- Host: GitHub
- URL: https://github.com/frankfarrell/ireland-sentiment
- Owner: frankfarrell
- Created: 2014-12-16T15:14:24.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-08T18:17:38.000Z (almost 10 years ago)
- Last Synced: 2025-02-13T04:53:57.967Z (11 months ago)
- Language: Python
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ireland-sentiment
=================
Sentiment and Analysis for Irish Data Stream
# Prerequisites:
* Erlang
* RabbitMQ
* Python 3+
* Run setup.sh -> installs needed python dependencies
* Get the training data produced here : http://help.sentiment140.com/for-students/
Extract and rename file main sentiment.csv
# To Run:
1. python tornadoapp.py
2. python feed_producer.py
# Server-Side Stack
Tornado
Nltk
Pika twitter client
# Client
Leaflet Map
d3js overlay showing Voronoi tessellation based on tweet sentiment
# Code Description
client.py: A message comes in, it is classified and pushed to all listeners
feed_producer.py : Sets up connection to twitter feed and pushes to queue
handlers.py : Accepts event listeners from clients
tornadoapp.py : Starts tornado application
tweetclassifier.py: sets up Naive Bayes Model based on historic twitter feed