]> git.openstreetmap.org Git - nominatim.git/commitdiff
Merge pull request #2571 from lonvia/ukrainian-apostrophe
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 11 Jan 2022 08:41:07 +0000 (09:41 +0100)
committerGitHub <noreply@github.com>
Tue, 11 Jan 2022 08:41:07 +0000 (09:41 +0100)
Consider "modifier letter apostrophe" to be punctuation

settings/icu_tokenizer.yaml

index e5cbeb6f54ffcef3c3c0340e078c76f6084123e0..a3c62e67b8d2a500baee37223f56b151bce14324 100644 (file)
@@ -7,7 +7,7 @@ normalization:
     - "'nº' > 'no'"
     - "ª > a"
     - "º > o"
-    - "[[:Punctuation:][:Symbol:]]  > ' '"
+    - "[[:Punctuation:][:Symbol:]\u02bc]  > ' '"
     - "ß > 'ss'" # German szet is unimbigiously equal to double ss
     - "[^[:Letter:] [:Number:] [:Space:]] >"
     - "[:Lm:] >"