A Chinese Keyword Extraction based on SAE Segmentation Service
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
config.yaml
corpus.csv
index.wsgi
seger.py

README.md

Seger

A Chinese Keyword Extraction based on SAE Segmentation Service

Descriptions

This application should be deployed to SAE.

Demo

API

GET SERVICE_URL

Parameters

Name Type Description
c string Chinese text
short bool Return keywords in short format (optional, default to false)
max int Max keywords count (optional, default to 10)
callback string JSONP callback (optional, returns JSON format if not set)

Response

Normal

{
  "keywords": [/*...*/]
  "words": [/*...*/]
}
keywords Element Format

Short form: string

Long form:

Field Type Description
word string The word
index string Word index
word_tag string Word tag
x float Weighted TF-IDF
words Element Format
Field Type Description
word string The word
index string Word index
word_tag string Word tag
x float Weighted TF-IDF
lf float Local frequency (in current text)
gf float Global frequency (in corpus database)
tf_idf float TF-IDF

Error

{
  "error": "error message"
}