Set decode properties for the grammar,
int SetMode(const char* mode)
int SetLanguage(const char* language)
int SetTagFormat(const char* tag_format)
mode
The interaction mode of the grammar.
language
The language identifier for the grammar
tag_format
The grammar's tag format.
grammar.SetLanguage("en-US");
grammar.SetMode("voice");
grammar.SetTagFormat("lumenvox/1.0");
Is the same as writing in your grammar:
language "en-US;
mode "voice";
tag-format <lumenvox/1.0>;
Complete Help Topic List | Speech Engine Product Information