Weighted version of lev_token_set_ratio()
lev_weighted_token_set_ratio(a, b, weights = list(), ...)The input strings
List of token weights. For example, weights = list(foo = 0.9, bar = 0.1). Any
tokens omitted from weights will be given a weight of 1.
Additional arguments to be passed to stringdist::stringdistmatrix() or
stringdist::stringsimmatrix().
Float
Other weighted token functions:
lev_weighted_token_ratio(),
lev_weighted_token_sort_ratio()