LVGrammar::SetRoot

Identifies one of the grammar rules as the root rule.  The root rule is where the engine starts its search.

Function

int SetRoot(const char* rule_name)

Parameters

rule_name

The name of the rule.

Example

grammar.SetRule("foo");

Is the same as writing in a grammar:

root $foo;

See Also


Complete Help Topic List | Speech Engine Product Information