From: Sarah Hoffmann Date: Fri, 21 Mar 2025 20:22:38 +0000 (+0100) Subject: restrict some English variants to end of word X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/522bc942cff7df5ede5d79c3b3223235c6065f4b?hp=-c restrict some English variants to end of word --- 522bc942cff7df5ede5d79c3b3223235c6065f4b diff --git a/settings/icu-rules/variants-en.yaml b/settings/icu-rules/variants-en.yaml index 43e04e3e..54a7b475 100644 --- a/settings/icu-rules/variants-en.yaml +++ b/settings/icu-rules/variants-en.yaml @@ -34,7 +34,7 @@ - Brae -> Br - Branch -> Br - Break -> Brk - - Bridge -> Bdge,Br,Brdg,Brg,Bri + - Bridge$ -> Bdge,Br,Brdg,Brg,Bri - Broadway -> Bdwy,Bway,Bwy - Brook -> Brk - Brooks -> Brks @@ -83,9 +83,9 @@ - Courts -> Cts - Courtyard -> Cyd - Courtyard -> Ctyd - - Cove -> Ce,Cov,Cv + - Cove$ -> Ce,Cov,Cv - Coves -> Cvs - - Creek -> Ck,Cr,Crk + - Creek$ -> Ck,Cr,Crk - Crescent -> Cr - Crescent -> Cres - Crest -> Crst,Cst @@ -150,14 +150,14 @@ - Gate,Gates -> Ga,Gte - Gateway -> Gwy,Gtwy - George -> Geo - - Glade -> Gl,Gld,Glde + - Glade$ -> Gl,Gld,Glde - Glen -> Gln - Glens -> Glns - Grange -> Gra - Green -> Gn,Grn - Greens -> Grns - Ground -> Grnd - - Grove -> Gr,Gro,Grv + - Grove$ -> Gr,Gro,Grv - Groves -> Grvs - Grovet -> Gr - Gully -> Gly @@ -229,8 +229,7 @@ - Motorway -> Mtwy,Mwy - Mount -> Mt - Mountain -> Mtn - - Mountains -> Mtn - - Mountains -> Mtns + - Mountains$ -> Mtn,Mtns - Municipal -> Mun - Museum -> Mus - National Park -> NP @@ -295,7 +294,8 @@ - Ridgeway -> Rgwy - Right of Way -> Rowy - Rise -> Ri - - River -> R,Riv,Rvr + - ^River -> R,Riv,Rvr + - River$ -> R,Riv,Rvr - Riverway -> Rvwy - Riviera -> Rvra - Road -> Rd @@ -369,7 +369,7 @@ - Valley -> Vly - Valley -> Vy - Valleys -> Vlys - - Viaduct -> Vdct,Via,Viad + - Viaduct$ -> Vdct,Via,Viad - View -> Vw - Views -> Vws - Village -> Vill,Vlg