Skip to main content

☎️ T9

This is a T9 implementation that I wrote a long, long time ago for XBMC so chat programs could chat via the remote like I could on my Nokia phone.

The language files are huge, but after generation they're organised so the number of reads depends on the number of buttons pressed. It's pretty fast, and uses virtually no RAM or CPU. This is required for embedded systems, so enjoy! If you're not on an embedded system, you can test it out like this:

pipx run t9

The reader consists of 3 classes, a database node (T9Key), a database client (T9Dict), and an input parser (T9Input). As a user you'll only need to bother with the latter.

Language files wanted!

  • 🇬🇧 en-GB: Downloaded from the web, derived from gnu aspell (iirc)
  • 🇺🇸 en-US: From the system american-english wordlist
  • 🇳🇱 nl-NL: Thanks to Breght Boschker for submitting these :)

To create your own wordlist, run the scripts in the corpus dir and send me a pull request.

⚖️ license

WTFPL

🔗 Links

Release files for t9 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for t9 0.2.5
File Size Uploaded
t9-0.2.5.tar.gz 979.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for t9 0.2.5
File Interpreter ABI Platform
t9-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / t9-0.2.5.tar.gz

Download URL t9-0.2.5.tar.gz
Size 979.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f83cb1e7b7fc4d29f5c2e39e964fef62888268862612801bfcdd6c069c0741af
BLAKE2b-256 checksum
How to use checksums
73974ce490bf22517fcecbe10b838fa664b5872a16f2d6f8a00923c092719742
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release files / t9-0.2.5-py3-none-any.whl

Download URL t9-0.2.5-py3-none-any.whl
Size 981.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe853681b755fe4210f3036dfa3d89eabc8b12c1a6a464d1d661038b78a3ffb9
BLAKE2b-256 checksum
How to use checksums
bea5b632a0da37febe4a9d8c20e86cd12e46cce86a32c1e598df87a975fb6e3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.18

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page