* fine-tune fuzzy matching

This commit is contained in:
Reinhard Pointner 2011-12-07 05:43:56 +00:00
parent 703e7024c2
commit e1f76a671b
1 changed files with 13 additions and 13 deletions

View File

@ -178,9 +178,9 @@ public enum EpisodeMetrics implements SimilarityMetric {
@Override
public float getSimilarity(Object o1, Object o2) {
// normalize absolute similarity to similarity rank (4 ranks in total),
// normalize absolute similarity to similarity rank (6 ranks in total),
// so we are less likely to fall for false positives in this pass, and move on to the next one
return (float) (floor(super.getSimilarity(o1, o2) * 4) / 4);
return (float) (floor(super.getSimilarity(o1, o2) * 6) / 6);
}