Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LevenshteinDistance ¶
LevenshteinDistance calculates the Levenshtein distance between strings a and b.
The Levenshtein distance is a measure of the minimum number of single-character edits (insertions, deletions, or substitutions) required to transform one string into the other.
Adapted from a Golang implementation shared on https://groups.google.com/forum/#!topic/golang-nuts/YyH1f_qCZVc
Returns the computed Levenshtein distance as an integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.