X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4da4cbfe27a576ae011430b2de205c74435e241b..2735ea768aa812998a9498cf411563f118bd6ad6:/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.