0 ×

String Distances

KNIME Distance Matrix Extension version 4.3.0.v202011191420 by KNIME AG, Zurich, Switzerland

Distance definition on a string column, like for instance Levenshtein distance. Additional parameters can be set based on the selected distance function.


Column Selection
Choose the column for which the string distance is defined.
Distance Selection
Select and configure the distance to be used for measurement. Additional information is available through the help button in the configuration dialog.

Jaro-Winkler Distance
The Jaro-Winkler distance is a common measure for the difference between two strings. It is important to note that it is not actually a distance metric because it doesn't obey the triangle-inequality.

N-gram Tversky Distance (Tanimoto/ Dice)
In contrast to the edit distances the n-gram Tversky index does not rely on single-operation counts, instead it models relations between neighbored letters.

Levenshtein Distance
The Levenshtein distance is one of the famoust string metrices for measuring the difference between two strings. It is the minimum number of operations (i.e. deletions, insertions or substitutions) peformed on a single character to tranform one of the strings into the other.

Input Ports

Input data.

Output Ports

The configured distance.

Best Friends (Incoming)

Best Friends (Outgoing)



To use this node in KNIME, install KNIME Distance Matrix from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.