standardized us address

John Nagle nagle at animats.com
Mon Feb 12 13:33:41 EST 2007


Chris Mellon wrote:
> On 2/11/07, mark <rkmr.em at gmail.com> 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



More information about the Python-list mailing list