module documentation
CCG Lexicons
Class |
|
Class representing a lexicon for CCG grammars. |
Class |
|
Class representing a token. |
Function | aug |
Parse a string representing a category, and returns a tuple with (possibly) the CCG variable for the category |
Function | fromstring |
Convert string representation into a lexicon for CCGs. |
Function | match |
Separate the contents matching the first set of brackets from the rest of the input. |
Function | next |
Separate the string for the next portion of the category from the rest of the string |
Function | parse |
Parse an application operator |
Function | parse |
Undocumented |
Function | parse |
Parse a primitive category |
Function | parse |
Parse the subscripts for a primitive category |
Constant | APP |
Undocumented |
Constant | COMMENTS |
Undocumented |
Constant | LEX |
Undocumented |
Constant | NEXTPRIM |
Undocumented |
Constant | PRIM |
Undocumented |
Constant | RHS |
Undocumented |
Constant | SEMANTICS |
Undocumented |
Variable | openccg |
Undocumented |
Parse a string representing a category, and returns a tuple with (possibly) the CCG variable for the category
Parse a primitive category
If the primitive is the special category 'var', replace it with the
correct CCGVar
.