fuzz_WRatio {RapidFuzz} | R Documentation |
Weighted Ratio Calculation
Description
Calculates a weighted ratio based on other ratio algorithms.
Usage
fuzz_WRatio(s1, s2, score_cutoff = 0)
Arguments
s1 |
First string. |
s2 |
Second string. |
score_cutoff |
Optional score cutoff threshold (default: 0.0). |
Value
A double representing the weighted ratio between the two strings.
Examples
fuzz_WRatio("this is a test", "this is a test!")
[Package RapidFuzz version 1.0 Index]