# saiSetParamRecognizer

Sets the recognizer parameters used until the specified recognizer is released.

#### Prototype

DWORD saiSetParamRecognizer ( SAI_RECOGNIZER_HANDLE recog H d, SAI_REQUEST_ID *request Id )

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_SET_PARAMETER_DONE | Request was processed. The result of the request is returned in the statusCode field of the SAIEVN_SET_PARAMETER_DONE event buffer.

#### Details

Some SAI recognizer parameter functions such as saiAsrSetConfidenceThreshold and saiAsrSetSensitivity do not immediately alter the way the recognition server operates. Any modified parameters are stored locally (on the client side) until the application calls saiSetParamRecognizer. When the application invokes saiSetParamRecognizer, the accumulated parameter changes are sent to the speech server, and the changes are enforced for any subsequent recognition tasks until the recognizer is released. For more information, refer to Managing USAI parameters.

#### See also

saiGetParamRecognizer