T9 prediction rules

For the debounced keyboard on the Nokia 2780 (KaiOS 3.1)

What this is

When you type in T9 mode, one key sequence fits several words. 4663 could be good, home, gone or hood. The phone's predictor guesses an order. These rules fix the order for the cases it gets wrong, using the word you typed just before.

The rules are one JSON file, below. The phone downloads it when you tell it to. Nothing is sent from the phone.

The URL for the phone

Anyone can read this file. It sends Access-Control-Allow-Origin: *, so the keyboard's config page can load it.

Put it on the phone

  1. Open the keyboard's config page: http://keyboard.localhost/config.html.
  2. Go to Prediction rules → Load from URL.
  3. Enter the URL above and press Load. You'll see a summary of the rules.
  4. Press Save. The keyboard uses the new rules within about a second.

The phone doesn't check for changes by itself. After the rules change, do Load and Save again.

Try it

Current rules

Loading…