Skip to content

A library to find the percentage of similarity between two given strings (can be expanded to compare every thing!).

Notifications You must be signed in to change notification settings

AllenDang/simhash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simhash

A library to find the percentage of similarity between two given strings (can be expanded to compare every thing!).

This is a port of C# version SimHash created by ArefKarimi, you can find it here (http://simhash.codeplex.com/).

Usage

needle := "Reading bytes into structs using reflection"
hayStack := "Golang - mapping an variable length array to a struct"

likeness := GetLikenessValue(needle, hayStack)
fmt.Println("Likeness:", likeness)

About

A library to find the percentage of similarity between two given strings (can be expanded to compare every thing!).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages