nltk.parse.ChartParser.chart_parse

ChartParser.chart_parse(tokens, trace=None)[source]

Return the final parse Chart from which all possible parse trees can be extracted.

Parameters:tokens (list(str)) – The sentence to be parsed
Return type:Chart