* fine-tune fuzzy matching
This commit is contained in:
parent
703e7024c2
commit
e1f76a671b
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue