X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dc7c11a9d1320965505ba18725466b0e9a648fde..b2dc01ad81e4b91c53e73a695edc5731a52b5aaa:/src/nominatim_db/tokenizer/factory.py?ds=inline diff --git a/src/nominatim_db/tokenizer/factory.py b/src/nominatim_db/tokenizer/factory.py index 1193f499..5003c322 100644 --- a/src/nominatim_db/tokenizer/factory.py +++ b/src/nominatim_db/tokenizer/factory.py @@ -15,19 +15,16 @@ be used consistently when querying and updating the database. This module provides the functions to create and configure a new tokenizer as well as instantiating the appropriate tokenizer for updating an existing database. - -A tokenizer usually also includes PHP code for querying. The appropriate PHP -normalizer module is installed, when the tokenizer is created. """ from typing import Optional import logging import importlib from pathlib import Path -from nominatim_core.errors import UsageError -from nominatim_core.db import properties -from nominatim_core.db.connection import connect -from nominatim_core.config import Configuration +from ..errors import UsageError +from ..db import properties +from ..db.connection import connect +from ..config import Configuration from ..tokenizer.base import AbstractTokenizer, TokenizerModule LOG = logging.getLogger()