nltk.FeatureIncrementalChartParser

class nltk.FeatureIncrementalChartParser(grammar, strategy=[<nltk.parse.chart.LeafInitRule object at 0x2b21a94fb810>, <nltk.parse.featurechart.FeatureEmptyPredictRule object at 0x2b21a94fb850>, <nltk.parse.featurechart.FeatureBottomUpPredictCombineRule object at 0x2b21a94fb890>, <nltk.parse.earleychart.FeatureCompleteFundamentalRule object at 0x2b21a94fb8d0>], trace_chart_width=20, chart_class=<class 'nltk.parse.earleychart.FeatureIncrementalChart'>, **parser_args)[source]

Methods

__init__(grammar[, strategy, ...])
chart_parse(tokens[, trace])
grammar()
parse(tokens[, tree_class])
parse_all(sent, *args, **kwargs)
rtype:list(Tree)
parse_one(sent, *args, **kwargs)
rtype:Tree or None
parse_sents(sents, *args, **kwargs) Apply self.parse() to each element of sents.