LV_SRE_CreateInterpretation

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.

Function

Parameters

hport

A handle to the speech port.

voicechannel

The channel that the decode took place on.

index

An utterance could give rise to multiple interpretations, particularly if the grammars involved are ambiguous. index ranges from 0 to LV_SRE_GetNumberOfInterpretations() - 1.

Return Value

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.

Remarks

The H_SI handle can be manipulated using the functions in the LVInterpretation C API interface.

See Also

© 2012 LumenVox LLC. All rights reserved.