X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/aff43fb1a3b193f853ddd74a490cdff529d0af67..9cf5970e22fdbb3ada2329b8b4a79cae018031fe:/docs/develop/ICU-Tokenizer-Modules.md diff --git a/docs/develop/ICU-Tokenizer-Modules.md b/docs/develop/ICU-Tokenizer-Modules.md index 63b1c3c1..d189422a 100644 --- a/docs/develop/ICU-Tokenizer-Modules.md +++ b/docs/develop/ICU-Tokenizer-Modules.md @@ -52,7 +52,7 @@ the function. ### Sanitizer configuration -::: nominatim.tokenizer.sanitizers.config.SanitizerConfig +::: nominatim_db.tokenizer.sanitizers.config.SanitizerConfig options: heading_level: 6 @@ -73,14 +73,14 @@ adding extra attributes) or completely replace the list with a different one. #### PlaceInfo - information about the place -::: nominatim.data.place_info.PlaceInfo +::: nominatim_db.data.place_info.PlaceInfo options: heading_level: 6 #### PlaceName - extended naming information -::: nominatim.data.place_name.PlaceName +::: nominatim_db.data.place_name.PlaceName options: heading_level: 6 @@ -129,7 +129,7 @@ sanitizers: !!! 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. @@ -139,12 +139,12 @@ They can be found in the directory ## Custom token analysis module -::: nominatim.tokenizer.token_analysis.base.AnalysisModule +::: nominatim_db.tokenizer.token_analysis.base.AnalysisModule options: heading_level: 6 -::: nominatim.tokenizer.token_analysis.base.Analyzer +::: nominatim_db.tokenizer.token_analysis.base.Analyzer options: heading_level: 6