Browse
 
Tools
Rss Categories

LVGrammar_SetTagFormat (Deprecated)

Reference Number: AA-00857 Views: 1359 0 Rating/ Voters

Set interpretation tag format of the grammar.

Function

  • int LVGrammar_SetTagFormat(HGRAMMAR Grammar, const char* tag_format)

Parameters

Grammar

A handle to the grammar.

tag_format

The grammar's tag format.

Example

 The following code in C:

LVGrammar_SetLanguage(Grammar, "en-US");
LVGrammar_SetMode(Grammar, "voice");
LVGrammar_SetTagFormat(Grammar, "lumenvox/1.0");

Is the same as writing in your grammar:

#ABNF 1.0 UTF-8;
language en-US;
mode voice; 

tag-format <lumenvox/1.0>;

See Also