Skip to content

ShinigamiNS/sp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

SP: Simple Structured Perceptron tagger in Python

The code implements a simple structured perceptron tagger.

Train a model:

python simpletagger.py --train TRAINFILE --test TESTFILE

Expects CoNLL input (sentences delimited by a newline, words and tag delimited by tab).

  • Add your own features (see get_features method).
  • Not memory efficient.
  • See all options by running python simpletagger.py

Please let me know if you plan to extend/improve this code basis.

About

Simple Structured Perceptron tagger in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%