Re: string class with method approximatelyEquals(String s)
From: Eric (efinger1_at_verizon.net)
Date: 04/21/04
- Next message: Peter Kirk: "Set status on HttpServletResponse"
- Previous message: Chris Uppal: "Re: Help debugging Java code with Java 1.3.1_01 Java HotSpot Client VM (jvm.dll)"
- In reply to: Chris: "Re: string class with method approximatelyEquals(String s)"
- Next in thread: Keith Green: "Re: string class with method approximatelyEquals(String s)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Peter Kirk: "Set status on HttpServletResponse"
- Previous message: Chris Uppal: "Re: Help debugging Java code with Java 1.3.1_01 Java HotSpot Client VM (jvm.dll)"
- In reply to: Chris: "Re: string class with method approximatelyEquals(String s)"
- Next in thread: Keith Green: "Re: string class with method approximatelyEquals(String s)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|