EndSilenceTimeout Property

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets or sets the interval of silence that the SpeechRecognitionEngine will accept at the end of unambiguous input before finalizing a recognition operation.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

Visual Basic (Declaration)
Public Property EndSilenceTimeout As TimeSpan
	Get
	Set
Visual Basic (Usage)
Dim instance As SpeechRecognitionEngine
Dim value As TimeSpan

value = instance.EndSilenceTimeout

instance.EndSilenceTimeout = value
C#
public TimeSpan EndSilenceTimeout { get; set; }

Property Value

Type: System..::..TimeSpan

The duration of the interval of silence.

Remarks

This property determines how long the speech recognition engine will wait for additional input before finalizing a recognition operation. The speech recognition engine uses this timeout interval when the recognition input is unambiguous. For example, for a speech recognition grammar that supports recognition of either "new game please" or "new game", "new game please" is an unambiguous input, and "new game" is an ambiguous input.

The timeout interval can be from 0 seconds to 10 seconds, inclusive. The default is 150 milliseconds.

To set the timeout interval for ambiguous input, use the EndSilenceTimeoutAmbiguous property.

See Also