forked from toolshed/abra
refactor: urfave v2
This commit is contained in:
19
vendor/github.com/xrash/smetrics/doc.go
generated
vendored
Normal file
19
vendor/github.com/xrash/smetrics/doc.go
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
Package smetrics provides a bunch of algorithms for calculating
|
||||
the distance between strings.
|
||||
|
||||
There are implementations for calculating the popular Levenshtein
|
||||
distance (aka Edit Distance or Wagner-Fischer), as well as the Jaro
|
||||
distance, the Jaro-Winkler distance, and more.
|
||||
|
||||
For the Levenshtein distance, you can use the functions WagnerFischer()
|
||||
and Ukkonen(). Read the documentation on these functions.
|
||||
|
||||
For the Jaro and Jaro-Winkler algorithms, check the functions
|
||||
Jaro() and JaroWinkler(). Read the documentation on these functions.
|
||||
|
||||
For the Soundex algorithm, check the function Soundex().
|
||||
|
||||
For the Hamming distance algorithm, check the function Hamming().
|
||||
*/
|
||||
package smetrics
|
Reference in New Issue
Block a user