/spotlight

A sentiment analysis web system using Django. - UESTC CS NLP入门之情感分析系统

Primary LanguagePython

SpotLight - I Know Your Heart

SpotLight is a wondeful web page that can guess the sentiment which hides behind your words.

It is super smart and can learn from your feedbacks.

Running SpotLight Locally

1. Related Repository - Machine Learning Part

Twitter Sentiment Analysis

If you intend to run spotlight on your own machine, you may need to produce model.h5 and tokenizer.pkl using this repo first and put it under path index/static/models. You can also download pre-trained model according to the following link:

Link:https://pan.baidu.com/s/1CJkDQPuAAdHkH6DFGUHKNw
Password:1qay

2. Run SpotLight in Terminal

Run the following command in the project root folder:

$ python manage.py runserver

Examples

The Home Page

index

Some Predictions

neutral

positive