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

Class BottomUpPredictRule

source code

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

A rule licensing any edge corresponding to a production whose right-hand side begins with a complete edge's left-hand side. In particular, this rule specifies that:

licenses the edge:

for each grammar production B→Aβ

Instance Methods [hide private]
 
apply_iter(self, chart, grammar, edge) 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 = 1
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

apply_iter(self, chart, grammar, edge)

source code 
Overrides: AbstractChartRule.apply_iter