Skip to content

liguoxuan/POS_tagging_hmm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POS Tagging Using HMM

Use the following command to train and test:

python train_and_test.py --filename your_dataset --times n

The dataset will be randomly partitioned into train set and test set with a ratio of 9:1 and an HMM model will be trained and tested based on those two sets. The process will be repeated n times.

The default setting of filename and times are 'brown-universal.txt' and 10.

Notice

The format of your dataset has to be the same as the one provided.

About

Part of speech tagging using HMM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages