datamade / usaddress

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

Unable to tag this string because more than one area of the string has the same label #303

Open loveshah751 opened 3 years ago

loveshah751 commented 3 years ago

usaddress.RepeatedLabelError: ERROR: Unable to tag this string because more than one area of the string has the same label ORIGINAL STRING: 2501 S W S YOUNG DR KILLEEN TX 76542 PARSED TOKENS: [('2501', 'AddressNumber'), ('S', 'StreetName'), ('W', 'StreetNamePostDirectional'), ('S', 'StreetNamePreDirectional'), ('YOUNG', 'StreetName'), ('DR', 'StreetNamePostType'), ('KILLEEN', 'PlaceName'), ('TX', 'StateName'), ('76542', 'ZipCode')] UNCERTAIN LABEL: StreetName When this error is raised, it's likely that either (1) the string is not a valid person/corporation name or (2) some tokens were labeled incorrectly To report an error in labeling a valid name, open an issue at https://github.com/datamade/usaddress/issues/new - it'll help us continue to improve probablepeople!