Requests the recognizer engine to recompute the recognition result based on parameters set with saiAsrSetConfidenceThreshold and saiAsrGetNBestListLength.
DWORD saiGetResultRecognizer ( SAI_RECOGNIZER_HANDLE recogHd, SAI_REQUEST_ID *requestId )
|
Argument |
Description |
|
recogHd |
Handle associated with a recognizer resource. |
|
requestId |
Pointer to a unique identifier associated with the request. |
|
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. |
|
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. |
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.