Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error parsing La in city name (i.e. La Quinta) as Louisiana using .tag #358

Open
michaeljclausen opened this issue Dec 8, 2023 · 0 comments

Comments

@michaeljclausen
Copy link

I've had some addresses work fine such as...

"49000 Calle Flora, La Quinta, CA 92253 United States"
(OrderedDict([('AddressNumber', '49000'), ('StreetName', 'Calle Flora'), ('PlaceName', 'La Quinta'), ('StateName', 'CA'), ('ZipCode', '92253'), ('CountryName', 'United States')]), 'Street Address')

whereas "8100 Peary Place, La Quinta, California 92253 United States" results in...

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

ORIGINAL STRING: 8100 Peary Place, La Quinta, California 92253 United States
PARSED TOKENS: [('8100', 'AddressNumber'), ('Peary', 'StreetName'), ('Place,', 'StreetNamePostType'), ('La', 'StateName'), ('Quinta,', 'PlaceName'), ('California', 'StateName'), ('92253', 'ZipCode'), ('United', 'CountryName'), ('States', 'CountryName')]
UNCERTAIN LABEL: StateName

After testing, it seems having a street address end in 'Place' trips up the parser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant