# saiGetResultRecognizer

Requests the recognizer engine to recompute the recognition result based on parameters set with saiAsrSetConfidenceThreshold and saiAsrGetNBestListLength.

#### Prototype

DWORD saiGetResultRecognizer ( SAI_RECOGNIZER_HANDLE recog H d, SAI_REQUEST_ID *requestId )

Argument | Description
recogHd | Handle associated with a recognizer resource.
requestId | Pointer to a unique identifier associated with the request.

#### Return values

Return value | Description
SUCCESS |
SAIERR_ENGINE_NOT_READY | Specified recognizer engine is not ready to handle requests.
SAIERR_INVALID_PARAMETER | One of the specified arguments is invalid.

#### Events

Event | Description
SAIEVN_ASR_GET_RESULT_DONE | Request was processed. The result of the request is returned in the statusCode field of the SAIEVN_ASR_GET_RESULT_DONE event buffer.

#### Details

If the recognizer does not support resetting recognition processes with new recognition parameters, the server rejects the command and the SAI service returns SAI_SC_METHOD_NOT_ALLOWED in the statusCode field of the SAIEVN_ASR_GET_RESULT_DONE event buffer.

#### See also

saiDefineGrammarRecognizer, saiStartRecognizer