Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

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

Index

On this page

You are viewing an incomplete pre-release version of this documentation. Click here to open the current version, 18.0.

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