"""
from typing import Optional, List, Mapping, Sequence, Callable, Any, Tuple
-from nominatim_core.errors import UsageError
-from nominatim_core.config import Configuration
+from ..errors import UsageError
+from ..config import Configuration
from .sanitizers.config import SanitizerConfig
from .sanitizers.base import SanitizerHandler, ProcessInfo
from ..data.place_name import PlaceName
raise UsageError("'step' attribute must be a simple string.")
module: SanitizerHandler = \
- config.load_plugin_module(func['step'], 'nominatim.tokenizer.sanitizers')
+ config.load_plugin_module(func['step'], 'nominatim_db.tokenizer.sanitizers')
self.handlers.append(module.create(SanitizerConfig(func)))