datamade / usaddress

:us: a python library for parsing unstructured United States address strings into address components
https://parserator.datamade.us/usaddress
MIT License
1.52k stars 304 forks source link

Common address ending with 0 (Zero) on the house number #223

Open fvfv opened 6 years ago

fvfv commented 6 years ago

Great library.

I'm having a problem with this address: 10570 SW 8 ST miami fl 33155

When parsed , the city is parsed as "ST Miami" instead of "Miami"

If I change the house number to 1057 or "10570." (period at the end), it parses correctly.

If I change ST for Street or 8 for 8th, it also parses it correctly, but the reason I'm using the library is so that I can detect bad addresses and these false positives (or true negatives depending on your view), are getting in with the good addresses.

Weird part is that it correctly parses 10570 SE 8 ST miami fl 33155.

There seems to be an issue with addresses that end with 0 and have SW on the address.

Thanks for your support.