wgt_jaccard_distance.Rd
#' wgt_jaccard_distance
computes the Weighted Jaccard Distance between
two strings. It is vectorized, and accepts only two equal-length string
vectors.
wgt_jaccard_distance(string_1, string_2, corpus, nthreads = 1)
character vector
character vector
corpus data.table, constructed with
fedmatch::build_corpus
number of threads to use in the underlying C++ code
numeric vector with the Weighted Jaccard distances for each element of string_1 and string_2.
See the vignette fuzzy_matching
for details on how the Weighted Jaccard similarity is computed.