cat2ty#

discopy.grammar.categorial.cat2ty(string)[source]#

Translate the string representation of a CCG category into DisCoPy.

Parameters

string (str) – The string with slashes representing a CCG category.

Return type

Ty