levenshtein_normalized_similarity | R Documentation |
The normalized Levenshtein similarity returns a value between 0 and 1, indicating how similar the compared strings are.
levenshtein_normalized_similarity(s1, s2)
s1 |
The first string. |
s2 |
The second string. |
A numeric value representing the normalized Levenshtein similarity.
levenshtein_normalized_similarity("kitten", "sitting")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.