![]() |
SRSetLanguageModel |
||||
Header: | SpeechRecognition.h | Carbon status: | Supported | |
Sets a recognizers active language model.
OSErr SRSetLanguageModel ( SRRecognizer recognizer, SRLanguageModel languageModel );
A recognizer.
The language model you wish to become the active model for the specified recognizer.
A result code.
If no other references exist to the language model currently in use by the specified recognizer, calling SRSetLanguageModel with a different language model causes the current one to be released.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 7/10/2000)