categorial#
A categorial grammar is a free closed category with words as boxes.
Summary#
A categorial diagram is a closed 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 application rule. |
|
Backward application rule. |
|
Forward composition rule. |
|
Backward composition rule. |
|
Forward crossed composition rule. |
|
Backward crossed composition rule. |
|
A categorial functor is a closed 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. |