public class JaccardIndexComparator extends java.lang.Object implements StringComparator
Constructor and Description |
---|
JaccardIndexComparator() |
Modifier and Type | Method and Description |
---|---|
double |
compare(java.lang.String s1,
java.lang.String s2) |
boolean |
isTokenized() |
void |
setComparator(StringComparator comp) |
public void setComparator(StringComparator comp)
public boolean isTokenized()
isTokenized
in interface StringComparator
public double compare(java.lang.String s1, java.lang.String s2)
compare
in interface StringComparator