Export (0) Print
Expand All

ISpeechPhraseElement Interface (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

ISpeechPhraseElement

The ISpeechPhraseElement automation interface provides access to information about a word or phrase.

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


Automation Interface Elements

The ISpeechPhraseElement automation interface contains the following elements:


PropertiesDescription
ActualConfidence PropertyReturns the actual confidence for the phrase element.
AudioSizeBytes PropertyReturns the size, in bytes, of the audio for this element.
AudioSizeTime PropertyReturns the length of the element in 100-nanosecond units.
AudioStreamOffset PropertyReturns the starting offset of the element in bytes relative to the start of the phrase in the original input stream.
AudioTimeOffset PropertyReturns the starting offset of the element in 100-nanosecond units relative to the start of the phrase.
DisplayAttributes PropertyReturns a set of SpeechDisplayAttributes constants defining information about the display of this word.
DisplayText PropertyReturns the display text for the element.
EngineConfidence PropertyReturns the confidence score computed by the SR engine.
LexicalForm PropertyReturns the lexical form of the element.
Pronunciation PropertyReturns the pronunciation of the element as phonemes.
RequiredConfidence PropertyReturns the required confidence for this element.
RetainedSizeBytes PropertyReturns the size, in bytes, of the element in the retained audio stream.
RetainedStreamOffset PropertyReturns the starting offset of the element in bytes relative to the start of the phrase in the retained audio stream.
Show:
© 2015 Microsoft