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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
syntax:functions:distance [2018/02/28 10:59] dmitrysyntax:functions:distance [2018/03/01 09:24] 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 degree of variance between the 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: 2021/08/14 22:02 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki