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

Not parsing valid address: 12 LITTLE WEST 12TH STR, New York, NY #232

Open
anastasiaclark opened this issue Jul 8, 2018 · 0 comments
Open

Comments

@anastasiaclark
Copy link

Hi I am getting a RepeatedLabelError: when running usaddress.tag('12 LITTLE WEST 12TH STR')

Here is the error:
ERROR: Unable to tag this string because more than one area of the string has the same label
ORIGINAL STRING: 12 LITTLE WEST 12TH STR PARSED TOKENS: [(u'12', 'AddressNumber'), (u'LITTLE', 'StreetName'), (u'WEST', 'StreetNamePreDirectional'), (u'12TH', 'StreetName'), (u'STR', 'StreetNamePostType')] UNCERTAIN LABEL: StreetName

12 LITTLE WEST 12TH STR. It is a valid address in New York City; LITTLE WEST 12TH is the street name and first 12 is the street number. I don't have any other similar addresses in my dataset to submit for training, but a table of addresses can be generated with like-so addresses:

Ex:
12 LITTLE WEST 18TH STR
20 LITTLE WEST 100TH STR
etc.

They all get same error.

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