LVGrammar_SetTagFormat

Set interpretation tag format of the grammar.

Function

int LVGrammar_SetTagFormat(HGRAMMAR hgram, const char* tag_format)

Parameters

hgram

A handle to the grammar.

tag_format

The grammar's tag format.

Example

LVGrammar_SetLanguage(hgram, "en-US");
LVGrammar_SetMode
(hgram,"voice");
LVGrammar_SetTagFormat
(hgram,"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