-
Notifications
You must be signed in to change notification settings - Fork 885
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
Pub names #4926
Comments
Good questions! I changed some of this a few days ago (see #4906 and #4924) and need to update the contributing guide.
Yes the scripts originally just looked in the
Now we can attach properties to categories (#4906), I've added per-category exclude lists, so in "exclude": {
"generic": [
"^(bistro|buffet|büfé|fast food|food court|kantine|frituur|imbiss|kiosk|lanchonete)$",
"^(pizz(eri)?a|fish (and|&) chips|tacos)$",
"^(бистро|пиццерия|столовая|ша(ве|у)рма)$",
"^caf[eé](t[eé]r[ií]a)?$",
"^d[oö]ner( kebab)?$",
"^fri[tz]erie$",
"^istanbul( kebab)?$",
"^kebab( house)?$",
"^snack(s)?( bar)?$",
"^sushi\\s?(bar|house)?$",
"^ラーメン(屋|店)?$"
],
"named": [
"^(ali baba|antalya|asia[ -](bistro|imbiss|wok)|(berlin|city) döner|city (grill|pizza)|kebabai|kfc/taco bell)$",
"^(marmaris|pizza (house|time))$"
]
} These exclude lists (#4924) are lists of regular expressions. They work like this:
So for pubs with common names that aren't brands, we can add them to the "named" section to exclude them from the index.
This is one of those things that sounds like a good idea, and iD has had it for a while, but it is causing a lot of problems, so I'm trying to move away from autocompleting names: I think there's still a lot of value in having wikidata-backed brand presets for users to choose from, and have the validator suggest these where it makes sense, but autocompleting names is causing more problem and surprising the users. |
If I have this correct, the NSI started with just names, and no brand usage?
pub.json seems to have a great deal of British Pub names currently in it, such as Cross Keys, Cricketers, Red Lion, Victoria, etc.
This isn't unexpected, as I'm sure the planet scan picked these up, but as they are just names, and not necessarily brands, what would be the best way to handle these?
Remove the "brand" tag from each and keep the name, or filter them all out? The reason I ask is because I see no reason why they shouldn't be suggested as a name if someone starts typing "The Red" and is suggested "The Red Lion", but would this work if no brand / operator data exists either?
The text was updated successfully, but these errors were encountered: