On Jul 6, 2011, at 11:23 AM, Eric E. Dolecki wrote:

> I found a Soundex NSString category here:
> 
> http://www.cocoadev.com/index.pl?NSStringSoundex
> 
> However, when I tried it out I get strange results...
> 
> //someString is set to different strings each time tested
> BOOL test = [someString soundsLikeString:@"Face"];
> NSLog(@"sounds like Face: %d",test);
> 
> Place = 0
> Ace = 0
> Mace = 0
> Fake = 1
> Testing = 0
> Brake = 0
> 
> It would seem something is off to get negatives on Place, Ace & Mace.
> 
> Any ideas or perhaps a different Soundex implementation I could try? I
> am already using Levenstein distance, but on it's own it's not good
> enough.

Those results sound perfectly reasonable based on the versions of Soundex that 
I have seen.  Perhaps you are looking for something different?

Douglas Davidson

_______________________________________________

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