]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/dummy_tokenizer.py
Added --no-replace command for special phrases importation and added corresponding...
[nominatim.git] / test / python / dummy_tokenizer.py
index 6352a644c9988d52ea187634c10519642caa7cc6..2e61a24524c992e8cc41161fe7fffc5d6e11d6a4 100644 (file)
@@ -54,7 +54,7 @@ class DummyNameAnalyzer:
     def add_postcodes_from_db(self):
         pass
 
     def add_postcodes_from_db(self):
         pass
 
-    def update_special_phrases(self, phrases):
+    def update_special_phrases(self, phrases, should_replace):
         self.analyser_cache['special_phrases'] = phrases
 
     def add_country_names(self, code, names):
         self.analyser_cache['special_phrases'] = phrases
 
     def add_country_names(self, code, names):