Package org.openrefine.clustering.knn
Interface SimilarityDistance
-
- All Known Implementing Classes:
VicinoDistance
public interface SimilarityDistanceA function that computes a similarity distance between two strings. This is introduced to provide a clean interface for extensions, independent of the library currently used (Simile Vicino, unmaintained since 2010 as of December 2018).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublecompute(String a, String b)Compute the distance between two strings.
-