Class LevenshteinScorer


  • public class LevenshteinScorer
    extends Scorer
    • Field Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getScore​(java.lang.String term1, java.lang.String term2)  
      int getScorerType()  
      java.lang.String info()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LevenshteinScorer

        public LevenshteinScorer()
    • Method Detail

      • getScore

        public double getScore​(java.lang.String term1,
                               java.lang.String term2)
                        throws java.lang.RuntimeException
        Specified by:
        getScore in class Scorer
        Throws:
        java.lang.RuntimeException
      • info

        public java.lang.String info()
        Specified by:
        info in class Scorer