Re: standardized us address

2007-02-12 Thread Chris Mellon
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.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: standardized us address

2007-02-12 Thread John Nagle
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


standardized us address

2007-02-11 Thread mark

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
-- 
http://mail.python.org/mailman/listinfo/python-list