diff --git a/DESCRIPTION b/DESCRIPTION index 1ba0cba..cc9e27a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -41,4 +41,5 @@ Depends: R (>= 2.10) LazyData: true LazyDataCompression: xz -Config/rextendr/version: 0.3.1.9000 \ No newline at end of file +Config/rextendr/version: 0.3.1.9000 + diff --git a/R/extendr-wrappers.R b/R/extendr-wrappers.R index ed79538..7db7c09 100644 --- a/R/extendr-wrappers.R +++ b/R/extendr-wrappers.R @@ -11,7 +11,6 @@ #' @useDynLib zoomerjoin, .registration = TRUE NULL - rust_jaccard_join <- function(left_string_r, right_string_r, ngram_width, n_bands, band_size, threshold, progress, seed) .Call(wrap__rust_jaccard_join, left_string_r, right_string_r, ngram_width, n_bands, band_size, threshold, progress, seed) rust_salted_jaccard_join <- function(left_string_r, right_string_r, left_salt_r, right_salt_r, ngram_width, n_bands, band_size, threshold, progress, seed) .Call(wrap__rust_salted_jaccard_join, left_string_r, right_string_r, left_salt_r, right_salt_r, ngram_width, n_bands, band_size, threshold, progress, seed) diff --git a/man/hamming_probability.Rd b/man/hamming_probability.Rd index ed63d58..b42247e 100644 --- a/man/hamming_probability.Rd +++ b/man/hamming_probability.Rd @@ -7,14 +7,14 @@ hamming_probability(distance, input_length, n_bands, band_width) } \arguments{ -\item{distance}{the hamming distance of the two strings you want to compare} +\item{distance}{The hamming distance of the two strings you want to compare} \item{n_bands}{The number of LSH bands used in hashing.} \item{band_width}{The number of hashes in each band.} } \value{ -a decimal number giving the proability that the two items will be +A decimal number giving the probability that the two items will be returned as a candidate pair from the lsh algotithm. } \description{ diff --git a/man/jaccard_similarity.Rd b/man/jaccard_similarity.Rd index 74f9858..4bb330e 100644 --- a/man/jaccard_similarity.Rd +++ b/man/jaccard_similarity.Rd @@ -2,7 +2,7 @@ % Please edit documentation in R/jaccard_similarity.R \name{jaccard_similarity} \alias{jaccard_similarity} -\title{Calculate Jaccard Similairy of two character vectors} +\title{Calculate Jaccard Similarity of two character vectors} \usage{ jaccard_similarity(a, b, ngram_width = 2) } @@ -18,7 +18,7 @@ similarity calculation} a vector of jaccard similarities of the strings } \description{ -Calculate Jaccard Similairy of two character vectors +Calculate Jaccard Similarity of two character vectors } \examples{ jaccard_similarity(c("the quick brown fox","jumped over the lazy dog"),