Returns a handle to a data structure representing the results of the semantic interpretation process. The handle must be released with LVInterpretation_Release when you are finished with it.
- H_SI LV_SRE_CreateInterpretation(HPORT hport, int VoiceChannel, int index)
A handle to the speech port.
The channel that the decode took place on.
An utterance could give rise to multiple interpretations, particularly if the grammars involved are ambiguous. index ranges from 0 to LV_SRE_GetNumberOfInterpretations() - 1.
The return type is a handle to an interpretation object. The object is a representation of the ECMAScript object made by the matching grammar, using the Semantic Interpretation for Speech Recognition process. It also contains additional information such as the confidence score, matching grammar label, and the input sentence. If an error occurs, NULL is returned.
The H_SI handle can be manipulated using the functions in the LVInterpretation C API interface. Any handle given to you by the speech port through LV_SRE_CreateInterpretation must be released with LVInterpretation_Release.
H_SI SemanticInterpretation = LV_SRE_CreateInterpretation(hport, VoiceChannel,