Word# class discopy.grammar.cfg.Word(name, cod, dom=monoidal.Ty(), **params)[source]# Bases: Word, Rule A word is a leaf in a context-free tree. Parameters: name (str) – The name of the word. cod (T) – The grammatical type of the word. dom (T) – An optional domain for the word, empty by default.