You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PS D:\pythons\indian_address_parser-main> python .\test2.py
Traceback (most recent call last):
File "D:\pythons\indian_address_parser-main\test2.py", line 4, in
parsed_address, address_type = usaddress.tag(address)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Programs\Python\Python312\Lib\site-packages\usaddress_init_.py", line 709, in tag
raise RepeatedLabelError(address_string, parse(address_string), label)
usaddress.RepeatedLabelError:
ERROR: Unable to tag this string because more than one area of the string has the same label
PS D:\pythons\indian_address_parser-main> python .\test2.py
Traceback (most recent call last):
File "D:\pythons\indian_address_parser-main\test2.py", line 4, in
parsed_address, address_type = usaddress.tag(address)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Dell\AppData\Local\Programs\Python\Python312\Lib\site-packages\usaddress_init_.py", line 709, in tag
raise RepeatedLabelError(address_string, parse(address_string), label)
usaddress.RepeatedLabelError:
ERROR: Unable to tag this string because more than one area of the string has the same label
ORIGINAL STRING: 29 /.1000 A ; Madakkuni Temple Road,Near Kottooli Petrol Pump, Calicut, Kottooli Kuthiravattom Rd, Koottuli, Kozhikode, Kerala 673016
PARSED TOKENS: [('29', 'AddressNumber'), ('1000', 'StreetName'), ('A', 'StreetName'), ('Madakkuni', 'StreetName'), ('Temple', 'StreetName'), ('Road,', 'StreetNamePostType'), ('Near', 'Recipient'), ('Kottooli', 'Recipient'), ('Petrol', 'Recipient'), ('Pump,', 'Recipient'), ('Calicut,', 'Recipient'), ('Kottooli', 'Recipient'), ('Kuthiravattom', 'Recipient'), ('Rd,', 'StreetNamePostType'), ('Koottuli,', 'PlaceName'), ('Kozhikode,', 'StateName'), ('Kerala', 'StateName'), ('673016', 'ZipCode')]
UNCERTAIN LABEL: StreetNamePostType
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!
The text was updated successfully, but these errors were encountered: