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

Type ProximateWordsRule

     object --+        
              |        
     BrillRuleI --+    
                  |    
ProximateTokensRule --+
                      |
                     ProximateWordsRule


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

Class Variable Summary
str PROPERTY_NAME = 'text'

Static Method Details

extract_property(token)

Returns:
The given token's text.

Class Variable Details

PROPERTY_NAME

Type:
str
Value:
'text'                                                                 

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