Skip to content

This is a flask-based simply platform for labeling classification of a text.

Notifications You must be signed in to change notification settings

NatLee/simply-nlp-classification-labeling-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simply NLP Classification Labeling Platform

Demo

This is a flask-based simply platform for labeling classification of a text.

The platform is designed to help users create labeled datasets for training classification models in natural language processing (NLP) tasks.

Testing source is from chinese_sentiment.

Database Schema

We all love to use a very useful sqlite-based database.

CREATE TABLE "emotion" (
	"id"	INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
	"text"	INTEGER NOT NULL UNIQUE,
	"date"	TEXT NOT NULL,
	"flag"	INTEGER NOT NULL
);


CREATE TABLE "label" (
	"id"	INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT UNIQUE,
	"emotionId"	INTEGER NOT NULL,
	"score"	REAL NOT NULL,
	"tag"	TEXT NOT NULL,
	"type"	TEXT NOT NULL,
	"tag_opt"	TEXT NOT NULL,
	"updateDate"	TEXT NOT NULL
	FOREIGN KEY("emotionId") REFERENCES "emotion"("id")
);

Usage

pip install -r requirements.txt
python main.py

And, it will serve on http://localhost:5000

Contributors

Nat Lee
Nat Lee
H-Alice
H-Alice

About

This is a flask-based simply platform for labeling classification of a text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published