This string compare worked great for me.
I'm doing this job matching strings to generate foreign keys. i've
already done a lot of pattern matching but i'm thinking that to be
really careful i should do some sort of similarity comparison. and i
remembered this thread. and i followed this link.
On Tue, Jul 01, 2008 at 04:20:28PM +1000, Steve Onnis wrote:
Does anyone know of a method where you can calculate either by percentage or
score or something as to how much a string has changed?
For example:
1) Hi my name is Steve
2) Hi my name is John
Only the name has changed to the
PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Text change percentage or score
just kicking around ideas...how do you define what is changed?
individual letter placement?
words?
order?
is this a 100% change?
1) Hi my name is Steve
2) name Hi is Steve my
how about this?
1) Hi my