📝 A pure Gleam package to compute the edit distance of two strings
To add this package to your Gleam project:
gleam add edit_distance
To use the package, you can import the module corresponding to one of the metrics and call the
distance function. For example, to compute the edit distance of two strings using the Levenshtein distance you can:
// -> 2
If you think there’s any way to improve this package, or if you spot a bug don’t be afraid to open PRs, issues or requests of any kind! Any contribution is welcome 💜
Credits for the Levenshtein distance implementation go to the Levenshtein Elixir library!