Home | Trees | Index | Help |
|
---|
Package nltk_lite :: Package tag :: Module unigram |
|
TagI
interface.
Classes | |
---|---|
Affix |
A unigram tagger that assign tags to tokens based on leading or trailing substrings (it is important to note that the substrings are not necessarily "true" morphological affixes). |
Lookup |
A tagger that assigns tags to words based on a lookup table. |
Regexp |
A tagger that assigns tags to words based on regular expressions. |
Unigram |
A unigram stochastic tagger. |
Function Summary | |
---|---|
A simple demonstration function for the Tagger
classes. | |
_demo_tagger(tagger,
gold)
|
Function Details |
---|
demo()A simple demonstration function for theTagger classes.
It constructs a backoff tagger using a trigram tagger, bigram tagger
unigram tagger and a default tagger. It trains and tests the tagger
using the Brown corpus.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 | http://epydoc.sf.net |