SpeechRecognitionResult.RawConfidence Property

Definition

Gets a value that indicates the relative confidence of the SpeechRecognitionResult when compared with a collection of alternatives returned with the recognition result.

public:
 property double RawConfidence { double get(); };
double RawConfidence();
public double RawConfidence { get; }
var double = speechRecognitionResult.rawConfidence;
Public ReadOnly Property RawConfidence As Double

Property Value

Double

double

The confidence level of the result.

Remarks

RawConfidence does not indicate the likelihood that a phrase was correctly recognized. Instead it provides a way to compare the relative accuracy of alternatives returned with the recognition result. For example, a RawConfidence score of 0.8 does not mean that a result is 80% likely to be correct; it means the phrase is more likely than an alternative with a RawConfidence of 0.7.

Do not use RawConfidence to determine whether a result should be discarded. RawConfidence values are unique to each recognition engine and can vary between sessions or devices. Instead, check the Confidence property, which indicates a SpeechRecognitionConfidence of High, Medium, Low or Rejected.

Applies to

See also