| Package | Description | 
|---|---|
| org.apache.commons.text.similarity | Provides algorithms for string similarity. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | EditDistance<R>Interface for Edit Distances. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CosineDistanceMeasures the cosine distance between two character sequences. | 
| class  | HammingDistanceThe hamming distance between two strings of equal length is the number of
 positions at which the corresponding symbols are different. | 
| class  | JaccardDistanceMeasures the Jaccard distance of two sets of character sequence. | 
| class  | JaccardSimilarityMeasures the Jaccard similarity (aka Jaccard index) of two sets of character
 sequence. | 
| class  | JaroWinklerDistanceA similarity algorithm indicating the percentage of matched characters between two character sequences. | 
| class  | LevenshteinDetailedDistanceAn algorithm for measuring the difference between two character sequences. | 
| class  | LevenshteinDistanceAn algorithm for measuring the difference between two character sequences. | 
| class  | LongestCommonSubsequenceA similarity algorithm indicating the length of the longest common subsequence between two strings. | 
| class  | LongestCommonSubsequenceDistanceAn edit distance algorithm based on the length of the longest common subsequence between two strings. | 
| Modifier and Type | Method and Description | 
|---|---|
| SimilarityScore<R> | SimilarityScoreFrom. getSimilarityScore()Gets the edit distance. | 
| Constructor and Description | 
|---|
| SimilarityScoreFrom(SimilarityScore<R> similarityScore,
                   CharSequence left)This accepts the similarity score implementation and the "left" string. | 
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.