On Jul 6, 2011, at 12:23 PM, Eric E. Dolecki wrote:

> It would seem something is off to get negatives on Place, Ace & Mace.

That's Soundex. First character is matched literally.

You might want to look at Metaphone, rather than using an algorithm that was 
designed in the 19th century for calculation by hand by census takers ;-) 

Although it too will give you negatives on place, ace & mace because those do 
not really sound like "face" at all. "Rhymes with" is a rather low threshold 
for "sounds like"--first consonant is very important, and it seems highly 
unlikely that someone would think they heard "place" when "face" was spoken to 
them.

Personally, I use Metaphone to find similar strings, then modified Levenshtein 
to rank them.

-- 
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303) 722-0567 voice




_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to