classafFancomSapi::ISpeechXMLRecoResult
sys::Obj afFancomSapi::ISpeechXMLRecoResult
Gets recognition results from the ISpXMLRecoResult as an SML document.
http://msdn.microsoft.com/en-us/library/ee125537%28v=vs.85%29.aspx
@clsid {AAEC54AF-8F85-4924-944D-B79D39D72E19}
- alternates
ISpeechPhraseAlternates? alternates(Int? requestCount, Int? startElement := (Int?)0, Int? elements := (Int?)-1)
Returns a list of alternative words.
- audio
SpMemoryStream? audio(Int? startElement := (Int?)0, Int? elements := (Int?)-1)
Creates an audio stream from the audio data in the result object.
- audioFormat
SpAudioFormat? audioFormat
Fandoc ERRORS: Line 1 - Invalid **strong** ** Gets or sets the audio stream format.
- discardResultInfo
Void discardResultInfo(SpeechDiscardType? valueTypes)
Discards the requested data from a phrase object.
- getXMLErrorInfo
Bool? getXMLErrorInfo(Int? lineNumber, Str? scriptLine, Str? source, Str? description, Int? resultCode)
Returns details of an error that occurred during semantic processing.
- getXMLResult
Str? getXMLResult(SPXMLRESULTOPTIONS? options)
Returns the recognition result as Semantic Markup Language (SML).
- makeFromDispatch
new makeFromDispatch(Dispatch dispatch)
- phraseInfo
ISpeechPhraseInfo? phraseInfo { private set }
Returns an ISpeechPhraseInfo structure containing detailed information about the last recognized phrase.
- recoContext
ISpeechRecoContext? recoContext { private set }
Retrieves the current ISpeechRecoContext for the recognizer.
- saveToMemory
Variant saveToMemory()
Saves the phrase portion of the recognition result to memory.
- speakAudio
Int? speakAudio(Int? startElement := (Int?)0, Int? elements := (Int?)-1, SpeechVoiceSpeakFlags? flags := SpeechVoiceSpeakFlags.SVSFDefault)
Plays the audio sequence containing the recognized phrase.
Returns the stream number.
- times
ISpeechRecoResultTimes? times { private set }
Retrieves the time information associated with the result.