usaddress icon indicating copy to clipboard operation
usaddress copied to clipboard

Address with address number that looks like streetname

Open stdavis opened this issue 5 years ago • 3 comments

image

This address should have been parsed as: 1940 - AddressNumber E - StreetNamePreDirectional 5625 - StreetName S - StreetNamePostDirectional

I'm guessing it's because the address number is a multiple of ten that looks like a street name?

stdavis avatar May 01 '20 22:05 stdavis

usaddress doesn't use specific rules to parse addresses. it is trained based on real addresses it has seen. looks like if you add the city and state to the address, it parses as expected:

Screen Shot 2020-05-01 at 7 42 08 PM

derekeder avatar May 02 '20 00:05 derekeder

Is there an option to help make the two results match without using the city and state?

steveoh avatar May 04 '20 01:05 steveoh

I guess that we could add the state (all of our addresses are within Utah): image

But I'd be curious is there is another workaround.

stdavis avatar May 04 '20 14:05 stdavis