levenshtein_similarity {RapidFuzz} | R Documentation |
Levenshtein Similarity
Description
Levenshtein similarity measures how similar two strings are, based on the minimum number of operations required to make them identical.
Usage
levenshtein_similarity(s1, s2)
Arguments
s1 |
The first string. |
s2 |
The second string. |
Value
A numeric value representing the Levenshtein similarity.
Examples
levenshtein_similarity("kitten", "sitting")
[Package RapidFuzz version 1.0 Index]