StringDistanceExample { public static float example03() { String str1 = "A quirky thing it is. This is a sentence."; String str2 = "This sentence is similar. A quirky thing it is."; StringDistance metric = with(new EuclideanDistance<String>()) .tokenize(Tokenizers.qGram(3)) .build(); return metric.distance(str1, str2); }  static float example01(); static float example02(); static float example03();  }
@Test public void example03(){ assertEquals(4.8989f, StringDistanceExample.example03(), DELTA); }