Identifies one of the grammar rules as the root rule. The root rule is where the engine starts its search.
int LVGrammar_SetRoot(HGRAMMAR hgram, const char* rule_name)
hgram
A handle to the grammar.
rule_name
The name of the rule.
LVGrammar_SetRule(hgram, "foo");
Is the same as writing in a grammar:
root $foo;
LVGrammar::SetRoot (C++ API)
Complete Help Topic List | Speech Engine Product Information