Specifies the confidence level the recognizer uses to determine a successful word-match.
DWORD saiAsrSetConfidenceThreshold ( SAI_RECOGNIZER_HANDLE recogHd, DWORD value )
|
Argument |
Description |
|
recogHd |
Handle associated with a recognizer resource. |
|
value |
Confidence level expressed as a percentage value between 0 - 100. |
|
Return value |
Description |
|
SUCCESS |
|
|
SAIERR_INVALID_PARAMETER |
One of the specified arguments is invalid. |
|
SAIERR_UNSUPPORTED_SPEECH_PARAMETER |
Recognizer engine does not support the specified parameter. |
When a recognition resource recognizes or matches a spoken phrase with some portion of the grammar, it associates a confidence level with that conclusion. If the recognizer determines that its confidence in its recognition results is less than the confidence threshold, the SAI service returns SAI_RCC_NO_MATCH in the completionCause field of the SAIEVN_ASR_RECOGNITION_DONE event buffer.