Browse
 
Tools
Rss Categories

LVSpeechPort::GetNumberOfParses

Reference Number: AA-00784 Views: 2083 0 Rating/ Voters

Returns the number of parse trees that were generated by the engine.

Function

  • int GetNumberOfParses(int VoiceChannel)

Parameters

VoiceChannel

The audio channel holding the decoded audio.

Return Values

Non-negative number

The actual number of parses generated.

LV_INVALID_HPORT

The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call).

LV_FAILURE

The operation failed because the port was shutting down.

LV_TIME_OUT

Answers are not yet available.

LV_EXCEPTION

An exception occurred while processing the request.

See Also