Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hengfeiyang/simhash
a Golang implementation of Simhash Algorithm
https://github.com/hengfeiyang/simhash
simhash
Last synced: about 1 month ago
JSON representation
a Golang implementation of Simhash Algorithm
- Host: GitHub
- URL: https://github.com/hengfeiyang/simhash
- Owner: hengfeiyang
- License: mit
- Created: 2018-08-02T12:09:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-02T12:25:37.000Z (over 6 years ago)
- Last Synced: 2024-06-19T19:39:33.809Z (6 months ago)
- Topics: simhash
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simhash
a Golang implementation of Simhash Algorithm# demo
```
package mainimport (
"fmt""github.com/safeie/simhash"
)func main() {
s1 := simhash.Simhash("this is a project for golang implementation of simhash algorithm")
s2 := simhash.Simhash("this is a project for java implementation of simhash algorithm")fmt.Println("distance:", simhash.Distance(s1, s2))
fmt.Println("similars:", simhash.Similar(s1, s2))
}
```