Package no.priv.garshol.duke.comparators.WeightedLevenshtein

Examples of no.priv.garshol.duke.comparators.WeightedLevenshtein.DefaultWeightEstimator


    List<Comparator> comparators = config.getCustomComparators();
    assertEquals(1, comparators.size());

    WeightedLevenshtein wl = (WeightedLevenshtein) comparators.get(0);
    DefaultWeightEstimator est = (DefaultWeightEstimator) wl.getEstimator();
    assertEquals(3.8, est.getDigitWeight());
  }
View Full Code Here

TOP

Related Classes of no.priv.garshol.duke.comparators.WeightedLevenshtein.DefaultWeightEstimator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.