usaddress icon indicating copy to clipboard operation
usaddress copied to clipboard

UNCERTAIN LABEL: StreetName

Open LeylaMova opened this issue 4 years ago • 1 comments

usaddress.tag('200 JOHN W HOOVER PKWY BLDG 1')

LeylaMova avatar May 16 '20 20:05 LeylaMova

You're getting this because the parser is uncertain if the "W" is part of the name or the directional "West". Try using the tag_mapping option. Check out tag_mapping at https://usaddress.readthedocs.io/en/latest/ With the tag maps used in the example, you'd get the following parsed address: (OrderedDict([('address1', '200 JOHN W HOOVER PKWY'), ('address2', 'BLDG 1')]), 'Street Address')

mortgagemetrix avatar Jul 25 '20 19:07 mortgagemetrix