Lexical model in android

Hello,

In this example, we don’t have explanation how to add custom lexical model.

https://help.keyman.com/DEVELOPER/engine/android/12.0/guides/system-keyboard/

Please add some explanation.

The guide for creating lexical models is here

https://help.keyman.com/developer/12.0/guides/lexical-models/

Distributing the model to your Android device follows this guide
https://help.keyman.com/developer/12.0/guides/lexical-models/distribute/packages

And the install follows the same as installing a .kmp keyboard package

1 Like

Thanks. But my question is how make it part of Android App during creation.
Sample examples shows how to add keyboard in android app but not lexical model.

But my question is how make it part of Android app during creation.

Now I see what you’re trying to do. We won’t have guides to describe this, but I suggest you look in the kmapro project MainActivity.java and make your own version of checkAndInstallDefaultDictionary()

We place the default dictionary nrc.en.mtnt.model.kmp in the KMEA project in the assets/ folder

This topic was automatically closed after 14 days. New replies are no longer allowed.