Clone this repo:

Branches

  1. a809b0a Added reference to editdistance package by Kilian Evang · 4 months ago master
  2. 3e21806 Added package documentation by Kilian Evang · 4 months ago
  3. 9a913be Split up Ratio into a core function and a wrapper by Kilian Evang · 4 months ago
  4. 959039d Merge branch 'fatih-add-ratio' by Kilian Evang · 4 months ago
  5. 0724548 Add Ratio function by Fatih Arslan · 5 months ago

golang-levenshtein

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

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