Skip to content

a simple implementation of part-of-speech tagging with hmm

Notifications You must be signed in to change notification settings

PromptExpert/HMM_POS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Python Implementation of Part-of-Speech Tagging with HMM

See 隐马尔可夫模型词性标注及其Python实现 for detail.

Data

Click here to download the data.

Train

python learn_hmm.py pos_train.json

Decode

python viterbi.py

Forward Algorithm

python forward.py

Evaluate

python measure.py

About

a simple implementation of part-of-speech tagging with hmm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages