Skip to content

Issue with tagging placenames vs street names when both components have multiple words #395

@boompig

Description

@boompig

The Input Address
What string are you having an issue with?

"4930 Mesa Bonita San Antonio, TX 78218"

Current Output
What is the parser currently returning?

usaddress.parse(s)
[('4930', 'AddressNumber'), ('Mesa', 'StreetName'), ('Bonita', 'PlaceName'), ('San', 'PlaceName'), ('Antonio,', 'PlaceName'), ('TX', 'StateName'), ('78218', 'ZipCode')]

Expected Ouput
What are you expecting the parser to return?

San Antonio should be the place name, while Mesa Bonita should be the street name

I have verified this with the most recent version (v0.5.15)

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