Improved anime search

This commit is contained in:
2019-08-27 16:04:09 +09:00
parent f25501ca7d
commit 49f67d3a49
3 changed files with 7 additions and 2 deletions

View File

@ -49,7 +49,7 @@ func AdvancedStringSimilarity(a string, b string) float64 {
s += 0.6
if strings.HasPrefix(b, a) {
s += 5.0
s += 0.4
}
}