Word#
- class discopy.grammar.categorial.Word(name, cod, dom=None, **params)[source]#
Bases:
discopy.grammar.thue.Word,BoxA categorial word is a rule with a
name, a grammatical type ascodand an optional domaindom.- Parameters:
name (str) – The name of the word.
cod (biclosed.Ty) – The grammatical type of the word.
dom (biclosed.Ty) – An optional domain for the word, empty by default.