Revamp config, Gofmt project, and clean up unneeded code

This commit is contained in:
2021-01-03 19:41:26 -08:00
parent a7428315e3
commit 93c80f01b8
20 changed files with 316 additions and 237 deletions

View File

@@ -41,7 +41,6 @@ func Jaro(a, b string) float64 {
return ((matches / la) + (matches / lb) + (matches-transposes)/matches) / 3.0
}
func JaroWinkler(a, b string, boostThreshold float64, prefixSize int) float64 {
j := Jaro(a, b)
@@ -59,4 +58,4 @@ func JaroWinkler(a, b string, boostThreshold float64, prefixSize int) float64 {
}
return j + 0.1*prefixMatch*(1.0-j)
}
}