Generate Levenshtein Distance
Synopsis
This operator generates the Levenshtein distance between two nominal attributes. The Levenshtein distance is calculated as the number of changes needed to convert one string into the other. A common use case for using this metric is spell checking.
Input
exa
The input ExampleSet
Output
out
The resulting ExampleSet with the new distance.
ori
The original ExampleSet.
Parameters
First attribute for distance calculation
The first attribute for distance calculation.
Second attribute for distance calculation
The second attribute for distance calculation.