int |
Ratio.apply(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> sp) |
Applies the ratio between the two strings
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractAll(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction) |
Creates a list of ExtractedResult which contain all the choices with
their corresponding score where higher is more similar
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractAll(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
int cutoff) |
Creates a list of ExtractedResult which contain all the choices with
their corresponding score where higher is more similar
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractAll(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func) |
Creates a list of ExtractedResult which contain all the choices with
their corresponding score where higher is more similar
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractAll(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func,
int cutoff) |
Creates a list of ExtractedResult which contain all the choices with
their corresponding score where higher is more similar
|
<T> BoundExtractedResult<T> |
Extractor.extractOne(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func) |
Find the single best match above a score in a list of choices.
|
static <T> BoundExtractedResult<T> |
FuzzySearch.extractOne(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction) |
Find the single best match above a score in a list of choices.
|
static <T> BoundExtractedResult<T> |
FuzzySearch.extractOne(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func) |
Find the single best match above a score in a list of choices.
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractSorted(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction) |
Creates a sorted list of ExtractedResult which contain all the choices
with their corresponding score where higher is more similar
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractSorted(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
int cutoff) |
Creates a sorted list of ExtractedResult which contain all the choices
with their corresponding score where higher is more similar
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractSorted(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func) |
Creates a sorted list of ExtractedResult which contain all the choices
with their corresponding score where higher is more similar
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractSorted(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func,
int cutoff) |
Creates a sorted list of ExtractedResult which contain all the choices
with their corresponding score where higher is more similar
|
<T> java.util.List<BoundExtractedResult<T>> |
Extractor.extractTop(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func) |
Creates a sorted list of ExtractedResult which contain the
top @param limit most similar choices
|
<T> java.util.List<BoundExtractedResult<T>> |
Extractor.extractTop(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func,
int limit) |
Creates a sorted list of ExtractedResult which contain the
top @param limit most similar choices
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractTop(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
int limit) |
Creates a sorted list of ExtractedResult which contain the
top @param limit most similar choices
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractTop(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
int limit,
int cutoff) |
Creates a sorted list of ExtractedResult which contain the
top @param limit most similar choices
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractTop(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func,
int limit) |
Creates a sorted list of ExtractedResult which contain the
top @param limit most similar choices
|
static <T> java.util.List<BoundExtractedResult<T>> |
FuzzySearch.extractTop(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func,
int limit,
int cutoff) |
Creates a sorted list of ExtractedResult which contain the
top @param limit most similar choices
|
<T> java.util.List<BoundExtractedResult<T>> |
Extractor.extractWithoutOrder(java.lang.String query,
java.util.Collection<T> choices,
ToStringFunction<T> toStringFunction,
Applicable func) |
Returns the list of choices with their associated scores of similarity in a list
of ExtractedResult
|
static int |
FuzzySearch.partialRatio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Inconsistent substrings lead to problems in matching.
|
static int |
FuzzySearch.ratio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Calculates a Levenshtein simple ratio between the strings.
|
static int |
FuzzySearch.tokenSetPartialRatio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Splits the strings into tokens and computes intersections and remainders
between the tokens of the two strings.
|
static int |
FuzzySearch.tokenSetRatio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Splits the strings into tokens and computes intersections and remainders
between the tokens of the two strings.
|
static int |
FuzzySearch.tokenSortPartialRatio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Find all alphanumeric tokens in the string and sort
those tokens and then take ratio of resulting
joined strings.
|
static int |
FuzzySearch.tokenSortRatio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Find all alphanumeric tokens in the string and sort
those tokens and then take ratio of resulting
joined strings.
|
static int |
FuzzySearch.weightedRatio(java.lang.String s1,
java.lang.String s2,
ToStringFunction<java.lang.String> stringFunction) |
Calculates a weighted ratio between the different algorithms for best results
|