Browse
 
Tools
Rss Categories

LVInterpretation Class

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

Returns the name of the grammar that generated this interpretation. Function const char* GrammarLabel() Return Value Empty String No Semantic Interpretation available. String The Grammar Label string Remarks GrammarLabel will always return the name of one…

3 LVInterpretation::InputSentence

Returns the input that was fed to the matching grammar to create this interpretation. It may represent the speech the Speech Engine recognized, or a dtmf sequence. Function const char* InputSentence() Return Value Empty String No Semantic Interpretation available.…

4 LVInterpretation::Language

Returns the language identifier of the grammar that generated this interpretation. Function const char* Language() Return Value Empty String No Semantic Interpretation available. String An RFC 3066 language identifier, such as "en-US" for United States English,…

5 LVInterpretation::LVInterpretation

LVInterpretation constructors. Functions LVInterpretation(void) LVInterpretation(const LVInterpretation& other_si) Parameters other_hsi The interpretation object whose contents are being copied. Example // You can fill in the information for a LVInterpretation…

6 LVInterpretation::Mode

Returns the interaction mode that created the interaction. Function const char* Mode() Return Value Empty String No Semantic Interpretation available. String Either "voice" or "dtmf" See Also LVInterpretation C++ API Summary LVInterpretation_GetMode (C API)…

7 LVInterpretation::operator =

Assignment operator. Functions LVInterpretation& operator=(const LVInterpretation& other_si) Parameters other_hsi The interpretation object whose contents are being copied. Example LVSpeechPort Port; //open the port and do a decode //... //when the…

8 LVInterpretation::ResultData

Returns a semantic data object generated by the user input and a matching grammar. Function const LVSemanticData& ResultData() Return Value An object representing the results of the semantic interpretation process. See Also LVInterpretation C++ API Summary…

9 LVInterpretation::ResultName

Returns the name of the result data for this interpretation. Function const char* ResultName() Return Value The Result Name string. Remarks The result name is usually the root rule of the matching grammar for this interpretation. See Also LVInterpretation…

10 LVInterpretation::Score

Returns a confidence score for this interpretation. Function int Score() Return Value LV_FAILURE No Semantic Interpretation available. Non Negative Integer A number between 0-1000. Higher numbers indicate more confidence by the speech port in this interpretation.…

1 2 Next