Skip to content

Issue in tagging 'Recipient' as Address Components in usaddress Version 0.5.11 and Later #393

@lxmn

Description

@lxmn

The current version of usaddress starting from 0.5.11 is tagging the recipient as an address, whereas version 0.5.10 correctly tagged this entity as a recipient.

With version 0.5.14
The Input string
Hanna N Mallberg

Current Output

usaddress.tag("Hanna N Mallberg")
({'AddressNumber': 'Hanna', 'StreetNamePreDirectional': 'N', 'StreetName': 'Mallberg'}, 'Street Address')

Hanna - AddressNumber
N - StreetNamePreDirectional
Mallberg - StreetName

With version 0.5.10
The Input string
Hanna N Mallberg

Output

usaddress.tag("Hanna N Mallberg")
(OrderedDict([('Recipient', 'Hanna N Mallberg')]), 'Ambiguous')

Hanna N Mallberg - Recipient

The problem is that the newer version of usaddress incorrectly classifies what should be tagged as Recipient into various address components, which was not the case in the previous version.

Could you please help me with this ?

tagging team @sdc224 @Ria700

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions