CommencerCommencer gratuitement

Is one distance better than the other?

The Levenshtein distance between "Rcik Caplan" and "Rick Caplan" is 2, the q-gram distance is 6. Does this mean the Levenshtein distance is working better in this example than the q-gram method?

Cet exercice fait partie du cours

Intermediate Regular Expressions in R

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice