-
Notifications
You must be signed in to change notification settings - Fork 304
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: Unable to tag this string because more than one area of the string has the same label #180
Comments
Hey @rsingh2083, Thanks for filing this! That's a real doozy of an address. I haven't been able to figure out what it's referring to. If you can confirm that this is a valid address pattern, we'd be happy to bring it in as training data. We'll need 4-5 more examples of the pattern to be able to train the model reliably. |
I get similar error for this address : 9234 N Loop 1604 W San Antonio TX 78249 |
Hey @gl-ronak, Can you tell me how you were expecting that address to be parsed? In particular, what does the second set of numerics ( If you can find 3-4 more examples of this pattern, we'd be glad to bring it in as training data. |
I just experienced a similar issue.
I'm using this library to automate the parsing of data from Google Maps to input into a SF db of organizations we work with. I'm I think I see where the error occurred |
@NoahCardoza I think in this case there are actually two things going on:
I was able to get a slightly more sensible parse by removing >>> usaddress.tag('1407 7 Ave NW, Calgary, AB T2N 0Z3')
(OrderedDict([('AddressNumber', '1407'), ('StreetName', '7'), ('StreetNamePostType', 'Ave'), ('StreetNamePostDirectional', 'NW'), ('PlaceName', 'Calgary'), ('StateName', 'AB T2N'), ('ZipCode', '0Z3')]), 'Street Address') |
Ah, that should probably be enough. We don't have many organizations in CA, however, what are your thoughts on #254? I'm assuming you might not be merging it seeing as the name of this project is usaddress? |
I don't expect we'll support Canadian addresses in the near future, but if you'd like to support them you might try training your own model using the supplemental training data in #254. |
Hello, I just encountered an error ORIGINAL STRING: Bronx, New York City Seems to be a valid place |
While tagging this
usaddress.tag('Mr. Robbie Thomson,Cal. Hosp 2,Street 11, Block H,Jersey, New Jersey 121889,United States')
Im getting this error : -
The text was updated successfully, but these errors were encountered: