Share via


ISpeechPhraseRule Interface (SAPI 5.3)

Microsoft Speech API 5.3

ISpeechPhraseRule

The ISpeechPhraseRule automation interface represents the part of a recognition result that returns information about the grammar rule that produced the recognition.

An ISpeechPhraseRule object variable is returned by the Rule property of the ISpeechPhraseInfo object variable within a recognition result.

For an example of the use of the ISpeechPhraseRule interface, see the code example at the end of this section.

Automation Interface Elements

The ISpeechPhraseRule automation interface contains the following elements:

Properties
Children Property
Confidence Property
EngineConfidence Property
FirstElement Property
Id Property
Name Property
NumberOfElements Property
Parent Property