X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8c7140d92b7a679ae5ef5bb3655c69bd39b7dfeb..7f11de0db9ecbb2a8f7551815285d7553747a96e:/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