StringMetricBuilderExample { public static float example02() { String a = "Chilpéric II son of Childeric II"; String b = "chilperic ii son of childeric ii"; StringMetric metric = with(new Levenshtein()) .simplify(Simplifiers.removeDiacritics()) .simplify(Simplifiers.toLowerCase()) .build(); return metric.compare(a, b); }  static float example00(); static float example01(); static float example02(); static float example03(); static float example04(); static float example05(); static float example06(); static float example07();  }
@Test public void example02(){ assertEquals(1.0000f, StringMetricBuilderExample.example02(), DELTA); }