]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tokenizer/base.py
recreate word table when refreshing counts
[nominatim.git] / nominatim / tokenizer / base.py
index 061cff36b99f22273e55e350d410d4291c425b91..29bcc8e196cf29cf4ef110252fbad0a5f26da2b7 100644 (file)
@@ -201,7 +201,7 @@ class AbstractTokenizer(ABC):
 
 
     @abstractmethod
-    def update_statistics(self) -> None:
+    def update_statistics(self, config: Configuration) -> 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