Chris Mellon wrote: > On 2/11/07, mark <[EMAIL PROTECTED]> wrote: > >> Hi >> Is there any python module that will convert address to standard US >> address >> format: >> for ex: >> >> 314 south chauncey avenue >> >> should be: >> 314 s chauncey ave >> >> >> thanks >> mark >> > > This isn't standardization, it's normalization. The USPS maintains > databases that you can use to help you do this, and they'll point you > to third parties who sell software that does it. It's a non-trivial > task.
There's a US address normalizer written in Perl available. http://cpan.uwinnipeg.ca/htdocs/Geo-StreetAddress-US/Geo/StreetAddress/US.html Not too big, too; it's mostly tables. Might not be too bad to convert. John Nagle -- http://mail.python.org/mailman/listinfo/python-list