DecodeBox
Search
K
Guides
SDK Reference
Operations
Playgrounds
Operations Explorer
Auto Detection Lab
Encoding & Decoding Lab
Open DecodeBox
Theme
Menu
ON THIS PAGE
#
Levenshtein Distance
The number of single-character edits between two samples.
ID:
levenshtein-distance
Category: Utils
Aliases: edit distance, string distance
#
Arguments
Argument
Type
Default
Constraints
Sample delimiter
option
"Line feed"
Blank line, Line feed, CRLF, Space, Comma, Semi-colon, Colon, Nothing
Insertion cost
number
1
Minimum: 0
Deletion cost
number
1
Minimum: 0
Substitution cost
number
1
Minimum: 0