Uses of Interface
org.apache.commons.text.similarity.EditDistance
| Package | Description |
|---|---|
| org.apache.commons.text.similarity |
Provides algorithms for string similarity.
|
-
Uses of EditDistance in org.apache.commons.text.similarity
Classes in org.apache.commons.text.similarity that implement EditDistance Modifier and Type Class Description classCosineDistanceMeasures the cosine distance between two character sequences.classHammingDistanceThe hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different.classJaccardDistanceMeasures the Jaccard distance of two sets of character sequence.classJaroWinklerDistanceMeasures the Jaro-Winkler distance of two character sequences.classLevenshteinDetailedDistanceAn algorithm for measuring the difference between two character sequences.classLevenshteinDistanceAn algorithm for measuring the difference between two character sequences.classLongestCommonSubsequenceDistanceAn edit distance algorithm based on the length of the longest common subsequence between two strings.Methods in org.apache.commons.text.similarity that return EditDistance Modifier and Type Method Description EditDistance<R>EditDistanceFrom. getEditDistance()Gets the edit distance.Constructors in org.apache.commons.text.similarity with parameters of type EditDistance Constructor Description EditDistanceFrom(EditDistance<R> editDistance, CharSequence left)This accepts the edit distance implementation and the "left" string.