in reply to Closest matches from string array
Soundex is probably your kiddy for this, but you might get better results if you stripped common prefixes like Mc, Mac, O' and maybe a few others. That would probably allow you to tighten the match and still not miss likely hits.
You said this was coming from a DB. You ought to consider storing the Soundex values within the table as an alternate key. That would save regenerating the Soundex each time, and allow you to use SQL to only pull the likely candidates, rather than pulling them all and doing the selection yourself.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Closest matches from string array
by tachyon (Chancellor) on Oct 28, 2003 at 11:36 UTC | |
by BrowserUk (Patriarch) on Oct 28, 2003 at 12:32 UTC | |
by tachyon (Chancellor) on Oct 28, 2003 at 15:27 UTC |