Lexical model in android


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


Please add some explanation.

The guide for creating lexical models is here


Distributing the model to your Android device follows this guide

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