Documentation
¶
Overview ¶
Package fuzzy includes a Levenshtein automaton as well as a traditional implementation to calculate Levenshtein Distance. Some code is borrowed from https://github.com/agnivade/levenshtein
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EditDistance ¶
EditDistance computes the levenshtein distance between the two strings passed as an argument. The return value is the levenshtein distance
Works on runes (Unicode code points) but does not normalize the input strings. See https://blog.golang.org/normalization and the golang.org/x/text/unicode/norm pacage.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.