DamerauLevenshteinDistance

DamerauLevenshteinDistance[u,v]

gives the DamerauLevenshtein distance between strings, vectors or biomolecular sequences u and v.

Details and Options

Examples

open allclose all

Basic Examples  (3)

DamerauLevenshtein distance between two strings:

DamerauLevenshtein distance between two vectors:

DamerauLevenshtein distance between biomolecular sequences:

Scope  (2)

Compute distance between strings of unequal length:

Compute distance between vectors of any length:

Options  (1)

IgnoreCase  (1)

Obtain DamerauLevenshtein distance, ignoring case of letters:

Applications  (2)

Cluster string data using DamerauLevenshtein distance:

Cluster numeric data using DamerauLevenshtein distance:

Properties & Relations  (4)

DamerauLevenshtein distance counts transposition as a single operation:

EditDistance treats transposition as separate deletion and insertion operations:

Cluster string data using DamerauLevenshtein distance:

Cluster string data using EditDistance:

DamerauLevenshteinDistance is less than or equal to HammingDistance for strings of equal length:

DamerauLevenshteinDistance is less than or equal to HammingDistance for vectors of equal length:

Wolfram Research (2008), DamerauLevenshteinDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/DamerauLevenshteinDistance.html (updated 2020).

Text

Wolfram Research (2008), DamerauLevenshteinDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/DamerauLevenshteinDistance.html (updated 2020).

CMS

Wolfram Language. 2008. "DamerauLevenshteinDistance." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/DamerauLevenshteinDistance.html.

APA

Wolfram Language. (2008). DamerauLevenshteinDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DamerauLevenshteinDistance.html

BibTeX

@misc{reference.wolfram_2024_dameraulevenshteindistance, author="Wolfram Research", title="{DamerauLevenshteinDistance}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/DamerauLevenshteinDistance.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_dameraulevenshteindistance, organization={Wolfram Research}, title={DamerauLevenshteinDistance}, year={2020}, url={https://reference.wolfram.com/language/ref/DamerauLevenshteinDistance.html}, note=[Accessed: 21-December-2024 ]}