onLexicalModelInstalled()
Summary
The onLexicalModelInstalled()
event is called when a lexical-model package has been installed.
Syntax
onLexicalModelInstalled(List<HashMap<String key, String value>> lexicalModelsInstalled)
Parameters
lexicalModelsInstalled
The information dictionaries of the lexical-models installed from a lexical-model package with keys and values defined as List<HashMap<String key, String value>>
.
Description
Implement this method to handle lexical-model package installed event.
Examples
Example: Using onLexicalModelInstalled()
The following script illustrate the use of onLexicalModelInstalled()
:
@Override
public void onLexicalModelInstalled(List<HashMap<String key, String value>> lexicalModelsInstalled) {
// handle lexical-model package installed event here
}