Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SimHash implementation in Java?

Tags:

java

hash

simhash

Has anyone come across a simhash function implemented in Java?

I've already searched for it, but couldn't find anything.

like image 338
Joel Avatar asked Dec 15 '09 15:12

Joel


2 Answers

btw. It looks like Google has patented the algorithm. If you are in US, successfully compete with Google, and do not have own parent portfolio, then do not tell them you are using it.

An implementation in C

http://dsrg.mff.cuni.cz/~holub/sw/shash/


[Removed no longer relevant BibSonomy text]

like image 161
jitter Avatar answered Nov 15 '22 19:11

jitter


Here you can find the full java source code. It's very simple. A demo also is provided. http://aneurone.blogspot.com/2012/09/simhash.html

like image 38
aNeurone Avatar answered Nov 15 '22 20:11

aNeurone