Skip to content

bartolsthoorn/simhash-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simhash for Rust

Build Status

Simhash algorithm (developed by Moses Charikar) implemented in Rust. It generates 64 bit simhashes and can calculate similarities using the Hamming distance.

To use simhash append the following lines to your Cargo.toml file.

[dependencies]
simhash = "0.3.0"

You can now use it in your project.

fn main() {
  let h: u64 = simhash::hash("The cat sat on the mat");
  println!("{}", h);
}

About

Rust implementation of Simhash

Resources

Stars

Watchers

Forks

Languages