Hunk-wise Levenshtein: tweak constants
This commit is contained in:
parent
d71c1190d4
commit
fb246d39ec
1 changed files with 1 additions and 1 deletions
|
@ -230,4 +230,4 @@ class HunkLevenshtein(Levenshtein):
|
|||
|
||||
def subst_cost(self, subst_from, subst_to, pre_idx, post_idx):
|
||||
res = InlineLevenshtein(subst_from, subst_to).compute()
|
||||
return res["count"]
|
||||
return res["count"] * 1.5
|
||||
|
|
Loading…
Reference in a new issue