mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-06 18:14:16 +00:00
fix typos in tokenizer docs
This commit is contained in:
@@ -171,7 +171,7 @@ It is also possible to restrict replacements to the beginning and end of a
|
|||||||
name:
|
name:
|
||||||
|
|
||||||
``` yaml
|
``` 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
|
- 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
|
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
|
decomposition has an effect here on the source as well. So a rule
|
||||||
|
|
||||||
```yaml
|
``` yaml
|
||||||
- ~strasse => str
|
- "~strasse -> str"
|
||||||
```
|
```
|
||||||
|
|
||||||
means that for a word like `hauptstrasse` four variants are created:
|
means that for a word like `hauptstrasse` four variants are created:
|
||||||
|
|||||||
Reference in New Issue
Block a user