X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c314a3092c5b51c7782015f6fa9ac093b46fa174..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 9435edb3..52ee8013 100644 --- a/src/nominatim_db/tokenizer/token_analysis/base.py +++ b/src/nominatim_db/tokenizer/token_analysis/base.py @@ -12,6 +12,7 @@ from typing import Mapping, List, Any 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.