Browse
 
Tools
Rss Categories

Methods

21 LVGrammar::Reset

Reset a grammar object. Function int Reset() Parameters None. Return Values LV_SUCCESS No Error See Also LVGrammar C++ API Summary LVGrammar_Reset (C API)

22 LVGrammar::SetLanguage (Deprecated)

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:…

23 LVGrammar::SetMode (Deprecated)

Set mode property for the grammar, Function int SetMode(const char* mode) Parameters mode The interaction mode of the grammar. Example The following code in C++: SetLanguage ( "en-US" ) ; SetMode ( "voice" ) ; SetTagFormat ( "lumenvox/1.0" ) ; Is the same…

24 LVGrammar::SetRoot (Deprecated)

Identifies one of the grammar rules as the root rule. The root rule is where the engine starts its search. Function int SetRoot(const char* rule_name) Parameters rule_name The name of the rule. Example The C++ function call "SetRoot("foo");" is the same as…

25 LVGrammar::SetTagFormat (Deprecated)

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"…

26 LVGrammar::~LVGrammar

LVGrammar object destructor. Functions ~LVGrammar() Parameters None. See Also LVGrammar C++ API Summary LVGrammar_Release (C API)