Uses of Interface
org.apache.commons.text.similarity.SimilarityScore
-
Packages that use SimilarityScore Package Description org.apache.commons.text.similarity Provides algorithms for string similarity. -
-
Uses of SimilarityScore in org.apache.commons.text.similarity
Subinterfaces of SimilarityScore in org.apache.commons.text.similarity Modifier and Type Interface Description interfaceEditDistance<R>Interface for Edit Distances.Classes in org.apache.commons.text.similarity that implement SimilarityScore 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.classJaccardSimilarityMeasures the Jaccard similarity (aka Jaccard index) of two sets of character sequence.classJaroWinklerDistanceA similarity algorithm indicating the percentage of matched characters between two character sequences.classLevenshteinDetailedDistanceAn algorithm for measuring the difference between two character sequences.classLevenshteinDistanceAn algorithm for measuring the difference between two character sequences.classLongestCommonSubsequenceA similarity algorithm indicating the length of the longest common subsequence between two strings.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 SimilarityScore Modifier and Type Method Description SimilarityScore<R>SimilarityScoreFrom. getSimilarityScore()Gets the edit distance.Constructors in org.apache.commons.text.similarity with parameters of type SimilarityScore Constructor Description SimilarityScoreFrom(SimilarityScore<R> similarityScore, CharSequence left)This accepts the similarity score implementation and the "left" string.
-