Share via


RecognizedPhrase.Confidence Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Gets the confidence value for the recognized result.

Namespace: Microsoft.SpeechServer.Recognition
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
Public ReadOnly Property Confidence As Single
public float Confidence { get; }

Property Value

The confidence value for the recognized result.

Remarks

The confidence value ranges from 0.0 (lowest confidence) to 1.0 (highest confidence).

The confidence score of a given result or alternate indicates the recognition engine's degree of confidence that the given result is a valid alternate. The confidence score is calculated independently from the recognition score. The recognition score of a given phrase indicates the probability that the phrase, when compared to all of the possible alternates, matches the user's utterance.

RecognitionResult.Alternates are ordered by recognition score, and the phrase with the highest recognition score is the phrase that most likely matches the user's utterance. Confidence scores are typically, although not necessarily, lower for each successive alternate. Confidence scores should be evaluated individually for each alternate without reference to the confidence scores of other alternates because they are a measure only of a specific alternate???s validity.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

RecognizedPhrase Class
RecognizedPhrase Members
Microsoft.SpeechServer.Recognition Namespace