osa_normalized_similarity | R Documentation |
Calculates the normalized similarity between two strings using the Optimal String Alignment (OSA) algorithm.
osa_normalized_similarity(s1, s2, score_cutoff = 0)
s1 |
A string to compare. |
s2 |
Another string to compare. |
score_cutoff |
A threshold for the normalized similarity score (default is 0.0). |
A double representing the normalized similarity score.
osa_normalized_similarity("string1", "string2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.