Skip to content
[To be improved]中文短文本情感分析 web 应用 | A web app about Chinese sentences sentiment analysis
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs replace the online server May 7, 2018
models
snownlpNew add tf-idf & pretrained SnowNLP May 6, 2018
static
training add tf-idf & pretrained SnowNLP May 6, 2018
.gitignore
LICENSE
README.md add tf-idf & pretrained SnowNLP May 6, 2018
app.py add tf-idf & pretrained SnowNLP May 6, 2018
example.png
index.html add tf-idf & pretrained SnowNLP May 6, 2018
requirements.txt train restaurant comment model Apr 6, 2018

README.md

sentiment-analysis-webapp

Python MIT license

中文短文本情感分析 web 应用 | A web app about Chinese sentences sentiment analysis

example.png

Installation

Clone the repo

$ git clone git@github.com:bighuang624/sentiment-analysis-webapp.git

Enter the directory

$ cd sentiment-analysis-webapp

Install requirements

$ pip install -r requirements.txt

Run with Python

Only support Python 3.5+ temporarily.

$ python app.py

Play

Open index.html and have fun. 😃

Structure

.
├── LICENSE
├── README.md
├── app.py
├── index.html
├── models
│   ├── douban_comment.pkl
│   └── restaurant_comment.pkl
├── requirements.txt
├── static
└── training
    ├── douban-comment.csv
    ├── douban_comment_trainning.py
    ├── restaurant-comment.csv
    └── restaurant_comment_trainning.py

Frontend

The source code of the frontend can be found in sentiment-analysis-webapp-frontend, which is powered by Vue.js.

Test

We also open source a web automative test framework to support this project.

Contributors

This work is doing by Siteng Huang, Muzhe Zhou, Ziyi Wu, Zhongchao Cai, Xu Zheng and Suyang Hu.

Thanks

Inspired by mtobeiyf / keras-flask-deploy-webapp.

License

Licensed under the MIT License.

You can’t perform that action at this time.