NLTK Documentation
Installation
More
Bases: object
object
Class representing a lexicon for CCG grammars.
primitives: The list of primitive categories for the lexicon
families: Families of categories
entries: A mapping of words to possible categories
Returns all the possible categories for a word
Return the target category for the parser