Class VicinoDistance

  • All Implemented Interfaces:

    public class VicinoDistance
    extends Object
    implements SimilarityDistance
    Wrapper to expose a similarity function from the Vicino library.
    Antonin Delpeuch
    • Constructor Detail

      • VicinoDistance

        public VicinoDistance​( d)
    • Method Detail

      • compute

        public double compute​(String a,
                              String b)
        Description copied from interface: SimilarityDistance
        Compute the distance between two strings. This should return 0 when the two arguments are equal, and rise as their differences increase.
        Specified by:
        compute in interface SimilarityDistance