nltk.BllipParser.parse¶
-
BllipParser.
parse
(sentence)[source]¶ Use BLLIP Parser to parse a sentence. Takes a sentence as a list of words; it will be automatically tagged with this BLLIP Parser instance’s tagger.
Returns: An iterator that generates parse trees for the sentence from most likely to least likely.
Parameters: sentence (list(str)) – The sentence to be parsed Return type: iter(Tree)