LV_SRE_CreateParseTree

Provides the user with a handle to a speech parse tree, representing the sentence structure of what was decoded by the Speech Engine, according to the active grammars.  You must release the handle with LVParseTree_Release when you are finished with it.

Function

H_PARSE_TREE LV_SRE_CreateParseTree(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 for an utterance (for instance if the grammar is ambiguous); this is the index of the tree

Return Value

A handle to a parse tree.  The parse tree handle is manipulated with functions having the prefix "LVParseTree_".

Remark

Logically, a 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.

See Also


Complete Help Topic List | Speech Engine Product Information