File: README.md

package info (click to toggle)
golang-github-texttheater-golang-levenshtein 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 84 kB
  • sloc: makefile: 2
file content (23 lines) | stat: -rw-r--r-- 596 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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](https://github.com/danieldk/editdistance).