classafFancomSapi::ISpeechPhraseInfo
sys::Obj afFancomSapi::ISpeechPhraseInfo
Contains properties detailing phrase elements.
http://msdn.microsoft.com/en-us/library/ee125361%28v=vs.85%29.aspx
@clsid {961559CF-4E67-4662-8BF0-D93F1FCD61B3}
- audioSizeBytes
Int? audioSizeBytes { private set }
Returns the size of audio data in bytes for this phrase.
- audioSizeTime
Int? audioSizeTime { private set }
Returns the length of phrase's audio in 100-nanosecond units.
- audioStreamPosition
Variant audioStreamPosition { private set }
Returns the start time in the audio stream for the phrase.
- elements
ISpeechPhraseElements? elements { private set }
Returns information about the elements of the phrase.
- engineId
Str? engineId { private set }
Returns a string containing the GUID of the engine recognizing this phrase.
- enginePrivateData
Variant enginePrivateData { private set }
Returns the private data of the engine.
- getDisplayAttributes
SpeechDisplayAttributes? getDisplayAttributes(Int? startElement := (Int?)0, Int? elements := (Int?)-1, Bool? useReplacements := (Bool?)true)
Returns the display attribute for the text.
- getText
Str? getText(Int? startElement := (Int?)0, Int? elements := (Int?)-1, Bool? useReplacements := (Bool?)true)
Returns the text from a recognition as a single string.
- grammarId
Variant grammarId { private set }
Returns the ID of the grammar that contains the top-level rule used to recognize the phrase.
- languageId
Int? languageId { private set }
Returns the language ID for the phrase elements.
- makeFromDispatch
new makeFromDispatch(Dispatch dispatch)
- properties
ISpeechPhraseProperties? properties { private set }
Returns the root property for the result.
- replacements
ISpeechPhraseReplacements? replacements { private set }
Returns possible text replacements.
- retainedSizeBytes
Int? retainedSizeBytes { private set }
Returns the size in bytes of the retained audio data for the audio format specified.
- rule
ISpeechPhraseRule? rule { private set }
Retrieves information about the top-level rule that was used to recognize the phrase.
- saveToMemory
Variant saveToMemory()
The SaveToMemory method saves the phrase information from a recognition result to memory.
The phrase may be recalled at a later time. To retrieve the phrase information from memory use SpPhraseInfoBuilder.restorePhraseFromMemory.
- startTime
Variant startTime { private set }
Returns the start time for start of phrase audio in absolute time.