| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
api.TaggerI --+
|
SequentialBackoffTagger --+
|
ContextTagger
An abstract base class for sequential backoff taggers that choose a tag for a token based on the value of its "context". Different subclasses are used to define different contexts.
A ContextTagger chooses the tag for a token by
calculating the token's context, and looking up the corresponding tag in
a table. This table can be constructed manually; or it can be
automatically constructed based on a training corpus, using the _train() factory method.
|
|||
|
|||
| (hashable) |
|
||
str
|
|
||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
_context_to_tag Dictionary mapping contexts to tags. |
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
Decide which tag should be used for the specified token, and return
that tag. If this tagger is unable to determine a tag for the specified
token, return
|
|
|
Initialize this The old value of
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Sep 20 21:27:47 2009 | http://epydoc.sourceforge.net |