Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Speech Recognition Manager /


Chapter 1 - Speech Recognition Manager

This chapter describes the Speech Recognition Manager, the part of the Macintosh system software that your application can use to respond to speech. You use the Speech Recognition Manager to define the words and phrases you want to listen for and to control other aspects of recognizing speech and reacting to successful recognitions.

To use this chapter, you should be familiar with the Apple Event Manager, as described in Inside Macintosh: Interapplication Communication. You need to know how to receive and process Apple events if you rely on the default behavior for being notified about the words and phrases recognized by the Speech Recognition Manager.

This chapter begins by describing the basic capabilities of the Speech Recognition Manager. Then it shows how to use some of those capabilities to recognize speech and to react to that speech. The section "Speech Recognition Manager Reference," beginning on page 1-35, provides a complete reference to the constants, data structures, and functions provided by the Speech Recognition Manager.

Note
This chapter describes the application programming interfaces supported by version 1.5 and later of the Speech Recognition Manager.

Chapter Contents
About the Speech Recognition Manager
Speech Objects
Object References
Object Properties
Language Models
Feedback Services
Using the Speech Recognition Manager
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
Using Apple Events
Using Callback Routines
Interpreting Recognition Results
Saving and Loading Language Objects
Speech Recognition Manager Reference
Constants
Gestalt Selectors and Response Values
Recognition System IDs
Recognition System Properties
Apple Event Selectors
Recognizer Properties
Search Status Flags
Notification Flags
Listen Key Modes
Recognition Result Properties
Language Object Properties
Language Object Types
Data Structures
Speech Recognition CallBack Structure
Callback Routine Parameter Structure
Speech Recognition Manager Routines
Opening and Closing Recognition Systems
Creating and Manipulating Recognizers
Managing Speech Objects
Traversing Speech Objects
Creating Language Objects
Manipulating Language Objects
Using the System Feedback Window
Application-Defined Routines
Speech Recognition Callback Routines
Summary of the Speech Recognition Manager
C Summary
Constants
Data Types
Speech Recognition Manager Routines
Application-Defined Routines
Pascal Summary
Constants
Data Types
Speech Recognition Manager Routines
Application-Defined Routines
Result Codes

Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997