SetMode, SetLanguage, and SetTagFormat

Set decode properties for the grammar,

Function

int SetMode(const char* mode)

int SetLanguage(const char* language)

int SetTagFormat(const char* tag_format)

 

Parameters

mode

The interaction mode of the grammar.

language

The language identifier for the grammar

tag_format

The grammar's tag format.

Example

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>;

See Also


Complete Help Topic List | Speech Engine Product Information