New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag gives inconsistent results #213

Open
FlamingMo opened this Issue Feb 9, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@FlamingMo

FlamingMo commented Feb 9, 2018

Using usaddress.tag provides different results: One is correct and the other is not.
t = "5 BEECROFT ROAD 10"
(OrderedDict([('AddressNumber', '5'), ('StreetNamePreType', 'BEECROFT ROAD'), ('StreetName', '10')]), 'Street Address')

but
t = "5 BEECROFT ROAD 2"
(OrderedDict([('AddressNumber', '5'), ('StreetName', 'BEECROFT'), ('StreetNamePostType', 'ROAD'), ('OccupancyIdentifier', '2')]), 'Street Address')

@jeancochrane

This comment has been minimized.

Show comment
Hide comment
@jeancochrane

jeancochrane Feb 19, 2018

Contributor

That's interesting @FlamingMo, can you say a little bit more about when you see the first result versus the second? Are there any patterns? It'd also help to know what version of usaddress you're using and what OS you're on.

Contributor

jeancochrane commented Feb 19, 2018

That's interesting @FlamingMo, can you say a little bit more about when you see the first result versus the second? Are there any patterns? It'd also help to know what version of usaddress you're using and what OS you're on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment