Functions


Creating Language Objects

SRNewLanguageModel Creates a new language model.
SRNewPath Creates a new path.
SRNewPhrase Creates a new phrase.
SRNewWord Creates a new word.

Creating and Manipulating Recognizers

SRCancelRecognition Cancels the attempt to recognize the current utterance.
SRContinueRecognition Causes a recognizer to continue recognizing speech.
SRGetLanguageModel Gets a recognizer’s active language model.
SRIdle Grants processing time to the Speech Recognition Manager if your application does not call WaitNextEvent frequently.
SRNewRecognizer Creates a new recognizer.
SRSetLanguageModel Sets a recognizer’s active language model.
SRStartListening Starts a recognizer listening and reporting results to your application.
SRStopListening Stops a recognizer listening and reporting results to your application.

Managing Speech Objects

SRGetProperty Gets the current value of a property of a speech object.
SRGetReference Obtains an extra reference to a speech object.
SRReleaseObject Releases a speech object.
SRSetProperty Sets the value of a property of a speech object.

Manipulating Language Objects

SRAddLanguageObject Adds a language object to some other language object.
SRAddText Adds text to the contents of a language object.
SRChangeLanguageObject Changes the contents of a language object.
SREmptyLanguageObject Empties the contents of a language object.
SRNewLanguageObjectFromDataFile Reads a language object from a data file.
SRNewLanguageObjectFromHandle Creates a language object from the handle previously created by the SRPutLanguageObjectIntoHandle function.
SRPutLanguageObjectIntoDataFile Puts a language object (and any embedded language objects it contains) into a data file.
SRPutLanguageObjectIntoHandle Puts a language object (and any embedded languages objects it contains) into a handle.
SRRemoveLanguageObject Removes a language object from another language object that contains it.

Opening and Closing Recognition Systems

SRCloseRecognitionSystem Closes a recognition system when your application is finished using it (for example, just before your application quits).
SROpenRecognitionSystem Opens a recognition system.

Traversing Speech Objects

SRCountItems Determines the number of subitems in a container object.
SRGetIndexedItem Gets a subitem in a container object.
SRRemoveIndexedItem Removes a subitem from a container object.
SRSetIndexedItem Replaces a subitem in a container object with some other object.

Using the System Feedback Window

SRDrawRecognizedText Draws recognized text in the feedback window.
SRDrawText Draws output text in the feedback window.
SRProcessBegin Indicates that a recognition result is being processed.
SRProcessEnd Indicates that a recognition result is done being processed.
SRSpeakAndDrawText Draws output text in the feedback window and causes the feedback character in the feedback window to speak that text.
SRSpeakText Causes the feedback character in the feedback window to speak a text string.
SRSpeechBusy Determines if the feedback character in a feedback window is currently speaking.
SRStopSpeech Terminates speech by the feedback character in a feedback window.

Miscellaneous

CallSRCallBackProc
DisposeSRCallBackUPP
InvokeSRCallBackUPP
NewSRCallBackUPP

© 2000 Apple Computer, Inc. (Last Updated 7/10/2000)