fuzz_token_set_ratio | R Documentation |
Compares the unique and common words in the strings and calculates the ratio.
fuzz_token_set_ratio(s1, s2, score_cutoff = 0)
s1 |
First string. |
s2 |
Second string. |
score_cutoff |
Optional score cutoff threshold (default: 0.0). |
A double representing the token set ratio between the two strings.
fuzz_token_set_ratio("fuzzy wuzzy was a bear", "fuzzy fuzzy was a bear")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.