How to implement predictive input for custom Android keyboard?

Viewed 55

I am developing a custom keyboard on Android. I want to implement predictive input. For example, when the user types "He", the keyboard suggests the following words "He", "Hello", "Hey" and etc. to the user. I know that I need a huge dictionary with word frequency and diff calculation, but this is too long.

  1. Is it possible to do this using native Android libraries?
  2. Are there any ready made libraries?

enter image description here

0 Answers
Related