Skip to content

RepeatedLabelError: #369

Open
Open

Description

@thogarus

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

ORIGINAL STRING: 1449 Engineering Research Ct B100 East Lansing MI 48824-1226
PARSED TOKENS: [('1449', 'AddressNumber'), ('Engineering', 'StreetName'), ('Research', 'PlaceName'), ('Ct', 'StateName'), ('B100', 'StreetName'), ('East', 'StreetNamePostDirectional'), ('Lansing', 'PlaceName'), ('MI', 'StateName'), ('48824-1226', 'ZipCode')]
UNCERTAIN LABEL: StreetName

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!

This is with the usaddress-0.5.10

Activity

  1. xmedr commented on Apr 3, 2025

    @xmedr
    Contributor

    Ah, yea this one does seem to be a bit different! How are you expecting this to be labelled? I'm particularly curious about the B100 part, since the rest seems to make sense. I'm thinking something like:

    Tag Address Part
    AddressNumber 1449
    StreetName Engineering Research
    StreetNamePostType Ct
    ??? B100
    PlaceName East Lansing
    StateName MI
    ZipCode 48824-1226

    Also, do you have any more examples of this type of address that you could share with us?

  2. xmedr commented on Jun 11, 2025

    @xmedr
    Contributor

    We've since got some more updates into the package. What do you think of this parsing:

    Address part Tag
    1449 AddressNumber
    Engineering Research StreetName
    Ct StreetNamePostType
    B100 OccupancyIdentifier
    East Lansing PlaceName
    MI StateName
    48824-1226 ZipCode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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