ISpeechPhraseElement RequiredConfidence Property (SAPI 5.4)

Microsoft Speech API 5.4

Interface: ISpeechPhraseElement

RequiredConfidence Property

The RequiredConfidence property returns the required confidence for this element.

This value is an enumerated value of type SpeechEngineConfidence. See Confidence Scoring and Rejection in SAPI Speech Recognition Engine Guide for additional details. Required confidence values are specified in grammars. Preceding a word with '-' sets its RequiredConfidence as low (SECLowConfidence); preceding a word with '+' sets its RequiredConfidence as high (SECHighConfidence)

Syntax

Set: (This property is read-only)
Get: SpeechEngineConfidence = ISpeechPhraseElement.RequiredConfidence

Parts

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

Example

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