usaddress
usaddress copied to clipboard
Incorrect parsing of address where place contains the word city
301 N LEONA GARDEN CITY MI 48135 returns
[('301', 'AddressNumber'), ('N', 'StreetNamePreDirectional'), ('LEONA', 'StreetName'), ('GARDEN', 'StreetNamePostType'), ('CITY', 'PlaceName'), ('MI', 'StateName'), ('48135', 'ZipCode')]
The PlaceName
should be GARDEN CITY
.