Retrieves the interval that the recognizer waits before declaring a match when there is an incomplete match of all active grammars.
DWORD saiAsrGetSpeechIncompleteTimeout ( SAI_RECOGNIZER_HANDLE recogHd, DWORD *value )
|
Argument |
Description |
|
recogHd |
Handle associated with a recognizer resource. |
|
value |
Pointer to the timeout interval size in ms. |
|
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. |
saiAsrGetSpeechIncompleteTimeout retrieves the length of the interval of silence that a recognizer waits before finalizing a result when the speech prior to the silence is an incomplete match of all active grammars. The interval also applies when the speech prior to the silence is a complete match of an active grammar, but where it is possible to speak further and still match the grammar.