Categories

Versions

Generate Levenshtein Distance (Operator Toolbox)

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 (Data table)

    The input ExampleSet

Output

  • out (Data table)

    The resulting ExampleSet with the new distance.

  • ori (Data table)

    The original ExampleSet.

Parameters

  • first_attribute_for_distance_calculation The first attribute for distance calculation. Range:
  • second_attribute_for_distance_calculation The second attribute for distance calculation. Range:

Tutorial Processes

Generate Levenshtein Distance

This process creates example data and applies the Levenshtein distance on it.