class documentation
class CCGLexicon(object): (source)
Constructor: CCGLexicon(start, primitives, families, entries)
Class representing a lexicon for CCG grammars.
primitives: The list of primitive categories for the lexiconfamilies: Families of categoriesentries: A mapping of words to possible categories
| Method | __init__ |
Undocumented |
| Method | __str__ |
String representation of the lexicon. Used for debugging. |
| Method | categories |
Returns all the possible categories for a word |
| Method | start |
Return the target category for the parser |
| Instance Variable | _entries |
Undocumented |
| Instance Variable | _families |
Undocumented |
| Instance Variable | _primitives |
Undocumented |
| Instance Variable | _start |
Undocumented |