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

Error in Streetnumber #332

Open Giriteja opened 2 years ago

Giriteja commented 2 years ago

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

ORIGINAL STRING: 400, G lover rd, Stony creek ont, canada, L8E5X1 PARSED TOKENS: [('400,', 'AddressNumber'), ('G', 'StreetName'), ('lover', 'StreetName'), ('rd,', 'StreetNamePostType'), ('Stony', 'PlaceName'), ('creek', 'StreetName'), ('ont,', 'StreetName'), ('canada,', 'StreetName'), ('L8E5X1', 'OccupancyIdentifier')] UNCERTAIN LABEL: StreetName

blackfloret commented 2 years ago

This parser is built to handle United States addresses, not Canadian addresses.