Browse
 
Tools
Rss Categories

LVInterpretation C API Functions

1 LVInterpretation C API Summary

The LVInterpretation object contains a fully processed decode result. It includes: The raw input the Speech Engine recognized The name of the grammar that was matched A confidence score for the interpretation The semantic data object -- the result of processing…

2 LVInterpretation_Copy

Used to copy an Interpretation object. Functions void LVInterpretation_Copy(H_SI hsi, H_SI other_si) Parameters hsi The interpretation handle being copied into. other_hsi The interpretation handle whose contents are being copied. Return Value None. Remarks…

3 LVInterpretation_Create

Returns an empty Interpretation object. Functions H_SI LVInterpretation_Create(void) Parameters None. Return Values NULL Always returns NULL Remarks Use of this function is not recommended, since it always returns a NULL pointer. Instead use LV_SRE_CreateInterpretation…

4 LVInterpretation_CreateFromCopy

Used to copy an Interpretation object. Functions H_SI LVInterpretation_CreateFromCopy(H_SI hsi) Parameters hsi The interpretation handle being copied. Return Value NULL There was a problem copying the interpretation. Not NULL The copied interpretation object.…

5 LVInterpretation_CreateFromParseTree

Used to copy an Interpretation object from a Parse tree object. Functions H_SI LVInterpretation_CreateFromParseTree(H_PARSE_TREE Tree, SIErrorCallback callback, void* userdata) Parameters Tree Parse Tree object. callback Error Callback function. userdata…

6 LVInterpretation_GetGrammarLabel

Returns the name of the grammar that generated this interpretation. Function const char* LVInterpretation_GetGrammarLabel (H_SI hsi) Parameters hsi An interpretation handle. Return Value Empty String No Semantic Interpretation available. String The Grammar…

7 LVInterpretation_GetInputSentence

Returns the input that was fed to the matching grammar to create this interpretation. It may represent the speech the engine recognized, or a dtmf sequence. Function const char* LVInterpretation_GetInputSentence(H_SI hsi) Parameters hsi An interpretation…

8 LVInterpretation_GetLanguage

Returns the language identifier of the grammar that generated this interpretation. Function const char* LVInterpretation_GetLanguage(H_SI hsi) Parameters hsi An interpretation handle. Return Value Empty String No Semantic Interpretation available. String…

9 LVInterpretation_GetMode

Returns the interaction mode that created the interaction. Function const char* LVInterpretation_GetMode(H_SI hsi) Parameters hsi An interpretation handle. Return Value Empty String No Semantic Interpretation available. String Either "voice" or "dtmf" See…

10 LVInterpretation_GetResultData

Returns a handle for the semantic data generated by user input and a matching grammar. The returned handle does not allocate any additional memory, so do not release it. Function H_SI_DATA LVInterpretation_GetResultData(H_SI hsi) Parameters hsi An interpretation…

1 2 Next