Skip to content

Give it a number, and it uses alphanumeric mapping on most phones to provide possible words

Notifications You must be signed in to change notification settings

aymanim/PhoneKeypadWords

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

As an exercise in dynamic programming, I decided to write this script which take a (phone) number 
and produces a list of possible words based on the standard phone keypads.
I haven't researched the different kinds of keypads. I am just going with what my android shows me.

It does produce duplicates, and does not check for validity in the english language


To use it:
python convert.py {number} {length of word}

Example:
python convert.py 2222222 3

will produce different size 3 sets from {a,b,c} like
aaa,aba,aca, ... etc..




About

Give it a number, and it uses alphanumeric mapping on most phones to provide possible words

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages