Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 14.0 (current version)Version 13.0 (home page)Version 12.0 (home page)Version 11.0 (home page)Version 10.0 (home page)Version 2.0 (home page)

Index

On this page

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);

See also