Data Fields | |
| Lexicon * | words |
| RulesLexicon * | rules |
| gboolean | self_lexicon_alloc |
| Morpho | top_level_nt |
| double | equality_ratio |
A grammar is basically a set of syntactic rules and a its associated vocabulary lexicon
| double Grammar::equality_ratio |
Equivalent interpretation probability ratio (used for ties counting). This value must be assigned in the interval (0, 1.0)
The lexicon that stores the syntactic rules
| gboolean Grammar::self_lexicon_alloc |
Internal flag used to specify if the memory allocated to the words field must be freed in case of grammarFree call, i.e. if the grammar has been set by grammarLoad
Internal numeric value of the top level non-terminal, i.e. the one that starts all syntactic rules derivation
The CHARACTER lexicon that stores the vocabulary words associated to the grammar
1.4.7