Tool
Analysis
Panels
Vector
Primitive Curves
Boolean Operation
Solid
Surface
Curve Analysis
3D Object
Toolset
Intersection
Transform
Triangulation
Render
Text
Image
Array
Text Distance
Compute the Levenshtein distance between two fragments of text
Details
ID
tool-text-text-distance
Name
Text Distance
Group
Text
Package
Tool
Keywords
Input ports
| Name | Type | Description | Default Value |
|---|---|---|---|
| Text 1 | String | First text fragment | |
| Text 2 | String | Second text fragment | |
| Boolean | Boolean | Compare using case-sensitive matching |
Output ports
| Name | Type | Description |
|---|---|---|
| Distance | Number | Levenshtein distance between the two fragments |
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