osa_editops | R Documentation |
Provides the edit operations required to transform one string into another using the OSA algorithm.
osa_editops(s1, s2)
s1 |
A string to transform. |
s2 |
A target string. |
A data frame with the following columns:
The type of operation (delete, insert, replace).
The position in the source string.
The position in the target string.
osa_editops("string1", "string2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.