Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/xrash/smetrics
/ functions
Functions
13 in github.com/xrash/smetrics
⨍
Functions
13
◇
Types & classes
4
↓ 2 callers
Function
Hamming
The Hamming distance is the minimum number of substitutions required to change string A into string B. Both strings must have the same size. If the st
hamming.go:8
↓ 2 callers
Function
Jaro
The Jaro distance. The result is 1 for equal strings, and 0 for completely different strings.
jaro.go:8
↓ 1 callers
Function
JaroWinkler
The Jaro-Winkler distance. The result is 1 for equal strings, and 0 for completely different strings. It is commonly used on Record Linkage stuff, thu
jaro-winkler.go:9
↓ 1 callers
Function
Soundex
The Soundex encoding. It is a phonetic algorithm that considers how the words sound in English. Soundex maps a string to a 4-byte code consisting of t
soundex.go:8
↓ 1 callers
Function
Ukkonen
The Ukkonen algorithm for calculating the Levenshtein distance. The algorithm is described in http://www.cs.helsinki.fi/u/ukkonen/InfCont85.PDF, or in
ukkonen.go:9
↓ 1 callers
Function
WagnerFischer
The Wagner-Fischer algorithm for calculating the Levenshtein distance. The first two parameters are the two strings to be compared. The last three par
wagner-fischer.go:5
Function
TestHamming
(t *testing.T)
tests/hamming_test.go:9
Function
TestHammingError
(t *testing.T)
tests/hamming_test.go:34
Function
TestJaro
(t *testing.T)
tests/jaro_test.go:9
Function
TestJaroWinkler
(t *testing.T)
tests/jaro-winkler_test.go:9
Function
TestSoundex
(t *testing.T)
tests/soundex_test.go:9
Function
TestUkkonen
(t *testing.T)
tests/ukkonen_test.go:9
Function
TestWagnerFischer
(t *testing.T)
tests/wagner-fischer_test.go:9