mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 05:14:07 +00:00
fix indent
This commit is contained in:
@@ -49,7 +49,7 @@ class LegacyICUTokenizer(AbstractTokenizer):
|
|||||||
sure the tokenizer remains stable even over updates.
|
sure the tokenizer remains stable even over updates.
|
||||||
"""
|
"""
|
||||||
loader = ICURuleLoader(config.load_sub_configuration('icu_tokenizer.yaml',
|
loader = ICURuleLoader(config.load_sub_configuration('icu_tokenizer.yaml',
|
||||||
config='TOKENIZER_CONFIG'))
|
config='TOKENIZER_CONFIG'))
|
||||||
self.naming_rules = ICUNameProcessorRules(loader=loader)
|
self.naming_rules = ICUNameProcessorRules(loader=loader)
|
||||||
self.term_normalization = config.TERM_NORMALIZATION
|
self.term_normalization = config.TERM_NORMALIZATION
|
||||||
self.max_word_frequency = config.MAX_WORD_FREQUENCY
|
self.max_word_frequency = config.MAX_WORD_FREQUENCY
|
||||||
|
|||||||
Reference in New Issue
Block a user