mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-08 09:55:32 +00:00
752 B
752 B
| title |
|---|
| KMManager.deregisterLexicalModel() |
Summary
The deregisterLexicalModel() method deregisters the specified lexical model from the LMLayer so it isn't used.
Syntax
KMManager.degisterLexicalModel(String modelID)
Parameters
modelID- The ID of the lexical model to deregister
Returns
true
Description
Use this method when you want the lexical model to stop generating suggestions.
Examples
Example: Using deregisterLexicalModel()
The following script illustrates the use of dergisterLexicalModel():
String lexicalModelID = "example.ta.wordlist";
KMManager.deregisterLexicalModel(lexicalModelID);