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

Parsing Belgium street name #182

Open
gmarti opened this issue Nov 1, 2024 · 2 comments
Open

Parsing Belgium street name #182

gmarti opened this issue Nov 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gmarti
Copy link

gmarti commented Nov 1, 2024

Describe the bug
Autocomplete for Ter Waarde 91 or Ter Waarde 91, Ypres, Belgium or Ter Waarde 91, 8900 Ypres, Belgium always fails to return the proper result because pelias parser seems to want Waarde as a locality

       "santizer:text:pelias_parser": [[](https://pelias.github.io/compare/#)
          "0.60 ➜ locality='Waarde', postcode='8900', country='Belgium'",
          "0.57 ➜ postcode='8900', locality='Ypres', country='Belgium'"
        ]

Steps to Reproduce
https://pelias.github.io/compare/#/v1/autocomplete?text=Ter+Waarde+91%2C+Ypres%2C+Belgium&debug=1

trying to force address doesn't work either
https://pelias.github.io/compare/#/v1/autocomplete?layers=address&text=Ter+Waarde+91%2C+Ypres%2C+Belgium&debug=1

Expected behavior
Find this result
https://pelias.github.io/compare/#/v1/search?text=Ter+Waarde+91%2C+Ypres%2C+Belgium&debug=1
https://pelias.github.io/compare/#/v1/place?ids=openaddresses%3Aaddress%3Abe%2Fvlg%2Fbosa-region-flanders-nl%3A91ab227c88a0dfad&debug=1

@gmarti gmarti added the bug Something isn't working label Nov 1, 2024
@gmarti
Copy link
Author

gmarti commented Nov 12, 2024

@missinglink Sorry to bother you, is there anything I can do to help with this ?

Maybe I can have a look at a fix, but I don't understand where and what happens

@missinglink
Copy link
Member

You can try the command listed in the Quick Start section of the readme, it outputs detailed parsing information:

https://github.com/pelias/parser?tab=readme-ov-file#quick-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants