An open API service indexing awesome lists of open source software.

https://github.com/dasch/levenshtein

An Elm implementation of the Levenshtein distance algorithm.
https://github.com/dasch/levenshtein

Last synced: 3 months ago
JSON representation

An Elm implementation of the Levenshtein distance algorithm.

Awesome Lists containing this project

README

        

# Levenshtein

Levenshtein distance is a metric for measuring the difference between two strings. Specifically, it is the minimum number of single-character edits (insertions, deletions, or substitutions) required to change one string into the other.

## Example

```elm
import Levenshtein

Levenshtein.distance "kitten" "sitting" --> 3
```