osa_distance: Distance Using OSA

View source: R/RcppExports.R

osa_distanceR Documentation

Distance Using OSA

Description

Calculates the OSA distance between two strings.

Usage

osa_distance(s1, s2, score_cutoff = NULL)

Arguments

s1

A string to compare.

s2

Another string to compare.

score_cutoff

A threshold for the distance score (default is the maximum possible size_t value).

Value

An integer representing the OSA distance.

Examples

osa_distance("string1", "string2")

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