LV_SRE_GetParseTreeString

Provides the user with a string representation of a speech parse tree.

Function

const char* LV_SRE_GetParseTreeString(HPORT hport, int voicechannel, int index)

Parameters

hport

The handle to the speech port.

voicechannel

The audio channel containing the input audio

index

It is possible to have more than one parse tree possibility (for instance if the grammar is ambiguous); this is the index of the tree

Remark

Logically, a speech parse tree and the parse string returned to the user are the same.  However, a speech parse tree makes it easy to search the parse tree for useful information.  The parse tree string is based on the examples provided by the W3C SRGS specification

See Also


Complete Help Topic List | Speech Engine Product Information