LVGrammar_GetNumberOfParses

Return the number of parses created by the most recent call of LVGrammar_ParseSentence.

Function

int LVGrammar_GetNumberOfParses(HGRAMMAR hgram)

Parameters

hgram

A handle to the 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 save value as the return value for LVGrammar_ParseSentence.

See Also


Complete Help Topic List | Speech Engine Product Information