Home | Trees | Indices | Help |
|
---|
|
object --+ | yaml.YAMLObject --+ | TagI --+ | SequentialBackoff --+ | Unigram
A unigram stochastic tagger. Before tag.Unigram
can be
used, it should be trained on a tagged corpus. Using this training data,
it will find the most likely tag for each word type. It will then use
this information to assign the most frequent tag to each word. If
tag.Unigram
encounters a word which it has no data, it will
assign it the tag None
.
|
|||
Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
|||
yaml_tag =
|
|||
Inherited from |
|
|||
|
Construct a new unigram stochastic tagger. The new tagger should be trained, using the train() method, before it is used to tag data.
|
Train
|
repr(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed May 16 22:47:31 2007 | http://epydoc.sourceforge.net |