We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 499bd3a commit c3a3c2eCopy full SHA for c3a3c2e
1 file changed
fuzzymatcher/utils.py
@@ -49,7 +49,7 @@ def is_mispelling(token_left, token_right):
49
sm = SequenceMatcher(None, "hi", "hit")
50
this_ratio = sm.ratio(token_left, token_right)
51
52
- if this_ratio >= 0.9:
+ if this_ratio >= 90:
53
return True
54
55
return False
0 commit comments