Share via


ISpeechPhraseElement EngineConfidence Property (SAPI 5.3)

Microsoft Speech API 5.3

Interface: ISpeechPhraseElement

EngineConfidence Property

The EngineConfidence property returns the confidence score computed by the speech recognition (SR) engine.

Syntax

Set: (This property is read-only)
Get: Single = ISpeechPhraseElement.EngineConfidence

Parts

  • ISpeechPhraseElement
    The owning object.
  • Single
    Set: (This property is read-only)
    Get: A Single variable that gets the value of the property.

Remarks

The value range is engine dependent. It can be used to optimize an application's performance with a specific engine. Using this value will improve the application with a particular speech engine, but it is likely to make it worse with other engines and should be used with care. This value is more useful with speaker-independent engines because it allows a large corpus of recorded usage to correctly optimize the overall accuracy of the application.

Example

Use of the ISpeechPhraseElement is demonstrated in a code example at the end of this section.