Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0

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