1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00
This commit is contained in:
Reinhard Pointner 2019-02-02 22:25:11 +07:00
parent 50a5d9779f
commit 9fda2cff15

View File

@ -24,8 +24,8 @@ public class NameSimilarityMetric implements SimilarityMetric {
protected String normalize(Object object) {
// 1. use string representation
// 2. apply transliterator
// 3. normalize separators
// 4. normalize case and trim
// 3. normalize separators and trim
// 4. normalize case
return normalizePunctuation(transliterator.transform(object.toString())).toLowerCase();
}