Metadata-Version: 2.4
Name: t9
Version: 0.2.4
Summary: t9
Author-email: Gareth Davidson <gaz@bitplane.net>
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: pre-commit ; extra == "dev"
Requires-Dist: pytest ; extra == "dev"
Requires-Dist: coverage ; extra == "dev"
Requires-Dist: pytest-cov ; extra == "dev"
Requires-Dist: build ; extra == "dev"
Requires-Dist: twine ; extra == "dev"
Requires-Dist: ruff ; extra == "dev"
Requires-Dist: mkdocs ; extra == "dev"
Requires-Dist: mkdocs-material ; extra == "dev"
Requires-Dist: pydoc-markdown ; extra == "dev"
Provides-Extra: dev

# ☎️  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:

```bash
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](https://bitplane.net/dev/python/t9/LICENSE)

## 🔗 Links

* [🏠 home](https://bitplane.net/dev/python/t9)
  * [📖 pydoc](https://bitplane.net/dev/python/t9/pydoc)
  * [📖 wordlist](https://bitplane.net/dev/python/t9/wordlist)
* [😺 github](https://github.com/bitplane/t9)
* [🐍 pypi](https://pypi.org/project/t9)

