levenshtein_normalized_similarity {RapidFuzz} | R Documentation |
Normalized Levenshtein Similarity
Description
The normalized Levenshtein similarity returns a value between 0 and 1, indicating how similar the compared strings are.
Usage
levenshtein_normalized_similarity(s1, s2)
Arguments
s1 |
The first string. |
s2 |
The second string. |
Value
A numeric value representing the normalized Levenshtein similarity.
Examples
levenshtein_normalized_similarity("kitten", "sitting")
[Package RapidFuzz version 1.0 Index]