datamade / usaddress

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

Error parsing basic address #350

Closed nate9336 closed 1 year ago

nate9336 commented 1 year ago

Here's the error (

RepeatedLabelError: ERROR: Unable to tag this string because more than one area of the string has the same label

ORIGINAL STRING: 606 South William Street Apartment 621 Royal Oak Michigan PARSED TOKENS: [('606', 'AddressNumber'), ('South', 'StreetNamePreDirectional'), ('William', 'StreetName'), ('Street', 'StreetNamePostType'), ('Apartment', 'SubaddressType'), ('621', 'AddressNumber'), ('Royal', 'StreetName'), ('Oak', 'StreetName'), ('Michigan', 'StreetName')] UNCERTAIN LABEL: AddressNumber