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

Districts identified as street names but only for certain addresses #667

Open
janpasierb opened this issue Jul 18, 2024 · 2 comments
Open

Comments

@janpasierb
Copy link

Hi!

I was checking out libpostal, and saw something that could be improved.


My country is

GB


Here's how I'm using libpostal

We're parsing customer-provided addresses to be used by third parties


Here's what I did

We've provided the following address to libpostal: "38 meadow road, garforth, leeds, LS25 2EN"


Here's what I got

image (64)


Here's what I was expecting

I expected "Garforth" to be correctly identified as a district, instead it's being identified as part of the road name

What's strange is that it does work for other similarly-formatted addresses, e.g.: 24 Slade Lane, Levenshulme, Manchester, M13 0QE correctly identifies "Levenshulme" as a district in "Manchester".


For parsing issues, please answer "yes" or "no" to all that apply.

  • Does the input address exist in OpenStreetMap?
    Yes
  • Do all the toponyms exist in OSM (city, state, region names, etc.)?
    Yes
  • If the address uses a rare/uncommon format, does changing the order of the fields yield the correct result?
    N/A
  • If the address does not contain city, region, etc., does adding those fields to the input improve the result?
    N/A
  • If the address contains apartment/floor/sub-building information or uncommon formatting, does removing that help? Is there any minimum form of the address that gets the right parse?
    N/A

Here's what I think could be improved

@tlloyd-synalogik
Copy link

Hi @albarrentine, could you kindly review this issue for us and provide any feedback?

@brianmacy
Copy link

brianmacy commented Aug 7, 2024 via email

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

3 participants