Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dasch/levenshtein

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

Last synced: about 20 hours 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
```