extract_similar_strings: Extract Matches

View source: R/RcppExports.R

extract_similar_stringsR Documentation

Extract Matches

Description

Compares a query string to all strings in a list of choices and returns all elements with a similarity score above the score_cutoff.

Usage

extract_similar_strings(query, choices, score_cutoff = 50, processor = TRUE)

Arguments

query

The query string to compare.

choices

A vector of strings to compare against the query.

score_cutoff

A numeric value specifying the minimum similarity score (default is 50.0).

processor

A boolean indicating whether to preprocess strings before comparison (default is TRUE).

Value

A data frame containing matched strings and their similarity scores.


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