lcs_seq_distance: LCSseq Distance

View source: R/RcppExports.R

lcs_seq_distanceR Documentation

LCSseq Distance

Description

Calculates the LCSseq (Longest Common Subsequence) distance between two strings.

Usage

lcs_seq_distance(s1, s2, score_cutoff = NULL)

Arguments

s1

The first string.

s2

The second string.

score_cutoff

Score threshold to stop calculation. Default is the maximum possible value.

Value

A numeric value representing the LCSseq distance.

Examples

lcs_seq_distance("kitten", "sitting")

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