::: nominatim.tokenizer.sanitizers.config.SanitizerConfig
options:
- heading_level: 3
+ heading_level: 6
### The main filter function of the sanitizer
::: nominatim.data.place_info.PlaceInfo
options:
- heading_level: 3
+ heading_level: 6
#### PlaceName - extended naming information
::: nominatim.data.place_name.PlaceName
options:
- heading_level: 3
+ heading_level: 6
### Example: Filter for US street prefixes
!!! warning
This example is just a simplified show case on how to create a sanitizer.
It is not really read for real-world use: while the sanitizer would
- correcly transform `West 5th Street` into `5th Street`. it would also
+ correctly transform `West 5th Street` into `5th Street`. it would also
shorten a simple `North Street` to `Street`.
For more sanitizer examples, have a look at the sanitizers provided by Nominatim.
::: nominatim.tokenizer.token_analysis.base.AnalysisModule
options:
- heading_level: 3
+ heading_level: 6
::: nominatim.tokenizer.token_analysis.base.Analyzer
options:
- heading_level: 3
+ heading_level: 6
### Example: Creating acronym variants for long names