NLTK Documentation
Installation
More
Bases: ParserI
ParserI
Chart parser for CCGs. Based largely on the ChartParser class from NLTK.
An iterator that generates parse trees for the sentence. When possible this list is sorted from most likely to least likely.
sent (list(str)) – The sentence to be parsed
iter(Tree)
The grammar used by this parser.
list(Tree)
Tree or None
Apply self.parse() to each element of sents. :rtype: iter(iter(Tree))
self.parse()
sents