__init__ (context_to_tag[, backoff]) |
param context_to_tag: |
| A dictionary mapping contexts to tags. |
|
choose_tag (tokens, index, history) |
|
context (tokens, index, history) |
return: | the context that should be used to look up the tag |
|
evaluate (gold) |
Score the accuracy of the tagger against the gold standard. |
size () |
return: | The number of entries in the table used by this |
|
tag (tokens) |
|
tag_one (tokens, index, history) |
Determine an appropriate tag for the specified token, and return that tag. |
tag_sents (sentences) |
Apply self.tag() to each element of sentences. |
unicode_repr () |
|