Sundown / T9

:iphone: Small CLI util to calculate T9 possibilities. C99

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

t9

Small CLI utility for calculating all possibilities given T9 input.

Does not account for multiple presses... 66 -> [MNO6][MNO6] not N.

Not particularly fast when checking wordlist.

C99 compliant.

OPTIONS:
    -i         List entries with their index
    -d         Verify results in wordlist </usr/share/dict/words>
    -df        Same as -d but match full word
    -w <path>  Enable dictionary verification with custom wordlist
    -e <n>     Select the n'th entry in the return list
    -h         Prints help information
$ t9 -i -df 4355
1:  gell
2:  hell

$ t9 448482
GGTGTA
GGTGTB
... ~4000 entries
44848C
448482

$t9 -e 534 448482
GITHUB
[1    ] [ABC2]  [DEF3 ]
[GHI4 ] [JKL5]  [MNO6 ]
[PQRS7] [TUV8]  [WXYZ9]
        [  9 ] <- space and 9

About

:iphone: Small CLI util to calculate T9 possibilities. C99

License:MIT License


Languages

Language:C 97.3%Language:Makefile 2.7%