in reply to Adventures in multilingualism
When I first read this, I thought you meant actual words, in a dictionary, but it sounds like you mean combinations. Just an aside, if someone wants to limit this to actual words, it's pretty trivial with something like...
perl -lne 'if (/^[a-p,r-y]{4}$/i) {($a = lc $_) =~ tr/[a-p,r-y]/222333 +444555666777888999/; print "$_: $a"}' < /usr/share/dict/words
If the dictionary has more than one entry for the same word (i.e. capitalized and not), then you'll see it more than once, so putting things in a hash might help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Adventures in multilingualism
by revdiablo (Prior) on May 04, 2005 at 18:56 UTC | |
by inman (Curate) on May 05, 2005 at 07:56 UTC | |
by bluto (Curate) on May 05, 2005 at 18:12 UTC |