normalizedLevenshtein: Normalized Levenshtein distance

Description Usage Arguments Value

Description

Levenshtein distance of two strings is the minimal amount of edits (insertions, deletions and substitutions) to go from string1 to string2. This is normalized by the length of the longer string.

Usage

1
normalizedLevenshtein(string1, string2, ignoreCharacter = NULL, ...)

Arguments

string1

First string of comparison

string2

Second string of comparison

ignoreCharacter

Optional, character vector of symbols that will be ignored and removed from the string.

Value

Returns numeric value of the normalized Levenshtein distance


KonstantinHoffmann/ABVDTools documentation built on Dec. 14, 2021, 11:48 a.m.