Browse
 
Tools
Rss Categories

LVGrammar::SetTagFormat (Deprecated)

Reference Number: AA-00873 Views: 6559 0 Rating/ Voters

Set interpretation tag format of the grammar.

Function

  • int SetTagFormat(const char* tag_format)

Parameters

tag_format

The grammar's tag format.

Example

The following code in C++:

SetLanguage("en-US");
SetMode("voice");
SetTagFormat("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>;

Remarks

Recommended that users set tag formats inside the grammar rather than use this function.