osa_editops {RapidFuzz}R Documentation

Edit Operations Using OSA

Description

Provides the edit operations required to transform one string into another using the OSA algorithm.

Usage

osa_editops(s1, s2)

Arguments

s1

A string to transform.

s2

A target string.

Value

A data frame with the following columns:

operation

The type of operation (delete, insert, replace).

source_position

The position in the source string.

destination_position

The position in the target string.

Examples

osa_editops("string1", "string2")

[Package RapidFuzz version 1.0 Index]