wangpeng138375 / AveragedPerceptronPython

Clone of "A Good Part-of-Speech Tagger in about 200 Lines of Python" by Matthew Honnibal

Home Page:http://www.hankcs.com/nlp/averaged-perceptron-tagger.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AveragedPerceptronPython

Clone of "A Good Part-of-Speech Tagger in about 200 Lines of Python" by Matthew Honnibal

How to Play

Simply run the script PerceptronTagger.py, or:

tagger = PerceptronTagger()
tagger.train(...)
tagger.test(...)

About

Clone of "A Good Part-of-Speech Tagger in about 200 Lines of Python" by Matthew Honnibal

http://www.hankcs.com/nlp/averaged-perceptron-tagger.html

License:MIT License


Languages

Language:Python 100.0%