metrics

Levenshtein.calculate(text1, text2)

Calculates Levenstein similarity of two strings normalized by max length

Parameters
  • text1 – a string for comparison

  • text2 – a string for comparison

Returns

Levenstein similarity value of two strings normalized by max length of strings