Compartir a través de


SpeechRecognitionResultRecievedEventArgs.IsHypothesis property

 

The IsHypothesis property indicates whether the recognized text of a preliminary speech recognition result is a hypothesis or the final result of the speech recognition session.

Syntax

public bool IsHypothesis { get; }

Property Value

Type: System.Bool

true if the current text is a preliminary hypothesis.

false if the current text is the final result.

Remarks

When the SpeechRecognizer.RecognizeSpeechToTextAsync() method makes a hypothesis about what the user said it raises the SpeechRecognizer.RecognizerResultReceived event. The SpeechRecognitionResultReceivedEventArgs for the event contain the proposed text in the Text property and a Boolean value in the IsHypothesis property to indicate whether the current text is a hypothesis or the final result.

Requirements

Minimum Supported Client

Windows 8

Required Extensions

Bing.Speech

Namespace

Bing.Speech