parser
parser copied to clipboard
Addresses on Bowery in NYC are not properly handled
Describe the bug
Addresses such as
186 Bowery, New York, NY 10012
are not properly parsed
Steps to Reproduce
Spin up interactive webserver. Type 186 Bowery, New York, NY 10012
in
Expected behavior
Housenumber: 186 Street: Bowery City: New York State: NY Zip: 10012
Environment (please complete the following information):
N/A
Pastebin/Screenshots
Additional context
References
https://en.wikipedia.org/wiki/Bowery
Thanks for the bug report, most streets in the USA contain a suffix such as st/rd but of course there are notable exceptions such as Broadway and this example.
Ideally we could infer that the token between the house number and the city was the street, particularly when a comma is supplied.