Added two more test cases

One that has *all the operations* and one simplified version of it.
1 file changed
tree: 182aa796a5c148ff83ce96f4a4d409b61e68bd4f
  1. levenshtein/
  2. .gitignore
  3. go.mod
  4. LICENSE
  5. README.md
README.md

golang-levenshtein

An implementation of the Levenshtein algorithm in Go. Provides edit distances, edit scripts and ratios for strings (slices of runes).

Installation

$ go get github.com/texttheater/golang-levenshtein/levenshtein

Documentation

The documentation can be viewed online here: https://godoc.org/github.com/texttheater/golang-levenshtein/levenshtein

See also

For a package that is similar but more generic and provides more control, check out Daniël de Kok’s editdistance.