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

Source

Int? audioSizeBytes { private set }

Returns the size of audio data in bytes for this phrase.

audioSizeTime

Source

Int? audioSizeTime { private set }

Returns the length of phrase's audio in 100-nanosecond units.

audioStreamPosition

Source

Variant audioStreamPosition { private set }

Returns the start time in the audio stream for the phrase.

elements

Source

ISpeechPhraseElements? elements { private set }

Returns information about the elements of the phrase.

engineId

Source

Str? engineId { private set }

Returns a string containing the GUID of the engine recognizing this phrase.

enginePrivateData

Source

Variant enginePrivateData { private set }

Returns the private data of the engine.

getDisplayAttributes

Source

SpeechDisplayAttributes? getDisplayAttributes(Int? startElement := (Int?)0, Int? elements := (Int?)-1, Bool? useReplacements := (Bool?)true)

Returns the display attribute for the text.

getText

Source

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

Source

Variant grammarId { private set }

Returns the ID of the grammar that contains the top-level rule used to recognize the phrase.

languageId

Source

Int? languageId { private set }

Returns the language ID for the phrase elements.

makeFromDispatch

Source

new makeFromDispatch(Dispatch dispatch)

properties

Source

ISpeechPhraseProperties? properties { private set }

Returns the root property for the result.

replacements

Source

ISpeechPhraseReplacements? replacements { private set }

Returns possible text replacements.

retainedSizeBytes

Source

Int? retainedSizeBytes { private set }

Returns the size in bytes of the retained audio data for the audio format specified.

rule

Source

ISpeechPhraseRule? rule { private set }

Retrieves information about the top-level rule that was used to recognize the phrase.

saveToMemory

Source

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

Source

Variant startTime { private set }

Returns the start time for start of phrase audio in absolute time.