levenshtein_similarity | R Documentation |
Levenshtein similarity measures how similar two strings are, based on the minimum number of operations required to make them identical.
levenshtein_similarity(s1, s2)
s1 |
The first string. |
s2 |
The second string. |
A numeric value representing the Levenshtein similarity.
levenshtein_similarity("kitten", "sitting")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.