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.
H_PARSE_TREE LV_SRE_CreateParseTree(HPORT hport, int voicechannel, int index)
hport
The handle to the speech port.
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
A handle to a parse tree. The parse tree handle is manipulated with functions having the prefix "LVParseTree_".
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.
LVSpeechPort::GetParseTree (C++ API)
Complete Help Topic List | Speech Engine Product Information