LVSpeechPort::GetInterpretationString

Provides the user with a string representation of the semantic interpretation object.

Function

const char* GetInterpretationString(int voicechannel, int index)

Parameters

voicechannel

The channel containing the decoded audio

index

The index number of the interpretation you wish to get. As the numbering starts at 0, this will be a value between 0 and one less than the value of GetNumberOfInterpretations.

Return Values

Non-NULL

Decode was successful. Returned value is pointer to the interpretation string.

NULL

Decode failed or no interpretation string due to incorrect input parameters.

Remarks

The interpretation string has the same information as the data contained in the semantic interpretation object, but formatted as a single string.

See Also

© 2012 LumenVox LLC. All rights reserved.