๐ A pure Gleam package to compute the edit distance of two strings.
To add this package to your Gleam project:
gleam add edit_distanceAnd you're good to start using it!
import edit_distance
assert 2 == edit_distance.levenshtein("gleam", "beam")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!