Important: The information in this document is obsolete and should not be used for new development.
Using the Speech Recognition Manager
This section illustrates basic ways of using the Speech Recognition Manager. In particular, it provides source code examples that show how you can
- determine whether the Speech Recognition Manager is available
- open a recognition system and a recognizer
- build a language model to define the words and phrases your application wants to listen for
- set that model as the active language model
- start and stop listening
- handle recognition results using an Apple event handler or a speech recognition callback routine
- interpret the data passed to your application in a recognition result
- save a language model (or other language object) into a resource or data file, and read that object from that file
- Note
- The code examples shown in this section provide only very rudimentary error handling.
![]()
Subtopics
- Checking for Speech Recognition Capabilities
- Opening Recognition Systems and Recognizers
- Building a Language Model
- Setting the Language Model
- Setting the Rejection Word
- Starting and Stopping Speech Recognition
- Handling Recognition Notifications
- Interpreting Recognition Results
- Saving and Loading Language Objects