Package nltk_lite :: Package tag :: Module brill :: Class ProximateTagsRule
[show private | hide private]
[frames | no frames]

Type ProximateTagsRule

     object --+        
              |        
     BrillRuleI --+    
                  |    
ProximateTokensRule --+
                      |
                     ProximateTagsRule


A rule which examines the tags of nearby tokens.
See Also:
superclass ProximateTokensRule for details., ProximateTagsTemplate, which generates these rules.
Method Summary
  extract_property(token)
Return the given token's tag. (Static method)
Inherited from ProximateTokensRule: __init__, __eq__, __hash__, __repr__, __str__, applies, apply_at, original_tag, replacement_tag, _condition_to_str, _range_to_str
Inherited from BrillRuleI: apply_to
Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variable Summary
str PROPERTY_NAME = 'tag'

Static Method Details

extract_property(token)

Returns:
The given token's tag.

Class Variable Details

PROPERTY_NAME

Type:
str
Value:
'tag'                                                                  

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