Just out of curiosity...
Why not use extended regular expressions? Or am I missing something? > From: edole...@gmail.com > Date: Wed, 29 Jun 2011 09:33:44 -0400 > To: dun...@calamus.net > CC: cocoa-dev@lists.apple.com > Subject: Re: Fuzzy string matching > > Thanks for the reply, I've now found this: > > http://www.merriampark.com/ldobjc.htm > > Will try this out and see how it goes. It's close to something I > already had which I didn't think worked that great, but will try > anyway. > > Eric > > > > On Wed, Jun 29, 2011 at 9:19 AM, Ulf Dunkel <dun...@calamus.net> wrote: > > Hi Eric. > > > >> I have an application (iOS) that is doing speech to text. The > >> resulting string I'd like to fuzzy match against the user's onboard > >> music library, and play a song, album, genre, etc. as appropriate. I > >> am looking for a really good fuzzy string matching engine. I found > >> this: http://www.locayta.com/, not sure it's something I could use or > >> not. Also I found this code (but it's not quote accurate enough for > >> reliable results): > >> > >> Any better ideas for a better fuzzy string match? > > > > For me, the Levenshtein distance method has always worked fine. You can even > > offer an UI element (I'd suggest a slider) to let the user define a looser > > or tighter distance for better results. > > > > ---Ulf Dunkel > > _______________________________________________ > > > > 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/edolecki%40gmail.com > > > > This email sent to edole...@gmail.com > > > _______________________________________________ > > 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/shashaness%40hotmail.com > > This email sent to shashan...@hotmail.com _______________________________________________ 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