From: Erik Hollensbe Date: 2008-09-01T19:48:02+09:00 Subject: Re: How to match words that rhyme? Axel Etzold wrote: > -------- Original-Nachricht -------- >> Datum: Mon, 1 Sep 2008 12:09:01 +0900 >> Von: Erik Hollensbe >> An: ruby-talk@ruby-lang.org >> Betreff: Re: How to match words that rhyme? > >> Maybe I'm missing something subtle, but isn't this what soundex is for? > .. which is why I had proposed it in a previous post. > But Michael is right with his examples ... a great number of > often-occurring > words that are classified as similar won't sound similar. Missed that, sorry. However, soundex would be good (and fast) to greatly reduce a base wordlist, it may still catch words that don't sound alike, but the likelihood of it omitting words that sound alike is so low it's probably worth it, and at that point you can apply a more expensive algorithm to the smaller set. Of course, I am under the assumption he wants to scan a ton of unrelated words (say, a whole dictionary) to match against his word. -Erik -- Posted via http://www.ruby-forum.com/.