Differences From Artifact [85944d11a1]:
- File graphspell-js/str_transform.js — part of check-in [48d2a67a6a] at 2020-08-19 15:57:22 on branch trunk — [graphspell][js] remove importation dirt... (user: olr, size: 9769) [annotate] [blame] [check-ins using]
To Artifact [8eb8f4c63c]:
- File graphspell-js/str_transform.js — part of check-in [848d878b75] at 2020-09-11 07:00:30 on branch trunk — [graphspell] distance DamerauLevenshtein send a float instead of an integer (user: olr, size: 9757) [annotate] [blame] [check-ins using]
︙ | |||
140 141 142 143 144 145 146 | 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | - + | matrix[i-1][j-1] + nCost // Substitution ); if (i > 1 && j > 1 && s1[i] == s2[j-1] && s1[i-1] == s2[j]) { matrix[i][j] = Math.min(matrix[i][j], matrix[i-2][j-2] + nCost); // Transposition } } } |
︙ |