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

https://github.com/wooorm/levenshtein

Levenshtein algorithm CLI
https://github.com/wooorm/levenshtein

edit-distance levenshtein levenshtein-distance similarity

Last synced: 7 days ago
JSON representation

Levenshtein algorithm CLI

Awesome Lists containing this project

README

        

# levenshtein(1)

[![Build][build-badge]][build]

Vladimir Levenshtein’s edit distance algorithm[1][wiki] as a UNIX
command. There’s also a C library: [levenshtein(3)][lib], and a
[JavaScript version][js].

## Installation

With CLib:

```bash
$ clib install wooorm/levenshtein
```

Or Git clone, and then:

```bash
$ make install
```

## Usage

```text
Usage: levenshtein

Levenshtein algorithm CLI

Options:

-h, --help output usage information
-v, --version output version number

Usage:

# output distance
$ levenshtein sitting kitten
# 3
```

## License

[MIT][] © [Titus Wormer][author]

[build-badge]: https://img.shields.io/travis/wooorm/levenshtein.svg

[build]: https://travis-ci.org/wooorm/levenshtein

[wiki]: https://en.wikipedia.org/wiki/Levenshtein_distance

[lib]: https://github.com/wooorm/levenshtein.c

[js]: https://github.com/words/levenshtein-edit-distance

[mit]: license

[author]: https://wooorm.com