Returns the number of n-best alternatives found by the engine.
- int LV_SRE_GetNumberOfNBestAlternatives(HPORT hport, int voicechannel)
The port's handle.
The channel containing the decoded audio.
The actual number of n-best alternatives available. It will always be less than or equal to the value set for PROP_EX_MAX_NBEST_RETURNED.
The input hport is not a valid one.
The operation failed because the port was shutting down.
The input voicechannel is not valid.
Answers are not yet available.
An exception occurred while processing the request.
This function can be used to disambiguate results. If an interpretation's confidence score is low, the program might prompt the user to clarify between a number of alternatives. See LV_SRE_SwitchToNBestAlternative
for a full example in C.