Browse
 
Tools
Rss Categories

LVGrammar::SetLanguage (Deprecated)

Reference Number: AA-00872 Views: 1209 0 Rating/ Voters

Set language for the grammar,

Function

  • int SetLanguage(const char* language)

Parameters

language

The language identifier for the grammar

Example

SetLanguage("en-US");

SetMode("voice");

SetTagFormat("lumenvox/1.0");

Is the same as writing in your grammar:

language "en-US;

mode "voice";

tag-format <lumenvox/1.0>;