Re: string class with method approximatelyEquals(String s)

From: Eric (efinger1_at_verizon.net)
Date: 04/21/04


Date: Wed, 21 Apr 2004 13:33:56 GMT

I'd like to see your code very much.

Thanks,
- Eric

"Chris" <sarge_chris@hotmail.com> wrote in message
news:568394b1.0404210307.3124c914@posting.google.com...
> > I'm looking for a string class that will do approximate comparisons.
>
> What do you mean by approximate?
>
> I wrote a custom 'fuzzy' string-comparison algorithm for an
> address-matching project:
>
> e.g. it would match the following:
> "Number 37, The Old Barn at Homesteads"
> and
> "37 Old Barn Housesteads"
>
> Based on:
> - removal of standard key-words (e.g. At, The)
> - removal of white-space and punctuation
> - capitalisation
> - character-by-character comparison against a percentage matched
> threshold
> - and a few other tricks
>
> I can post the code if you want.
>
> - sarge