Uses of Interface
org.apache.commons.text.similarity.SimilarityInput
-
Uses of SimilarityInput in org.apache.commons.text.similarity
Modifier and TypeMethodDescriptionstatic SimilarityInput<Character>
SimilarityInput.input
(CharSequence cs) Creates a new input for aCharSequence
.static <T> SimilarityInput<T>
Creates a new input for aCharSequence
orSimilarityInput
.Modifier and TypeMethodDescription<E> Integer
HammingDistance.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Hamming Distance between two strings with the same length.<E> Double
JaccardDistance.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaccard distance of two set character sequence passed as input.<E> Double
JaccardSimilarity.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaccard Similarity of two character sequences passed as input.<E> Double
JaroWinklerDistance.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaro Winkler Distance between two character sequences.<E> Double
JaroWinklerSimilarity.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaro Winkler Similarity between two character sequences.LevenshteinDetailedDistance.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Levenshtein distance between two Strings.<E> Integer
LevenshteinDistance.apply
(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Levenshtein distance between two inputs.protected static <E> int[]
JaroWinklerSimilarity.matches
(SimilarityInput<E> first, SimilarityInput<E> second) Computes the Jaro-Winkler string matches, half transpositions, prefix array.