LVSpeechPort::GetParseTree

Provides the user with an LVParseTree object representing the sentence structure of what was decoded by the Speech Engine, according to the active grammars.

Function

LVParseTree GetParseTree(int voicechannel, int index)

Parameters

voicechannel

The audio channel containing the input audio

index

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

Return Value

A parse tree.

Remark

Logically, a parse tree and the parse string returned to the user are the same.  However, an LVParseTree object makes it easy to search the parse tree for useful information.

See Also


Complete Help Topic List | Speech Engine Product Information