Return the number of parses created by the most recent call of LVGrammar_ParseSentence.
int LVGrammar_GetNumberOfParses(HGRAMMAR hgram)
hgram
A handle to the grammar.
0
The sentence is not covered by the grammar.
non-0
The number of distinct parses.
This function can be used after a call to LVGrammar_ParseSentence. It is merely a convenience, as it returns the save value as the return value for LVGrammar_ParseSentence.
Complete Help Topic List | Speech Engine Product Information