Skip to content
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

Nil street when addr has no street type and apt number has directional letter #52

Open
micahtessler opened this issue Jan 17, 2022 · 0 comments

Comments

@micahtessler
Copy link

Here is a sample of addresses that have nil for street when parsed

The pattern is the street has no type PENNSYLVANIA instead of PENNSYLVANIA AVE and the apt number ends in a directional: 6E instead of 6B

note that adding a street type like AVE will find the correct street, or an apt number that doesn't end in a directional like 3G will cause the street name to be parsed correctly

1600 PENNSYLVANIA APT 1E, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 1N, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 1S, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 1W, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 2E, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 2N, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 2S, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 2W, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 3E, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 3N, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 3S, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 3W, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 4E, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 4N, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 4S, WASHINGTON DC 20006
1600 PENNSYLVANIA APT 4W, WASHINGTON DC 20006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant