Generate Levenshtein Distance (Operator Toolbox)
SynopsisThis 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.
- exa (Data Table)
The input ExampleSet
- out (Data Table)
The resulting ExampleSet with the new distance.
- ori (Data Table)
The original ExampleSet.
- first_attribute_for_distance_calculation The first attribute for distance calculation. Range:
- second_attribute_for_distance_calculation The second attribute for distance calculation. Range:
Generate Levenshtein Distance
This process creates example data and applies the Levenshtein distance on it.