classafFancomSapi::ISpeechRecognizer
sys::Obj afFancomSapi::ISpeechRecognizer
Represents a speech recognition engine.
http://msdn.microsoft.com/en-us/library/ee125461%28v=vs.85%29.aspx
@clsid {2D5F1C0C-BD75-4B08-9478-3B11FEA2586C}
- allowAudioInputFormatChangesOnNextSet
Bool? allowAudioInputFormatChangesOnNextSet
Specifies whether the recognizer can change audio input formats on subsequent audio streams.
- audioInput
SpObjectToken? audioInput
Gets and sets the recognizer's audio input device.
- audioInputStream
ISpeechBaseStream? audioInputStream
Gets and sets the recognizer's audio input stream.
- createRecoContext
ISpeechRecoContext? createRecoContext()
Creates a recognition context object from the recognizer.
- displayUI
Void displayUI(Int? hWndParent, Str? title, Str? typeOfUI, Variant? extraData := Variant.<ctor>(""))
Initiates the display of the specified UI.
- emulateRecognition
Void emulateRecognition(Variant? textElements, Variant? elementDisplayAttributes := Variant.<ctor>(""), Int? languageId := (Int?)0)
Emulates recognition from a textual source rather than from a spoken source.
- getAudioInputs
ISpeechObjectTokens? getAudioInputs(Str? requiredAttributes := "", Str? optionalAttributes := "")
Returns a selection of the available audio input devices.
- getFormat
SpAudioFormat? getFormat(SpeechFormatType? type)
Returns a selection of the available audio input devices.
- getProfiles
ISpeechObjectTokens? getProfiles(Str? requiredAttributes := "", Str? optionalAttributes := "")
Returns a selection of the available user speech profiles.
- getPropertyNumber
Bool? getPropertyNumber(Str? name, Int? value)
Returns a numeric value specified by the named key.
- getPropertyString
Bool? getPropertyString(Str? name, Str? value)
Returns the string value corresponding to the specified key name.
- getRecognizers
ISpeechObjectTokens? getRecognizers(Str? requiredAttributes := "", Str? optionalAttributes := "")
Returns a selection of SpeechRecognizer objects in the speech configuration database.
Bool? isShared { private set }
Indicates whether a recognition engine is shared or InProc.
- isUISupported
Bool? isUISupported(Str? typeOfUI, Variant? extraData := Variant.<ctor>(""))
Determines if the specified UI is supported.
- makeFromDispatch
new makeFromDispatch(Dispatch dispatch)
- profile
SpObjectToken? profile
Specifies the recognizer's current recognition profile.
- recognizer
SpObjectToken? recognizer
Specifies characteristics about the active recognizer.
- setPropertyNumber
Bool? setPropertyNumber(Str? name, Int? value)
Sets a numeric property corresponding to the specified name.
- setPropertyString
Bool? setPropertyString(Str? name, Str? value)
Sets a text property corresponding to the specified name.
- state
SpeechRecognizerState? state
Returns the current state of the recognition engine.
- status
ISpeechRecognizerStatus? status { private set }
Returns an object representing the status of the recognizer.