-api-id | -api-type |
---|---|
P:Windows.Media.SpeechRecognition.SpeechRecognitionResult.RawConfidence |
winrt property |
Gets a value that indicates the relative confidence of the SpeechRecognitionResult when compared with a collection of alternatives returned with the recognition result.
The confidence level of the result.
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.
Confidence, SpeechRecognitionConfidence, Speech interactions, Speech recognition and speech synthesis sample