Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 484 Bytes

File metadata and controls

26 lines (17 loc) · 484 Bytes

levenshtein

A simple implementation of Levenshtein edit distance in Carp.

Installation

(load "git@github.com:hellerve/levenshtein")

Usage

The only function that is defined and exposed by this library is String.levenshtein. An example usage could look like this:

(String.levenshtein "hey" "hej") ; => 1
(String.levenshtein "hello" "hej") ; => 3

That’s all, folks!


Have fun!