Tool
Surface
Intersection
Transform
Image
Vector
Toolset
Triangulation
Solid
Analysis
Panels
Curve Analysis
Render
3D Object
Primitive Curves
Boolean Operation
Text
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