Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Strange Nominatim translation behavior #5276

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments
Closed

Strange Nominatim translation behavior #5276

openstreetmap-trac opened this issue Jul 23, 2021 · 2 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Papou
[Submitted to the original trac issue database at 7.53am, Tuesday, 10th February 2015]

About: http://wiki.openstreetmap.org/wiki/Nominatim/Special_Phrases/FR
Two columns prepended below to the table, second: Y=works, N=does not.
All OSM queries are appended with the place name "Dolembreux".
Seeing that #1 works, I add the alternate #2 and it doesn't.
Then I check "recycling Dolembreux" and it doesn't work.
But "recycling point Dolembreux" does work.
(OK, I see that phrase in the EN page, but...)
Now if I add #5, it does work but #3 and #4 don't.
Plus, all the prepositions in entries marked with "?" seem unnecessary.
The queries with or without them seem to return the same results;
And yet, the specification page defines them.
Can those lines be removed?

1 Y Point de recyclage amenity recycling -
2 N Bulle verre amenity recycling -
3 N Bulle amenity recycling point -
4 N Bulle verre amenity recycling point -
5 Y Bulle verre amenity recycling point -
6 Y Point de recyclage amenity recycling -
7 Y Points de recyclage amenity recycling -
? Point de recyclage amenity recycling in
? Points de recyclage amenity recycling in
? Point de recyclage en amenity recycling in
? Points de recyclage en amenity recycling in

@openstreetmap-trac
Copy link
Author

Author: lonvia
[Added to the original trac issue at 8.38am, Friday, 13th February 2015]

Processing of the Special Phrase pages needs to be kicked off manually. You don't really see the effects of your changes until the next reimport (which happens rather rarely because it is expensive).

That said, all entries with amenity=recycling point are pointless because this tag/value combination doesn't exist in OSM and special searches check against the existence of these.

The ones with operator 'in' on the other hand are necessary. Depending on the operator, Nominatim queries the database slightly different.In fact, they are the more important ones. 'Point de recyclage Dolembreux' asks for a recycling point called Dolembreux, while Point de recyclage a Dolembreux' ask for a recycling point in Dolembreux. The latter is probably what you want. (That is the theory. In practice, the actual search is a bit more forgiving.)

@openstreetmap-trac
Copy link
Author

Author: fgnievinski
[Added to the original trac issue at 1.07pm, Monday, 6th April 2015]

How to kick off manual processing of the Special Phrase pages, please? Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant