@Test public void test2(){ String str1 = "Test Array"; String str2 = "Test String"; double res = JaroWinkler.distance(str1,str2); Asserts.assertEquals(res, 0.85757575757576); }
public static double distance(int[] str1, int[] str2){ return jaroWinkler.getSimilarity(Transformations.convertIntArrayToString(str1), Transformations.convertIntArrayToString(str2)); }
JaroWinkler { public static double distance(int[] str1, int[] str2){ return jaroWinkler.getSimilarity(Transformations.convertIntArrayToString(str1), Transformations.convertIntArrayToString(str2)); } }
JaroWinkler { public static double distance(int[] str1, int[] str2){ return jaroWinkler.getSimilarity(Transformations.convertIntArrayToString(str1), Transformations.convertIntArrayToString(str2)); }  }
JaroWinkler { public static double distance(int[] str1, int[] str2){ return jaroWinkler.getSimilarity(Transformations.convertIntArrayToString(str1), Transformations.convertIntArrayToString(str2)); }  static double distance(int[] str1, int[] str2); static double distance(String str1, String str2); }
JaroWinkler { public static double distance(int[] str1, int[] str2){ return jaroWinkler.getSimilarity(Transformations.convertIntArrayToString(str1), Transformations.convertIntArrayToString(str2)); }  static double distance(int[] str1, int[] str2); static double distance(String str1, String str2); static uk.ac.shef.wit.simmetrics.similaritymetrics.JaroWinkler jaroWinkler; }