06-30-2024, 02:44 AM
has anyone made a program to convert a phone number to words?
phone number to words
|
06-30-2024, 02:44 AM
has anyone made a program to convert a phone number to words?
06-30-2024, 05:54 AM
I've used the sound files below for speaking phone numbers before. If you want written ones, then isn't that just a simple case of converting one digit at a time to a string?
SELECT CASE n CASE 0: n$ = "zero" CASE 1: n$ = "one" CASE 2: n$ = "two" ....
hello Steve
I think that you may have misunderstood my question, I meant to convert a phone number to words by substituting the numerals to letters in such a way as to form words, the words would be separated by hyphens. Quote: 1 2 3obviously one would need some word list to pick words from I just don't have the faintest idea how one would achieve this, here are 10000 words https://github.com/first20hours/google-1...-1-ov-file but I think that bplus probably knows about a free word list
@Jack sounds like a cool little Sunday morning challenge, give my new keyboard a try ;-))
I think my approach would be: 1 to convert all the words on my list to numbers 2 sort the numbers ( with the words attached ie UD Type) 3 look up any number I was curious about and see the list of words I have for it. Here is list I might have gotten from Steve: Here is much shorter list of 7 letter words, lets not fool with area codes? there are 24029 words. Here is the phone list file! Alas, my number has a 0 in it so not listed same with all numbers with 1 in it. (took me an hour with too many blunders)
b = b + ...
Making a word look-up list isn't very hard. As bplus said, just take any of the basic SCRABBLE word maker programs and alter them slightly for matches for the various numbers.
The thing I foresee being an issue is getting those "almost word" matches. For example: 1-900-SXY-TIME 1-800-LUV-QB64 1-800-IBSteve Most phone numbers aren't 100% word matches. They're often missing letters, or "close enough" to the actual word, that most folks can still instantly recognize them. THOSE would the fun ones to try to find and match! If only someone had a "close enough" Spell Checker of some sort, that they might could check a word list against, to try and get those type matches....
06-30-2024, 01:08 PM
bplus and Steve, thank you
06-30-2024, 01:33 PM
(06-30-2024, 12:31 PM)SMcNeill Wrote: Making a word look-up list isn't very hard. As bplus said, just take any of the basic SCRABBLE word maker programs and alter them slightly for matches for the various numbers.Might be worth looking at Sondex Coding https://en.wikipedia.org/wiki/Soundex (algorithm is described quite well) maybe could be used to get some of these 'near'matches?
06-30-2024, 01:45 PM
I've got a SoundEx spellcheck too. I'll see if I can dig it up sometime. Never really found it very useful, tobe honest, though.
07-02-2024, 06:22 PM
You can call and ask Clippy at: 1-800-277-4653
Sounds like a fun project. Run loops to find all possible letter combinations and then keep only the results that match up to an existing word database. Pete |
« Next Oldest | Next Newest »
|