Hunk-wise Levenshtein: tweak constants

This commit is contained in:
Théophile Bastian 2020-05-10 16:31:30 +02:00
parent d71c1190d4
commit fb246d39ec
1 changed files with 1 additions and 1 deletions

View File

@ -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