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

Class TagI

source code

     object --+    
              |    
yaml.YAMLObject --+
                  |
                 TagI
Known Subclasses:
SequentialBackoff, contrib.marshalbrill.Brill

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.

Nested Classes [hide private]

Inherited from yaml.YAMLObject: __metaclass__, yaml_dumper, yaml_loader

Instance Methods [hide private]
 
tag(self, tokens)
Assign a tag to each token in tokens, and yield a tagged token of the form (token, tag)
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from yaml.YAMLObject: from_yaml, to_yaml

Class Variables [hide private]

Inherited from yaml.YAMLObject: yaml_flow_style, yaml_tag

Properties [hide private]

Inherited from object: __class__