mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
* Bump golang.org/x/text from 0.3.7 to 0.3.8 Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8) --- updated-dependencies: - dependency-name: golang.org/x/text dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Update go dependencies * Update x/net --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
19 lines
687 B
Go
19 lines
687 B
Go
/*
|
|
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
|