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 / Speech Recognition Manager Reference
Speech Recognition Manager Routines / Creating and Manipulating Recognizers


SRGetLanguageModel

You can use the SRGetLanguageModel function to get a recognizer's active language model.

pascal OSErr SRGetLanguageModel (
SRRecognizer recognizer, 
SRLanguageModel *languageModel);
recognizer
A recognizer.
languageModel
On exit, a reference to the language model currently active for the specified recognizer.
DESCRIPTION
The SRGetLanguageModel function returns, in the languageModel parameter, a reference to the language model that is currently associated with the recognizer specified by the recognizer parameter.

SPECIAL CONSIDERATIONS
SRGetLanguageModel increases the reference count of the specified language model. You should call the SRReleaseObject function to release the language model reference returned by SRGetLanguageModel when you're done using it.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
22 JAN 1997