powered by
Compute Hamming distance of Simhash value
simhash_dist(x, y)simhash_dist_mat(x, y)
simhash_dist_mat(x, y)
a character vector of simhash value
a character vector
# NOT RUN { simhash_dist("1","1") simhash_dist("1","2") tobin("1") tobin("2") simhash_dist_mat(c("1","12","123"),c("2","1")) # }
Run the code above in your browser using DataLab