X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e89310a9285f1ad15d8002bf68f578eada367a0..e1dc4379e0cd100200ac53752442143ca4846fc5:/src/nominatim_db/tokenizer/token_analysis/base.py diff --git a/src/nominatim_db/tokenizer/token_analysis/base.py b/src/nominatim_db/tokenizer/token_analysis/base.py index fc673491..52ee8013 100644 --- a/src/nominatim_db/tokenizer/token_analysis/base.py +++ b/src/nominatim_db/tokenizer/token_analysis/base.py @@ -9,9 +9,10 @@ Common data types and protocols for analysers. """ from typing import Mapping, List, Any -from nominatim_core.typing import Protocol +from ...typing import Protocol from ...data.place_name import PlaceName + class Analyzer(Protocol): """ The `create()` function of an analysis module needs to return an object that implements the following functions.