Giter VIP home page Giter VIP logo

ramhemasri / moodmap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from priyeshpatel/moodmap

0.0 1.0 0.0 134 KB

Moodmap is an online application which correlates data from Twitter with data from the government. Tweets are put through sentiment analysis (to assess the overall mood) and then plotted on a map according to the location from which they were tweeted from. Goverment data for deprivation is then overlayed on top of this.

Home Page: http://themoodmap.co.uk/

moodmap's Introduction

MoodMap

Plotting sentiment analysed tweets to show the mood of the country

visit the site

MoodMap is an online application which correlates data from Twitter with data from the government. Tweets are put through sentiment analysis (to assess the overall mood) and then plotted on a map according to the location from which they were tweeted from. Goverment data for deprivation is then overlayed on top of this.

Authors

  • Priyesh Patel
  • Daniel Saul

Setting up

Dependencies

All dependencies are listed in requirements.txt. Inside your VirtualEnv execute:

pip install -r requirements.txt

Installation

It is recommended to run the MoodMap daemon with Supervisor. To do this setup Foreman by copying env.example to .env and filling out the details. Foreman can then be used to export a Supervisor configuration file:

foreman export supervisord ./

This resulting file will need to be edited so that /bin/sh venv_<process>.sh is run as the command in each case and then added to the system's Supervisor directory (often /etc/supervisor/conf.d/).

Supervisor can then be reloaded with sudo supervisorctl reload.

The web root should be set to ./web.

CouchDB design docs are provided in ./couchdb.

ANEW Dataset

MoodMap utilises the ANEW (Affective Norms for English Words) dataset produced by the University of Florida. The data is also available from other sources: http://www.manifestdensity.net/2010/06/16/anew/.

The data should be imported into CouchDB and each doc should be formatted as such:

{
    "_id": XXX,
    "_rev": XXX,
    "word": "ball",
    "value": 6.00
}

License

To be confirmed

moodmap's People

Contributors

priyeshpatel avatar

Watchers

Ram Hemasri avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.