| 1 |
/* |
| 2 |
Package smetrics provides a bunch of algorithms for calculating |
| 3 |
the distance between strings. |
| 4 |
|
| 5 |
There are implementations for calculating the popular Levenshtein |
| 6 |
distance (aka Edit Distance or Wagner-Fischer), as well as the Jaro |
| 7 |
distance, the Jaro-Winkler distance, and more. |
| 8 |
|
| 9 |
For the Levenshtein distance, you can use the functions WagnerFischer() |
| 10 |
and Ukkonen(). Read the documentation on these functions. |
| 11 |
|
| 12 |
For the Jaro and Jaro-Winkler algorithms, check the functions |
| 13 |
Jaro() and JaroWinkler(). Read the documentation on these functions. |
| 14 |
|
| 15 |
For the Soundex algorithm, check the function Soundex(). |
| 16 |
|
| 17 |
For the Hamming distance algorithm, check the function Hamming(). |
| 18 |
*/ |
| 19 |
package smetrics |