User Tools

Site Tools


syntax:functions:distance

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
syntax:functions:distance [2018/03/01 14:23]
dmitry
syntax:functions:distance [2018/03/01 14:24] (current)
dmitry
Line 1: Line 1:
 ===== distance(text, text) ===== ===== distance(text, text) =====
  
-The edit distance between two text strings calculated as the [[https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance|Damerau-Levenshtein distance]]. It shows the number of text edits such as insert or delete are needed to obtain one text string from another. It's used to measure a degree of variance between two strings. The bigger is the edit distance, the more different the strings are. +The edit distance between two text strings calculated as the [[https://en.wikipedia.org/wiki/Damerau%E2%80%93Levenshtein_distance|Damerau-Levenshtein distance]]. It shows the number of text edits such as character insertion or deletion is needed to produce one text string from another. It's used to measure a degree of variance between two strings. The bigger is the edit distance, the more different the strings are. 
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
syntax/functions/distance.txt · Last modified: 2018/03/01 14:24 by dmitry