Compute the Levenshtein distance between two fragments of text
ID
tool-text-text-distance
Name
Text Distance
Group
Text
Package
Tool
Keywords
Render
After creating a node, to the first port, connect the first text fragment. Connect the second text fragment to the second port, and the boolean toggle for comparison using case-sensitive matching to the third port. On the output port, we will get the result Levenshtein distance between the two fragments.
Characters
Text Join
Concatenate
Text Case
Text Length
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
text1 | String | First text fragment | |
text2 | String | Second text fragment | |
boolean | Boolean | Compare using case-sensitive matching |
Outputs
Name | Type | Description |
---|---|---|
distance | Number | Levenshtein distance between the two fragments |