levenshtein
Table of Contents
Function
levenshtein — Levenshtein distance
Synopsis
levenshtein(a: string, b: string) -> int64
Description
The levenshtein function computes the Levenshtein
distance between strings
a
and b
.
Examples
yield levenshtein(a, b)
{a:"kitten",b:"sitting"}
Loading...