Package nltk :: Package parse :: Module chart :: Class BottomUpInitRule
[hide private]
[frames] | no frames]

Class BottomUpInitRule

source code

       object --+    
                |    
AbstractChartRule --+
                    |
                   BottomUpInitRule
Known Subclasses:

A rule licensing any edges corresponding to terminals in the text. In particular, this rule licenses the leaf edge:

for w is a word in the text, where i is w's index.

Instance Methods [hide private]
 
apply_iter(self, chart, grammar) source code

Inherited from AbstractChartRule: __str__, apply, apply_everywhere, apply_everywhere_iter

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

Class Variables [hide private]
  NUM_EDGES = 0
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

apply_iter(self, chart, grammar)

source code 
Overrides: AbstractChartRule.apply_iter