fuzz_partial_ratio: Partial Ratio Calculation

View source: R/RcppExports.R

fuzz_partial_ratioR Documentation

Partial Ratio Calculation

Description

Calculates a partial ratio between two strings, which ignores long mismatching substrings.

Usage

fuzz_partial_ratio(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 partial ratio between the two strings.

Examples

fuzz_partial_ratio("this is a test", "this is a test!")

RapidFuzz documentation built on April 3, 2025, 11:52 p.m.