Re: string class with method approximatelyEquals(String s)
From: Eric (efinger1_at_verizon.net)
Date: Wed, 21 Apr 2004 13:33:56 GMT
I'd like to see your code very much.
"Chris" <email@example.com> wrote in message
> > 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"
> "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
> - and a few other tricks
> I can post the code if you want.
> - sarge