# saiAsrGetConfidenceThreshold

Retrieves the confidence level the recognizer uses to determine a successful word-match.

#### Prototype

DWORD saiAsrGetConfidenceThreshold ( SAI_RECOGNIZER_HANDLE recog H d, DWORD *value )

Argument | Description
recogHd | Handle associated with a recognizer resource.
value | Pointer to confidence level expressed as a percentage value between 0 - 100.

#### Return values

Return value | Description
SUCCESS |
SAIERR_INVALID_PARAMETER | One of the specified arguments is invalid.
SAIERR_UNSUPPORTED_SPEECH_PARAMETER | The recognizer engine does not support the specified parameter.

#### Details

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.

#### See also

saiAsrSetConfidenceThreshold