X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e92e03e2e6b892e6dc7a931fe0e70de9315bd302..9f417d5f64aecf72d4a3bd22d6e9d6c8fac76a51:/src/nominatim_db/tokenizer/factory.py diff --git a/src/nominatim_db/tokenizer/factory.py b/src/nominatim_db/tokenizer/factory.py index 5003c322..70b2b0be 100644 --- a/src/nominatim_db/tokenizer/factory.py +++ b/src/nominatim_db/tokenizer/factory.py @@ -29,6 +29,7 @@ from ..tokenizer.base import AbstractTokenizer, TokenizerModule LOG = logging.getLogger() + def _import_tokenizer(name: str) -> TokenizerModule: """ Load the tokenizer.py module from project directory. """