Skip to content

Error detecting city and state in address without commas #409

Description

@boompig

For this address, the city and state are not correctly extracted

The Input Address
817 15th St N Bessemer, AL

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

ORIGINAL STRING: 817 15th St N Bessemer, AL
PARSED TOKENS: [('817', 'AddressNumber'), ('15th', 'StreetName'), ('St', 'StreetNamePostType'), ('N', 'StreetNamePreDirectional'), ('Bessemer,', 'StreetName'), ('AL', 'StreetNamePostType')]
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!

For more information, see the documentation at https://usaddress.readthedocs.io/

Expected Ouput
parse out Bessemer and AL as city and state respectively

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions