Return the number of parses created by the most recent call of LVGrammar_ParseSentence.
Function
- int LVGrammar_GetNumberOfParses(HGRAMMAR Grammar)
Parameters
Grammar
The handle to a grammar.
Return Values
0
The sentence is not covered by the grammar.
non-0
The number of distinct parses.
Remarks
This function can be used after a call to LVGrammar_ParseSentence. It is merely a convenience, as it returns the same value as the return value for LVGrammar_ParseSentence.
See Also