categorial#
A categorial grammar is a free biclosed category with words as boxes.
Summary#
A term in the internal language of a categorial grammar. |
|
Application of type |
|
Application of type |
|
Forward composition |
|
Backward composition |
|
Forward crossing |
|
Backward crossing |
|
A categorial diagram is a biclosed diagram with rules and words as boxes. |
|
A categorial box is a grammar rule in a categorial diagram. |
|
A categorial word is a rule with a |
|
Forward crossed composition rule. |
|
Backward crossed composition rule. |
|
A categorial functor is a biclosed functor with a predefined mapping for categorial rules. |
Functions
Translate the string representation of a CCG category into DisCoPy. |
|
Translate a depccg.Tree in JSON format into DisCoPy. |