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