Compute the normalised Levenshtein distances between strings.

normalisedlevenshteindists(strings)

Arguments

strings

a vector or list of strings

Value

A distance matrix specifying all pairwise normalised Levenshtein distances between the strings.

See also

Examples

normalisedlevenshteindists(c("abd", "absolute", "asdasd", "casd"))
#> abd absolute asdasd #> absolute 0.7500000 #> asdasd 0.6666667 0.7500000 #> casd 0.5000000 0.8750000 0.5000000