Main Page | Data Structures | File List | Data Fields | Globals

mod_levenshtein.c File Reference

#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)

Function Documentation

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.


Generated on Tue May 18 20:32:17 2004 for libdistance by doxygen 1.3.7