hamming_normalized_similarity {RapidFuzz} | R Documentation |
Normalized Hamming Similarity
Description
Calculates the normalized Hamming similarity between two strings.
Usage
hamming_normalized_similarity(s1, s2, pad = TRUE)
Arguments
s1 |
The first string. |
s2 |
The second string. |
pad |
If true, the strings are padded to the same length (default: TRUE). |
Value
A value between 0 and 1 representing the normalized similarity.
Examples
hamming_normalized_similarity("karolin", "kathrin")
[Package RapidFuzz version 1.0 Index]