[search] Follow-up fix for synonyms

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-08-14 08:56:23 +00:00
committed by Konstantin Pastbin
parent c4722f7025
commit c9cbb64f12

View File

@@ -48,7 +48,6 @@ map<string, vector<string>> const kSynonyms = {
{"alam", {"alameda"}},
{"alea", {"aleea"}},
{"ale", {"aleea"}},
{"aleea", {"aleea"}},
{"alf", {"alferes"}},
{"all", {"alley", "allées", "allée"}},
{"ally", {"alley"}},
@@ -76,7 +75,6 @@ map<string, vector<string>> const kSynonyms = {
{"apts", {"apartments"}},
{"arb", {"arboleda"}},
{"arc", {"arcade", "arcades"}},
{"arm. gen", {"armádneho generála"}},
{"arq", {"arquiteto", "arquitecto"}},
{"arqº", {"arquiteto", "arquitecto"}},
{"arral", {"arrabal"}},
@@ -90,7 +88,7 @@ map<string, vector<string>> const kSynonyms = {
{"asz", {"altstoffsammelzentrum"}},
{"àt", {"àtic"}},
{"ato", {"ambato"}},
{"atr'", {"ambohitr'"}},
{"atr", {"ambohitr"}},
{"auk", {"aukio"}},
{"aut", {"autoroute"}},
{"auto", {"autopista"}},
@@ -163,7 +161,6 @@ map<string, vector<string>> const kSynonyms = {
{"bri", {"bridge"}},
{"brk", {"break", "brook"}},
{"bro", {"brother"}},
{"brow", {"brow"}},
{"brw", {"brow"}},
{"bsn", {"basin"}},
{"bstd", {"bastide"}},
@@ -191,7 +188,6 @@ map<string, vector<string>> const kSynonyms = {
{"cale", {"cale"}},
{"callej", {"callejón"}},
{"cam", {"caminho"}},
{"camp", {"camp"}},
{"campg", {"camping"}},
{"cant", {"cantón", "cantonada"}},
{"canti", {"cantina"}},
@@ -228,7 +224,6 @@ map<string, vector<string>> const kSynonyms = {
{"ch", {"church", "chaussee", "chemin", "chairman", "chase"}},
{"che", {"chemins", "chemin"}},
{"chem", {"cheminements", "cheminement"}},
{"chez", {"chez"}},
{"chi", {"charmille"}},
{"chl", {"chalet"}},
{"chor", {"chorążego", "chorąży"}},
@@ -283,9 +278,7 @@ map<string, vector<string>> const kSynonyms = {
{"cote", {"côteau", "côte"}},
{"cott", {"cottage", "cottages"}},
{"cotts", {"cottages"}},
{"cour", {"cour"}},
{"cov", {"cove"}},
{"cove", {"cove"}},
{"cowy", {"crossway"}},
{"cp", {"codi postal", "col·legi públic"}},
{"cpd", {"compound"}},
@@ -344,10 +337,8 @@ map<string, vector<string>> const kSynonyms = {
{"cyd", {"courtyard"}},
{"czada", {"calzada"}},
{"", {"dona"}},
{"dale", {"dale"}},
{"dars", {"darse"}},
{"dav", {"deutscher alpenverein"}},
{"d'", {"de"}},
{"d´", {"de"}},
{"d", {"dom", "dona"}},
{"đ", {"đường"}},
@@ -362,7 +353,6 @@ map<string, vector<string>> const kSynonyms = {
{"dhsa", {"dehesa"}},
{"diag", {"diagonal"}},
{"dig", {"digues", "digue"}},
{"dip", {"dip"}},
{"disem", {"diseminado"}},
{"distr", {"districte"}},
{"divers", {"diversion"}},
@@ -400,7 +390,6 @@ map<string, vector<string>> const kSynonyms = {
{"ed", {"edifício"}},
{"edf", {"edifício"}},
{"edg", {"edge"}},
{"edge", {"edge"}},
{"edif", {"edificio"}},
{"e", {"east"}},
{"egl", {"église"}},
@@ -411,7 +400,6 @@ map<string, vector<string>> const kSynonyms = {
{"em", {"estrada municipal"}},
{"empr", {"empresa"}},
{"enc", {"enclos"}},
{"end", {"end"}},
{"en", {"estrada nacional", "enceinte"}},
{"enf", {"enfermeiro"}},
{"enfo", {"enfermeiro"}},
@@ -474,7 +462,6 @@ map<string, vector<string>> const kSynonyms = {
{"folw", {"follow"}},
{"fon", {"fontaine"}},
{"form", {"forum", "formation"}},
{"fort", {"fort"}},
{"fos", {"fosses", "fosse"}},
{"foyr", {"foyer"}},
{"fr", {"father", "frontage", "frei"}},
@@ -492,8 +479,6 @@ map<string, vector<string>> const kSynonyms = {
{"ga", {"gates", "gate"}},
{"gale", {"galería"}},
{"gal", {"galerie", "general", "galeries"}},
{"gap", {"gap"}},
{"gare", {"gare"}},
{"garn", {"garenne"}},
{"gbd", {"grand boulevard"}},
{"gde", {"gemeinde"}},
@@ -547,8 +532,7 @@ map<string, vector<string>> const kSynonyms = {
{"hghlds", {"highlands"}},
{"hgts", {"heights"}},
{"h", {"höhle", "hohes", "hotel", "hohe", "hoher"}},
{"hill", {"hill"}},
{"hint", {"hinteres", "hinterer", "hinter…", "hintere"}},
{"hint", {"hinteres", "hinterer", "hinter", "hintere"}},
{"hip", {"hippodrome"}},
{"hipód", {"hipódromo"}},
{"hird", {"highroad"}},
@@ -578,7 +562,6 @@ map<string, vector<string>> const kSynonyms = {
{"iii", {"terza", "trzecie", "trzeci", "trzecia", "terzo"}},
{"ii", {"seconda", "drugi", "druga", "secondo", "segundo", "drugie"}},
{"ile", {"île"}},
{"île", {"île"}},
{"ima", {"irmã"}},
{"imª", {"irmã"}},
{"im", {"irmã", "irmão"}},
@@ -588,7 +571,7 @@ map<string, vector<string>> const kSynonyms = {
{"imp", {"impasse", "impasses"}},
{"ind", {"industrial"}},
{"inf", {"infante"}},
{"ing", {"inžiniera/inžinierky", "ingenieur"}},
{"ing", {"inžiniera", "inžinierky", "ingenieur"}},
{"inst", {"instituto"}},
{"intg", {"interchange"}},
{"int", {"interior", "internationaler", "intrarea", "internationales", "internationale"}},
@@ -627,7 +610,6 @@ map<string, vector<string>> const kSynonyms = {
{"kdl", {"khu du lịch"}},
{"kec", {"kecamatan"}},
{"kel", {"kelurahan"}},
{"key", {"key"}},
{"kga", {"kleingartenanlage"}},
{"kgg", {"kagalang-galang"}},
{"kg", {"katastralgemeinde", "…kogel", "kampong", "kogel"}},
@@ -645,21 +627,17 @@ map<string, vector<string>> const kSynonyms = {
{"kpr", {"kaprala", "kapral"}},
{"kpt", {"kapitana", "kapitan", "kapitána"}},
{"kri", {"kaari"}},
{"k/s", {"khách sạn"}},
{"ks", {"księdza", "ksiądz", "księcia", "książe", "khách sạn"}},
{"kte", {"kort"}},
{"kz", {"kreuz", "konzentrationslager"}},
{"la", {"lane"}},
{"landng", {"landing"}},
{"lane", {"lane"}},
{"lda", {"limitada"}},
{"ldg", {"landing", "lodge"}},
{"ld", {"lieu-dit"}},
{"leve", {"levée"}},
{"lg", {"largo", "lugar"}},
{"lgn", {"lagoon"}},
{"line", {"line"}},
{"link", {"link"}},
{"lit", {"little"}},
{"lj", {"loja"}},
{"lkh", {"landeskrankenhaus"}},
@@ -669,13 +647,10 @@ map<string, vector<string>> const kSynonyms = {
{"l", {"lange", "lakes", "lilla"}},
{"ll", {"lille"}},
{"llnra", {"llanura"}},
{"l.mare", {"lungomare"}},
{"lmts", {"limits"}},
{"ln", {"laan"}},
{"ln", {"line", "laan", "lane"}},
{"lnwy", {"laneway"}},
{"loc", {"località"}},
{"loop", {"loop"}},
{"lor", {"lorong"}},
{"loteam", {"loteamento"}},
{"lot", {"lotissement", "lotissements"}},
@@ -691,14 +666,12 @@ map<string, vector<string>> const kSynonyms = {
{"mah", {"mahalle"}},
{"maj", {"major"}},
{"malec", {"malecón"}},
{"mall", {"mall"}},
{"mal", {"marechal", "maréchal"}},
{"ma", {"maria", "magistratsabteilung"}},
{"man", {"manoir"}},
{"mans", {"mansions"}},
{"mar", {"marche", "marches"}},
{"marsz", {"marszałka (marszałek)"}},
{"mas", {"mas"}},
{"maz", {"mazowiecka", "mazowiecki", "mazowieckie"}},
{"md", {"mead"}},
{"mdr", {"meander"}},
@@ -712,7 +685,6 @@ map<string, vector<string>> const kSynonyms = {
{"met", {"métro"}},
{"mét", {"métro"}},
{"mevr", {"mevrouw"}},
{"mews", {"mews"}},
{"mf", {"maison forestière"}},
{"mgr", {"monseigneur"}},
{"mgr", {"monseigneur"}},
@@ -740,7 +712,6 @@ map<string, vector<string>> const kSynonyms = {
{"mr", {"meester"}},
{"mr", {"meester", "meander"}},
{"ms", {"middle school"}},
{"m-tele", {"muntele"}},
{"mte", {"montée", "montées"}},
{"mtir", {"monestir"}},
{"mt", {"mount", "mont", "muntele"}},
@@ -759,7 +730,6 @@ map<string, vector<string>> const kSynonyms = {
{"nám", {"námestie", "náměstí"}},
{"n:a", {"norra"}},
{"", {"nossa"}},
{"nat'l", {"national"}},
{"nd", {"niedere", "niederes", "niederer"}},
{"ndr", {"nordre"}},
{"ne", {"northeast"}},
@@ -783,8 +753,6 @@ map<string, vector<string>> const kSynonyms = {
{"nte", {"nouvelle route"}},
{"nt", {"nhà thờ"}},
{"ntra", {"nuestra"}},
{"ntra. sra", {"nuestra señora"}},
{"ntr.ª sr.ª", {"nuestra señora"}},
{"núm", {"número"}},
{"nw", {"nowy", "nowa", "nowe", "northwest"}},
{"nwra", {"national wildlife refuge area"}},
@@ -841,7 +809,6 @@ map<string, vector<string>> const kSynonyms = {
{"pe", {"padre"}},
{"peri", {"périphérique"}},
{"pgd", {"prostovoljno gasilsko društvo"}},
{"pg. ind", {"polígono industrial"}},
{"pg", {"pengiran", "passeig"}},
{"pgr", {"penger"}},
{"phil", {"philippines"}},
@@ -851,7 +818,6 @@ map<string, vector<string>> const kSynonyms = {
{"piată", {"piața"}},
{"piaţa", {"piața"}},
{"piaţă", {"piața"}},
{"piața", {"piața"}},
{"piață", {"piața"}},
{"piaz", {"piazza"}},
{"pim", {"petite impasse"}},
@@ -901,7 +867,6 @@ map<string, vector<string>> const kSynonyms = {
{"pque", {"parque"}},
{"pral", {"principal"}},
{"pre", {"pré"}},
{"pré", {"pré"}},
{"presid", {"presidente"}},
{"pres", {"president"}},
{"prk", {"purok"}},
@@ -1024,8 +989,6 @@ map<string, vector<string>> const kSynonyms = {
{"rt", {"ranta", "retreat", "route"}},
{"rtt", {"retreat"}},
{"rty", {"rotary"}},
{"rue", {"rue"}},
{"run", {"run"}},
{"rvra", {"riviera"}},
{"rvr", {"river"}},
{"rvwy", {"riverway"}},
@@ -1089,7 +1052,6 @@ map<string, vector<string>> const kSynonyms = {
{"splaiul", {"splaiul"}},
{"spl", {"splaiul"}},
{"sp", {"strada provinciale", "szkoła podstawowa", "splaiul", "spodnja", "spodnji", "spitze", "spodnje"}},
{"spur", {"spur"}},
{"sq", {"square", "superquadra"}},
{"srª", {"senhora"}},
{"sra", {"senhora", "senora", "señora"}},
@@ -1113,7 +1075,6 @@ map<string, vector<string>> const kSynonyms = {
{"stos", {"santos"}},
{"strada", {"strada"}},
{"stra", {"strand", "strada"}},
{"str-la", {"stradela"}},
{"strp", {"strip"}},
{"str", {"strasse", "stary", "stara", "strada", "straat", "stare", "straße"}},
{"strwy", {"stairway"}},
@@ -1221,7 +1182,7 @@ map<string, vector<string>> const kSynonyms = {
{"vf", {"vârful"}},
{"vge", {"village", "villages"}},
{"viad", {"viaduct"}},
{"via", {"via", "viaduct"}},
{"via", {"viaduct"}},
{"view", {"view"}},
{"viii", {"ottavo", "ottava"}},
{"vii", {"settima", "settimo"}},
@@ -1286,7 +1247,6 @@ map<string, vector<string>> const kSynonyms = {
{"xx", {"venti"}},
{"xxv", {"venticinque"}},
{"xxx", {"trenta"}},
{"yard", {"yard"}},
{"yd", {"yard"}},
{"zac", {"zone d'aménagement concerté"}},
{"zad", {"zone d'aménagement différé"}},
@@ -1295,7 +1255,6 @@ map<string, vector<string>> const kSynonyms = {
{"zg", {"zgornja", "zgornji", "zgornje"}},
{"zi", {"zone industrielle"}},
{"zn", {"zona"}},
{"zone", {"zone"}},
{"zr", {"zuster"}},
{"zup", {"zone à urbaniser en priorité"}},
{"z", {"zum"}},
@@ -1315,11 +1274,7 @@ map<string, vector<string>> const kSynonyms = {
{"εθν", {"εθνάρχου", "εθνική", "εθνικής"}},
{"ελ", {"ελευθέριος", "ελευθερίου"}},
{"ελτα", {"ταχυδρομείο", "ελληνικά ταχυδρομεία"}},
{"θεσ/νίκης", {"θεσσαλονίκης"}},
{"ι", {"ιερά μονή"}},
{"ι.ν", {"ιερός ναός"}},
{"κτ", {"κτίριο"}},
{"κων/νου", {"κωνσταντίνου"}},
{"λεωφ", {"λεωφόρος"}},
{"λ", {"λίμνη", "λεωφόρος"}},
{"ν", {"νέο", "νέος", "νέα", "νέες", "νησί", "νέοι", "νομός"}},
@@ -1399,7 +1354,9 @@ map<string, vector<string>> const kSynonyms = {
{"ط", {"طريق"}},
{"م", {"ميدان"}}
/*
These synonyms are currently not working per https://codeberg.org/comaps/comaps/issues/1242
These synonyms are currently unreachable per https://codeberg.org/comaps/comaps/issues/1242
{"arm. gen", {"armádneho generála"}},
{"atr'", {"ambohitr'"}},
{"a. v", {"asociación vecinal", "asociación veciñal"}},
{"a. vv", {"asociación de vecinos", "asociación de veciños"}},
{"b-dul", {"bulevardul"}},
@@ -1420,6 +1377,7 @@ map<string, vector<string>> const kSynonyms = {
{"c.so", {"corso"}},
{"c.te", {"corte"}},
{"c. v", {"camino viejo"}},
{"d'", {"de"}},
{"e. b", {"escola básica"}},
{"e.b", {"escola básica"}},
{"e.p", {"empresa pública"}},
@@ -1431,8 +1389,10 @@ map<string, vector<string>> const kSynonyms = {
{"g.n.r", {"guarda nacional republicana"}},
{"g. v", {"gran vía"}},
{"i.d", {"in der"}},
{"k/s", {"khách sạn"}},
{"l.go", {"largo"}},
{"m-te", {"muntele"}},
{"nat'l", {"national"}},
{"n.ª s.ª", {"nuestra señora"}},
{"n z", {"noordzijde"}},
{"n. z", {"noordzijde"}},
@@ -1440,6 +1400,7 @@ map<string, vector<string>> const kSynonyms = {
{"o.l.v", {"onze-lieve-vrouw"}},
{"o z", {"oostzijde"}},
{"o. z", {"oostzijde"}},
{"pg. ind", {"polígono industrial"}},
{"p.j", {"polícia judiciária"}},
{"p.le", {"piazzale"}},
{"p. k", {"punto kilométrico"}},
@@ -1466,6 +1427,7 @@ map<string, vector<string>> const kSynonyms = {
{"ss.me", {"santissime"}},
{"ss.mi", {"santissimi"}},
{"ss.mo", {"santissimo"}},
{"str-la", {"stradela"}},
{"v.co", {"vico"}},
{"v. d.", {"van de", "van den", "van der"}},
{"v.d", {"von der", "vor der"}},
@@ -1474,6 +1436,10 @@ map<string, vector<string>> const kSynonyms = {
{"w. z", {"westzijde"}},
{"z z", {"zuidzijde"}},
{"z. z", {"zuidzijde"}},
{"ι.μ", {"ιερά μονή"}},
{"ι.ν", {"ιερός ναός"}},
{"θεσ/νίκης", {"θεσσαλονίκης"}},
{"κων/νου", {"κωνσταντίνου"}},
{"δημ. σχ", {"δημοτικό σχολείο"}},
{"д-р", {"доктор"}},
{"ж.к", {"жилищен комплекс"}},