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

Class FundamentalRule

source code

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

A rule that joins two adjacent edges to form a single combined edge. In particular, this rule specifies that any pair of edges:

licenses the edge:

Instance Methods [hide private]
 
apply_iter(self, chart, grammar, left_edge, right_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 = 2
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

apply_iter(self, chart, grammar, left_edge, right_edge)

source code 
Overrides: AbstractChartRule.apply_iter