Browse
 
Tools
Rss Categories

API Functions

1 LVGrammar_AddRule (Deprecated)

Add rules to a grammar object. Function int LVGrammar_AddRule(HGRAMMAR Grammar, const char* rule_name, const char* rule_definition) Parameters Grammar A handle to the grammar. rule_name The name of the rule rule_definition The definition of the rule Return…

2 LVGrammar_Copy

Copy one grammar object to another. Function void LVGrammar_Copy (HGRAMMAR Grammar, HGRAMMAR Other) Parameters Grammar Destination grammar object handle. Other Source grammar object handle. Return Values None. Remarks This function doesn't create new objects…

3 LVGrammar_Create

Creates an empty grammar object, and returns the handle. Function HGRAMMAR LVGrammar_Create() Return Values A handle to the created grammar object. Remarks The memory pointed by the returned handle will not be released until the user called LVGrammar_Release…

4 LVGrammar_CreateFromCopy

Creates a grammar object by copying another one, and returns the handle. Function HGRAMMAR LVGrammar_CreateFromCopy(HGRAMMAR Other) Parameters Other The grammar object from which to copy. Return Values A handle to the created grammar object. Remarks The memory…

5 LVGrammar_CreateInterpretation

Returns the semantic interpretation handle indicated by the index. Function H_SI LVGrammar_CreateInterpretation (HGRAMMAR Grammar, int index) Parameters Grammar A Handle to the grammar. index The index of the interpretation handle to be returned. It should…

6 LVGrammar_CreateParseTree

Return the parse tree handle with the specified index. Function H_PARSE_TREE LVGrammar_CreateParseTree(HGRAMMAR Grammar, int index) Parameter Grammar A handle to the grammar. index The index of the parse tree handle to be returned. It should be in the following…

7 LVGrammar_GetLanguage

Return the language setting for the grammar, Function const char* LVGrammar_GetLanguage(HGRAMMAR Grammar) Parameters Grammar A handle to the grammar. Return Values Thelanguage identifier of the grammar. See Also LVGrammar C API Summary LVGrammar_SetLanguage…

8 LVGrammar_GetMetaDataKey

Return the key of the meta data indicated by the index. Function int LVGrammar_GetMetaDataKey(HGRAMMAR Grammar, int index) Parameters Grammar A handle to the grammar. index Index of the meta data. It should be in the range [ 0, (LVGrammar_GetNumberOfMetaData()…

9 LVGrammar_GetMetaDataValue

Return the value of the meta data indicated by the index. Function int LVGrammar_GetMetaDataValue(HGRAMMAR Grammar, int index) Parameters Grammar A handle to the grammar. index Index of the meta data. It should be in the range [ 0, (LVGrammar_GetNumberOfMetaData()…

10 LVGrammar_GetMode

Return the mode setting of the grammar, Function const char* LVGrammar_GetMode(HGRAMMAR Grammar) Parameters Grammar A handle to the grammar. Return Values The interaction mode of the grammar. See Also LVGrammar C API Summary LVGrammar_SetMode LVGrammar::GetMode…

1 2 3 Next