From: Sarah Hoffmann Date: Wed, 28 Jul 2021 09:28:49 +0000 (+0200) Subject: fix typos in tokenizer docs X-Git-Tag: v4.0.0~46 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/34dcf02deebe9d57a328389dd0b000defdcba697 fix typos in tokenizer docs --- diff --git a/docs/admin/Tokenizers.md b/docs/admin/Tokenizers.md index 782d50b8..f3454f67 100644 --- a/docs/admin/Tokenizers.md +++ b/docs/admin/Tokenizers.md @@ -171,7 +171,7 @@ It is also possible to restrict replacements to the beginning and end of a name: ``` yaml -- ^south => n # matches only at the beginning of the name +- ^south => s # matches only at the beginning of the name - road$ => rd # matches only at the end of the name ``` @@ -192,8 +192,8 @@ a shortcut notation for it: The simple arrow causes an additional variant to be added. Note that decomposition has an effect here on the source as well. So a rule -```yaml -- ~strasse => str +``` yaml +- "~strasse -> str" ``` means that for a word like `hauptstrasse` four variants are created: