#include <stdlib.h>
#include <string.h>
#include "distance.h"
Functions | |
double | mod_levenshtein_d (const void *d1, size_t len1, const void *d2, size_t len2, struct matrix *mt) |
|
calculate the cost between two inputs using a cost matrix. this matrix carries with it the costs for any conversions and insertions. for example, going from A to a may be low cost, but A to B may be high cost. |