class documentation
class FeatureSingleEdgeFundamentalRule(SingleEdgeFundamentalRule): (source)
Known subclasses: nltk.parse.earleychart.FeatureCompleteFundamentalRule
A specialized version of the completer / single edge fundamental rule that operates on nonterminals whose symbols are ``FeatStructNonterminal``s. Rather than simply comparing the nonterminals for equality, they are unified.
Method | _apply |
Undocumented |
Method | _apply |
Undocumented |
Class Variable | _fundamental |
Undocumented |
Inherited from SingleEdgeFundamentalRule
:
Method | apply |
Return a generator that will add edges licensed by this rule and the given edges to the chart, one at a time. Each time the generator is resumed, it will either add a new edge and yield that edge; or return. |
Constant | NUM |
Undocumented |
Inherited from AbstractChartRule
(via SingleEdgeFundamentalRule
, FundamentalRule
):
Method | __str__ |
Undocumented |
Method | apply |
Return a generator that will add all edges licensed by this rule, given the edges that are currently in the chart, one at a time. Each time the generator is resumed, it will either add a new edge and yield that edge; or return. |