开发者

Java Compare Addresses

Does anyone know a library to compare addresses in Java ?

S开发者_高级运维omething that would give equality on addresses, written in different ways.

For example, it should recognize that

"22 Acacia Avenue" and "22 acacia av." 

is the same address.

Of course, this can escalate a lot, that's why i'm asking.

Thanks in advance.


You should check out this question: Where is a good Address Parser


The only way to truly and accurately compare addresses is to ensure that both are standardized and certified. Within the USA, you can leverage the 12-digit delivery point barcode on a certified address which can serve as a unique identifier for a given address. Beyond that, there's not much else you can because addresses are not self validating and can be written in countless different ways. Even complex regex don't help. And don't get me started on how people spell streets and cities incorrectly.

I should mention that I'm the founder of SmartyStreets. We have a CASS-certified address verification service which allows you to clean, standardize, verify, and confirm each address which then makes duplicate detection a piece of cake. We offer both batch processing to obtain a CASS-certified list or individual "live" checking via an address verification web service API.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜