]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_api/search/db_search_builder.py
add SOFT_PHRASE break and enable parsing
[nominatim.git] / src / nominatim_api / search / db_search_builder.py
index 632270ef04176f394a10e29d9397141bdeb5a457..a6335c1377c0eada94fb0a3554d31aa48d2e1742 100644 (file)
@@ -433,6 +433,7 @@ PENALTY_WORDCHANGE = {
     BreakType.START: 0.0,
     BreakType.END: 0.0,
     BreakType.PHRASE: 0.0,
+    BreakType.SOFT_PHRASE: 0.0,
     BreakType.WORD: 0.1,
     BreakType.PART: 0.2,
     BreakType.TOKEN: 0.4