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

https://github.com/zztkm/vlsd

Levenshtein String Distance
https://github.com/zztkm/vlsd

vlang vlang-module

Last synced: 5 months ago
JSON representation

Levenshtein String Distance

Awesome Lists containing this project

README

          

# vlsd

Levenshtein String Distance

## Usage

```v
import zztkm.vlsd

distance := vlsd.string_distance("Hello", "Helllo")
```

module doc: [docs/lsd.md](docs/lsd.md)

## Installation

```
v install zztkm.vlsd
```

## LICENSE

MIT (See [LICENSE](LICENSE))

This project is a translation and modification of the mattn/lsd source code into v.
mattn/lsd: https://github.com/mattn/go-lsd

The translation is done using vlang/go2v.
vlang/go2v: https://github.com/vlang/go2v