Crate simhash[][src]

Functions

hamming_distance

Bitwise hamming distance of two u64 hashes

hash [
Deprecated
]

Calculate u64 simhash from &str split by whitespace

hash_similarity

Calculate similarity as f64 of two hashes 0.0 means no similarity, 1.0 means identical

simhash

Calculate u64 simhash from &str split by whitespace

simhash_stream

Calculate u64 simhash from stream of &str words

similarity

Calculate similarity of two string slices split by whitespace by simhash

similarity_streams

Calculate similarity of two streams of string slices by simhash