module documentation

Extension of chart parsing implementation to handle grammars with feature structures as nodes.

Class FeatureBottomUpChartParser Undocumented
Class FeatureBottomUpLeftCornerChartParser Undocumented
Class FeatureBottomUpPredictCombineRule Undocumented
Class FeatureBottomUpPredictRule Undocumented
Class FeatureChart A Chart for feature grammars. :see: Chart for more information.
Class FeatureChartParser Undocumented
Class FeatureEmptyPredictRule Undocumented
Class FeatureFundamentalRule

Broken description

Class FeatureSingleEdgeFundamentalRule 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.
Class FeatureTopDownChartParser Undocumented
Class FeatureTopDownInitRule Undocumented
Class FeatureTopDownPredictRule A specialized version of the (cached) top down predict rule that operates on nonterminals whose symbols are ``FeatStructNonterminal``s. Rather than simply comparing the nonterminals for equality, they are unified.
Class FeatureTreeEdge A specialized tree edge that allows shared variable bindings between nonterminals on the left-hand side and right-hand side.
Class InstantiateVarsChart A specialized chart that 'instantiates' variables whose names start with '@', by replacing them with unique new variables. In particular, whenever a complete edge is added to the chart, any variables in the edge's ...
Function demo Undocumented
Function demo_grammar Undocumented
Function run_profile Undocumented
Constant BU_FEATURE_STRATEGY Undocumented
Constant BU_LC_FEATURE_STRATEGY Undocumented
Constant TD_FEATURE_STRATEGY Undocumented
def demo(print_times=True, print_grammar=True, print_trees=True, print_sentence=True, trace=1, parser=FeatureChartParser, sent='I saw John with a dog with my cookie'): (source)

Undocumented

def demo_grammar(): (source)

Undocumented

def run_profile(): (source)

Undocumented