| Package | Description |
|---|---|
| me.xdrop.fuzzywuzzy | |
| me.xdrop.fuzzywuzzy.algorithms | |
| me.xdrop.fuzzywuzzy.ratios |
| Modifier and Type | Method and Description |
|---|---|
int |
Ratio.apply(String s1,
String s2,
StringProcessor sp)
Applies the ratio between the two strings
|
static int |
FuzzySearch.partialRatio(String s1,
String s2,
StringProcessor stringProcessor)
Inconsistent substrings lead to problems in matching.
|
static int |
FuzzySearch.ratio(String s1,
String s2,
StringProcessor stringProcessor)
Calculates a Levenshtein simple ratio between the strings.
|
static int |
FuzzySearch.tokenSetPartialRatio(String s1,
String s2,
StringProcessor stringProcessor)
Splits the strings into tokens and computes intersections and remainders
between the tokens of the two strings.
|
static int |
FuzzySearch.tokenSetRatio(String s1,
String s2,
StringProcessor stringProcessor)
Splits the strings into tokens and computes intersections and remainders
between the tokens of the two strings.
|
static int |
FuzzySearch.tokenSortPartialRatio(String s1,
String s2,
StringProcessor stringProcessor)
Find all alphanumeric tokens in the string and sort
those tokens and then take ratio of resulting
joined strings.
|
static int |
FuzzySearch.tokenSortRatio(String s1,
String s2,
StringProcessor stringProcessor)
Find all alphanumeric tokens in the string and sort
those tokens and then take ratio of resulting
joined strings.
|
static int |
FuzzySearch.weightedRatio(String s1,
String s2,
StringProcessor stringProcessor)
Calculates a weighted ratio between the different algorithms for best results
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultStringProcessor |
class |
NoProcess |
| Modifier and Type | Method and Description |
|---|---|
StringProcessor |
BasicAlgorithm.getStringProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
TokenSort.apply(String s1,
String s2,
Ratio ratio,
StringProcessor stringProcessor) |
int |
TokenSet.apply(String s1,
String s2,
Ratio ratio,
StringProcessor stringProcessor) |
abstract int |
RatioAlgorithm.apply(String s1,
String s2,
Ratio ratio,
StringProcessor stringProcessor) |
int |
WeightedRatio.apply(String s1,
String s2,
StringProcessor stringProcessor) |
int |
RatioAlgorithm.apply(String s1,
String s2,
StringProcessor stringProcessor) |
abstract int |
BasicAlgorithm.apply(String s1,
String s2,
StringProcessor stringProcessor) |
BasicAlgorithm |
BasicAlgorithm.with(StringProcessor stringProcessor) |
| Constructor and Description |
|---|
BasicAlgorithm(StringProcessor stringProcessor) |
RatioAlgorithm(StringProcessor stringProcessor) |
RatioAlgorithm(StringProcessor stringProcessor,
Ratio ratio) |
| Modifier and Type | Method and Description |
|---|---|
int |
SimpleRatio.apply(String s1,
String s2,
StringProcessor sp) |
int |
PartialRatio.apply(String s1,
String s2,
StringProcessor sp) |
Copyright © 2018. All rights reserved.