Public methods
Method new()
Usage
FuzzMatcher$new(decoding = NULL)
Arguments
decoding
either NULL or a character string. If not NULL then the decoding parameter takes one of the standard python encodings (such as 'utf-8'). See the details and references link for more information.
Method Partial_token_set_ratio()
Usage
FuzzMatcher$Partial_token_set_ratio(
string1 = NULL,
string2 = NULL,
force_ascii = TRUE,
full_process = TRUE
)
Arguments
string1
a character string.
string2
a character string.
force_ascii
allow only ASCII characters (force convert to ascii)
full_process
either TRUE or FALSE. If TRUE then it process the string by : 1. removing all but letters and numbers, 2. trim whitespace, 3. force to lower case
Method Partial_token_sort_ratio()
Usage
FuzzMatcher$Partial_token_sort_ratio(
string1 = NULL,
string2 = NULL,
force_ascii = TRUE,
full_process = TRUE
)
Arguments
string1
a character string.
string2
a character string.
force_ascii
allow only ASCII characters (force convert to ascii)
full_process
either TRUE or FALSE. If TRUE then it process the string by : 1. removing all but letters and numbers, 2. trim whitespace, 3. force to lower case
Method Ratio()
Usage
FuzzMatcher$Ratio(string1 = NULL, string2 = NULL)
Arguments
string1
a character string.
string2
a character string.
Method QRATIO()
Usage
FuzzMatcher$QRATIO(string1 = NULL, string2 = NULL, force_ascii = TRUE)
Arguments
string1
a character string.
string2
a character string.
force_ascii
allow only ASCII characters (force convert to ascii)
Method WRATIO()
Usage
FuzzMatcher$WRATIO(string1 = NULL, string2 = NULL, force_ascii = TRUE)
Arguments
string1
a character string.
string2
a character string.
force_ascii
allow only ASCII characters (force convert to ascii)
Method UWRATIO()
Usage
FuzzMatcher$UWRATIO(string1 = NULL, string2 = NULL)
Arguments
string1
a character string.
string2
a character string.
Method UQRATIO()
Usage
FuzzMatcher$UQRATIO(string1 = NULL, string2 = NULL)
Arguments
string1
a character string.
string2
a character string.
Method Token_sort_ratio()
Usage
FuzzMatcher$Token_sort_ratio(
string1 = NULL,
string2 = NULL,
force_ascii = TRUE,
full_process = TRUE
)
Arguments
string1
a character string.
string2
a character string.
force_ascii
allow only ASCII characters (force convert to ascii)
full_process
either TRUE or FALSE. If TRUE then it process the string by : 1. removing all but letters and numbers, 2. trim whitespace, 3. force to lower case
Method Partial_ratio()
Usage
FuzzMatcher$Partial_ratio(string1 = NULL, string2 = NULL)
Arguments
string1
a character string.
string2
a character string.
Method Token_set_ratio()
Usage
FuzzMatcher$Token_set_ratio(
string1 = NULL,
string2 = NULL,
force_ascii = TRUE,
full_process = TRUE
)
Arguments
string1
a character string.
string2
a character string.
force_ascii
allow only ASCII characters (force convert to ascii)
full_process
either TRUE or FALSE. If TRUE then it process the string by : 1. removing all but letters and numbers, 2. trim whitespace, 3. force to lower case
Method clone()
The objects of this class are cloneable with this method.
Usage
FuzzMatcher$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.