]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/base.py
add address counts to tokens
[nominatim.git] / nominatim / tokenizer / base.py
index 29bcc8e196cf29cf4ef110252fbad0a5f26da2b7..12c826eb21b19da1b1ad989d4cc5ede9f0c699cf 100644 (file)
@@ -201,7 +201,7 @@ class AbstractTokenizer(ABC):
 
 
     @abstractmethod
-    def update_statistics(self, config: Configuration) -> None:
+    def update_statistics(self, config: Configuration, threads: int = 1) -> None:
         """ Recompute any tokenizer statistics necessary for efficient lookup.
             This function is meant to be called from time to time by the user
             to improve performance. However, the tokenizer must not depend on