Package nltk_lite :: Package tag :: Class TagI
[show private | hide private]
[frames | no frames]

Type TagI

object --+
         |
        TagI

Known Subclasses:
Brill, Brill, SequentialBackoff

A processing interface for assigning a tag to each token in a list. Tags are case sensitive strings that identify some property of each token, such as its part of speech or its sense.
Method Summary
  tag(self, tokens)
Assign a tag to each token in tokens, and yield a tagged token of the form (token, tag)
Inherited from object: __init__, __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Method Details

tag(self, tokens)

Assign a tag to each token in tokens, and yield a tagged token of the form (token, tag)

Generated by Epydoc 2.1 on Tue Sep 5 09:37:22 2006 http://epydoc.sf.net