saiAsrSetSpeechIncompleteTimeout

Sets the interval that the recognizer waits before declaring a match when there is an incomplete match of all active grammars.

Prototype

DWORD saiAsrSetSpeechIncompleteTimeout ( SAI_RECOGNIZER_HANDLE recogHd, DWORD value )

Argument

Description

recogHd

Handle associated with a recognizer resource.

value

Timeout interval size in ms.


Return values

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.


Details

saiAsrSetSpeechIncompleteTimeout sets 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.

See also

saiAsrGetSpeechIncompleteTimeout