indel_distance {RapidFuzz}R Documentation

Indel Distance

Description

Calculates the insertion/deletion (Indel) distance between two strings.

Usage

indel_distance(s1, s2)

Arguments

s1

The first string.

s2

The second string.

Value

A numeric value representing the Indel distance.

Examples

indel_distance("kitten", "sitting")

[Package RapidFuzz version 1.0 Index]