Return the parse tree handle with the specified index.
H_PARSE_TREE LVGrammar_CreateParseTree(HGRAMMAR hgram, int index)
hgram
A handle to the grammar.
index
The index of the parse tree handle to be returned. It should be in the range [0, LVGrammar_GetNumberOfParses).
null
The index is not valid.
non-null
The parse tree handle.
This function should be used after a call to LVGrammar_ParseSentence.
If the returned handle is not null, you need to call LVParseTree_Release to destroy the parse tree object pointed by the handle.
Complete Help Topic List | Speech Engine Product Information