Set mode property for the grammar,
Function
- int LVGrammar_SetMode(HGRAMMAR Grammar, const char* mode)
Parameters
Grammar
A handle to the grammar.
mode
The interaction mode of the grammar.
Example
The following code in C:
Is the same as writing in your grammar:
#ABNF 1.0 UTF-8;
language en-US;
mode voice;
tag-format <lumenvox/1.0>;