From 175e971064bc6f90ee1ce15536356091aec69176 Mon Sep 17 00:00:00 2001 From: x7z4w Date: Wed, 8 Oct 2025 21:03:03 +0200 Subject: [PATCH] [search] Add Lithuanian synonyms Signed-off-by: x7z4w --- libs/search/query_params.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libs/search/query_params.cpp b/libs/search/query_params.cpp index 764d72746..ddd3e89a7 100644 --- a/libs/search/query_params.cpp +++ b/libs/search/query_params.cpp @@ -50,7 +50,7 @@ unordered_map> const kSynonyms = { {"18th", {"eighteenth"}}, {"19th", {"nineteenth"}}, {"20th", {"twentieth"}}, - {"a", {"am", "auto-estrada"}}, + {"a", {"am", "auto-estrada", "aikštė"}}, {"abe", {"abbaye"}}, {"accs", {"access"}}, {"aceq", {"acequia"}}, @@ -521,7 +521,7 @@ unordered_map> const kSynonyms = { {"gebr", {"gebroeders"}}, {"gen", {"generaal", "generała", "generála", "general"}}, {"geo", {"george"}}, - {"g", {"gata", "gasse", "großes", "großer", "gatan", "große", "gaten", "gate"}}, + {"g", {"gata", "gasse", "großes", "großer", "gatan", "große", "gaten", "gate", "gatvė"}}, {"gg", {"gang"}}, {"ghf", {"gasthof"}}, {"gh", {"gasthaus"}}, @@ -918,7 +918,7 @@ unordered_map> const kSynonyms = { {"provl", {"provincial"}}, {"prov", {"province"}}, {"p+r", {"parking relais", "parc relais"}}, - {"pr", {"praça", "prinses", "prins"}}, + {"pr", {"praça", "prinses", "prins", "prospektas"}}, {"prq", {"presqu’île"}}, {"prtco", {"pórtico"}}, {"prt", {"petite route"}}, @@ -1072,6 +1072,7 @@ unordered_map> const kSynonyms = { {"sixth", {"6th"}}, {"sixteenth", {"16th"}}, {"sk", {"sokak", "sokağı"}}, + {"skv", {"skveras"}}, {"slj", {"sobre-loja"}}, {"slov", {"slovenskih"}}, {"slpe", {"slope"}}, @@ -1126,7 +1127,7 @@ unordered_map> const kSynonyms = { /// Remove "street" and "avenue" here, but should update GetNameScore. {"st", {"santo", "sant", "sint", "saint", "stara", "street", "stary", "stora", "sankt", "store", "stare", "stig", - "stigen", "sancta"}}, + "stigen", "sancta", "stotelė"}}, {"št", {"šent"}}, {"stwg", {"steenweg"}}, {"subdiv", {"subdivision"}},