fuzz_token_sort_ratio: Token Sort Ratio Calculation

View source: R/RcppExports.R

fuzz_token_sort_ratioR Documentation

Token Sort Ratio Calculation

Description

Sorts the words in the strings and calculates the ratio between them.

Usage

fuzz_token_sort_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 token sort ratio between the two strings.

Examples

fuzz_token_sort_ratio("fuzzy wuzzy was a bear", "wuzzy fuzzy was a bear")

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