Uses of Interface
org.apache.commons.text.similarity.SimilarityInput
Packages that use SimilarityInput
-
Uses of SimilarityInput in org.apache.commons.text.similarity
Classes in org.apache.commons.text.similarity that implement SimilarityInputModifier and TypeClassDescription(package private) final classScores the similarity between twoCharSequences.Methods in org.apache.commons.text.similarity that return SimilarityInputModifier and TypeMethodDescriptionstatic SimilarityInput<Character> SimilarityInput.input(CharSequence cs) Creates a new input for aCharSequence.static <T> SimilarityInput<T> Creates a new input for aCharSequenceorSimilarityInput.Methods in org.apache.commons.text.similarity with parameters of type SimilarityInputModifier and TypeMethodDescription<E> IntegerDamerauLevenshteinDistance.apply(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Damerau-Levenshtein distance between two inputs.<E> IntegerHammingDistance.apply(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Hamming Distance between two strings with the same length.<E> DoubleJaccardDistance.apply(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaccard distance of two set character sequence passed as input.<E> DoubleJaccardSimilarity.apply(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaccard Similarity of two character sequences passed as input.<E> DoubleJaroWinklerDistance.apply(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Jaro Winkler Distance between two character sequences.<E> DoubleJaroWinklerSimilarity.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> IntegerLevenshteinDistance.apply(SimilarityInput<E> left, SimilarityInput<E> right) Computes the Levenshtein distance between two inputs.private static <E> LevenshteinResultsLevenshteinDetailedDistance.findDetailedResults(SimilarityInput<E> left, SimilarityInput<E> right, int[][] matrix, boolean swapped) Finds count for each of the three [insert, delete, substitute] operations needed.private static <E> intDamerauLevenshteinDistance.limitedCompare(SimilarityInput<E> left, SimilarityInput<E> right, int threshold) Finds the Damerau-Levenshtein distance between two CharSequences if it's less than or equal to a given threshold.private static <E> LevenshteinResultsLevenshteinDetailedDistance.limitedCompare(SimilarityInput<E> left, SimilarityInput<E> right, int threshold) Finds the Levenshtein distance between two CharSequences if it's less than or equal to a given threshold.private static <E> intLevenshteinDistance.limitedCompare(SimilarityInput<E> left, SimilarityInput<E> right, int threshold) Finds the Levenshtein distance between two CharSequences if it's less than or equal to a given threshold.protected static <E> int[]JaroWinklerSimilarity.matches(SimilarityInput<E> first, SimilarityInput<E> second) Computes the Jaro-Winkler string matches, half transpositions, prefix array.private static <E> intDamerauLevenshteinDistance.unlimitedCompare(SimilarityInput<E> left, SimilarityInput<E> right) Finds the Damerau-Levenshtein distance between two inputs using optimal string alignment.private static <E> LevenshteinResultsLevenshteinDetailedDistance.unlimitedCompare(SimilarityInput<E> left, SimilarityInput<E> right) Finds the Levenshtein distance between two Strings.private static <E> intLevenshteinDistance.unlimitedCompare(SimilarityInput<E> left, SimilarityInput<E> right) Finds the Levenshtein distance between two Strings.