https://github.com/neutralinsomniac/t9
A simple T9 engine with backspace recompletion support and contractions
https://github.com/neutralinsomniac/t9
Last synced: 18 days ago
JSON representation
A simple T9 engine with backspace recompletion support and contractions
- Host: GitHub
- URL: https://github.com/neutralinsomniac/t9
- Owner: neutralinsomniac
- License: mit
- Created: 2019-11-07T20:38:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-13T19:44:23.000Z (almost 3 years ago)
- Last Synced: 2025-04-06T16:52:51.295Z (23 days ago)
- Language: Python
- Homepage:
- Size: 599 KB
- Stars: 12
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A sane T9 engine.

Features:
- contractions (just type the word like you would if the apostrophe didn't exist. no need to hit '1')
- re-completions on backspace
- auto capitalization/custom capitalization
- persistent custom dictionaryKeys:
- 1-9: normal T9 input (1 is punctuation, 2-9 is a-z)
- a-z, punctuation: alternate input for QWERTY keyboards. maps to one of the 1-9 keys.
- Tab: next completion
- 0 or space: accept completion and insert a space
- Backspace: delete character
- Enter: when '?' is showing (indicating an unknown word): add a custom word to
the dictionary. Otherwise, accept the current completion without adding a space
- ^: cycle capitalization mode
- ctrl-w: backspace entire current word
- ~: toggle T9 engine on and off
- ctrl-c: copy current line to clipboard
- ctrl-u: clear entire lineQuickstart:
```
git clone https://github.com/neutralinsomniac/t9.git
cd t9
python3 -m venv .
source bin/activate
pip install -r requirements.txt
./t9.py google-10000-english-usa.txt
```