Documentation ¶
Overview ¶
Package levenshtein provides functions for calculating Levenshtein distances.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DistancePhrases ¶
DistancePhrases returns the Levenshtein distance between the two string slices.
func DistancePhrasesReuseSlice ¶
DistancePhrasesReuseSlice is like DistancePhrases, but reuses the distance slice.
func DistanceWordsMax ¶
DistanceWordsMax returns k-bounded Levenshtein distance between a and b.
func DistanceWordsMax2 ¶
DistanceWordsMax2 returns 2-bounded Levenshtein distance between a and b.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.