Reference API
Notebooks
Extra
Bases: Word, Rule
Word
Rule
A word is a leaf in a context-free tree.
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.