News for hackers. Stuff that matters.
Re:Levenshtein Distance by stanmancan on Thursday August 22, 2019 @03:57PM (#20771801)
Ugh. At a past job I was tasked with matching records, based on street addresses and business names, from various systems. Levenshtein Distance was pretty instrumental in helping find potential matches once we had cleaned up the address format and business name as much as possible.
Re:Levenshtein Distance by tongo on Thursday August 22, 2019 @04:48PM (#20772221)
I did the same thing. I was merging our billing db with that of a business we had just bought. Due to the nature of our business, customers could exist in both.

So I had a routine that normalized the address, as best I could anyway, didn't help that it was all just one varchar field. Then implimented Levenshtein Distance, messed with the weighting a bit to fit our particular data and away it went. Saved a bunch of headaches. It wasn't perfect, but it was better than hand matching a couple thousand accounts.