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

2451 5TH STREET TRAILER 30, STAFFORD TX 77477 #349

Open aargumedo-ai opened 1 year ago

aargumedo-ai commented 1 year ago

Hello,

I know this is a difficult one, PARSED TOKENS: [('2451', 'AddressNumber'), ('5TH', 'StreetName'), ('STREET', 'StreetNamePostType'), ('TRAILER', 'StreetNamePreType'), ('30,', 'StreetName'), ('STAFFORD', 'PlaceName'), ('TX', 'StateName'), ('77477', 'ZipCode')] UNCERTAIN LABEL: StreetName

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

When is a trailer park, and a trailer number is included tag has hard time determine how to parse it.

I'm not even sure what could be the correct tagging, but dropping the case over here in case it helps