Text Edit Distance

text · N097 · starter-package 7.0.1

Count the minimum character insertions, deletions or substitutions between two strings. Characters are Unicode code points and case matters. The product of character counts may be at most 1,000,000.

Example

Connected values

{"left":"kitten","right":"sitting"}

Result

{"result":3}

Connector data types

DirectionConnectorTypeRequired
Inputleft — Lefttextyes
Inputright — Righttextyes
Outputresult — Resultnumberon success

Errors and recovery

Connect text to both inputs. For large texts, compare smaller relevant portions so the product of their character counts stays within the stated limit.