Git Product home page Git Product logo

201912-12-entity-sentiment-analysis-reddit's Introduction

RedditFeels: A Sentiment Analysis Tool for Reddit News

Project ID: 201912-12

Team Members:

Overview:

Our web application is capable of processing and computing public sentiment towards companies or organizational entities. Such a product or service will be valuable in terms of informing investment decisions as well as evaluating brand recognition and loyalty. We have elected to work with data from the popular social media platform, Reddit, which houses a huge repository of user opinions and discussions on numerous wide-ranging topics and events. The resulting product is a web application that, given the name of a company specified by the user, extracts associated Reddit posts/comments and computes a sentiment score as well as other useful metrics to be output in the form of an analytics dashboard.

URL:

https://reddit-feels.herokuapp.com/

Technology Stack

User Interface:

  • Flask
  • JQuery
  • D3.js / Chart.js

Backend/Database:

  • Flask
  • Spark
  • VADER
  • BigQuery

Folder and File Structure:

  • static and templates contain all code needed for the user interface.
  • analysis contain jupyter notebooks that are used for validation and analysis. Within the notebook contains the pre-trained SpaCy model and script to train said model, which determines whether a sentence is relevant to the entity.
  • app.py is the entrypoint to the web app.
  • Procfile used for Heroku deployment.

How to use locally:

  1. pip install -r requirements.txt to install required packages.

  2. A Google API Service Account Key is needed to access the BigQuery database containing a subset of the reddit data (more info: https://cloud.google.com/iam/docs/creating-managing-service-account-keys). To get a key, please contact one of the authors above.

  3. run python app.py to start the application on your local server. Use --debug flag to use debug mode.

201912-12-entity-sentiment-analysis-reddit's People

Contributors

timjaya avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.