Skip to content

michaelchen-lab/SEAT

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SEAT Web App

The SEAT Web App is a sentiment analysis web app which aims to democratize sentiment analysis for non-technical users.

Links

Article

Video

Report

How It Works

This is a sentiment analysis tool meant to help users extract tweet data on their interested topic, and run sentiment analysis on that data.

Step 1: Extraction of tweets through Twitter API using keywords chosen by users

Step 2: Filter out irrelevant data and discard them using keywords chosen by users

Step 3: Categorise relevant data using topics chosen by users, and their corresponding keywords.

Step 4: Sentiment analysis is performed using pre-trained NLP model(s)

Get Started

Setup local Python environment

$ virtualenv venv

Enter Twitter consumer key and consumer secret key into env variables

Environment Variables: 'TWITTER_CONSUMER_KEY' and 'TWITTER_CONSUMER_SECRET'

Edit your PostgreSQL database credentials in /projects/settings.py

DATABASES = {
    'default': {
        'ENGINE': (engine),
        'NAME': '(name)',
        'USER': '(user)',
        'PASSWORD': '(password)',
        'HOST': '(host URL)',
        'PORT': '(port number)'
    }
}

Start Django local server in command line

$ python manage.py runserver

Go to the localhost URL provided by Django, and have fun exploring SEAT!