osa_normalized_similarity: Normalized Similarity Using OSA

View source: R/RcppExports.R

osa_normalized_similarityR Documentation

Normalized Similarity Using OSA

Description

Calculates the normalized similarity between two strings using the Optimal String Alignment (OSA) algorithm.

Usage

osa_normalized_similarity(s1, s2, score_cutoff = 0)

Arguments

s1

A string to compare.

s2

Another string to compare.

score_cutoff

A threshold for the normalized similarity score (default is 0.0).

Value

A double representing the normalized similarity score.

Examples

osa_normalized_similarity("string1", "string2")

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