Skip to content

Wisconsin Legislators Offices #374

@chris-erickson

Description

@chris-erickson

Typically look like:

Room 10 South
State Capitol
PO Box 7882
Madison, WI 53707

https://docs.legis.wisconsin.gov/2025/legislators/senate/2822

  File "/usr/local/lib/python3.11/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:  Room 10 South, State Capitol, PO Box 7882, Madison, WI 53707-7882
PARSED TOKENS:    [('Room', 'OccupancyType'), ('10', 'OccupancyIdentifier'), ('South,', 'StreetNamePostDirectional'), ('State', 'PlaceName'), ('Capitol,', 'PlaceName'), ('PO', 'StateName'), ('Box', 'USPSBoxType'), ('7882,', 'USPSBoxID'), ('Madison,', 'PlaceName'), ('WI', 'StateName'), ('53707-7882', 'ZipCode')]
UNCERTAIN LABEL:  address

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions