]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/api/search/db_search_fields.py
Merge pull request #3342 from mtmail/tyops
[nominatim.git] / nominatim / api / search / db_search_fields.py
index 846e1ce28dc4589969d0c25942fbb025741daa73..cd5717753ba722616084dc06bbfb76dda901c0fb 100644 (file)
@@ -94,7 +94,7 @@ class RankedTokens:
 
     def with_token(self, t: Token, transition_penalty: float) -> 'RankedTokens':
         """ Create a new RankedTokens list with the given token appended.
-            The tokens penalty as well as the given transision penalty
+            The tokens penalty as well as the given transition penalty
             are added to the overall penalty.
         """
         return RankedTokens(self.penalty + t.penalty + transition_penalty,