2009-09-25 00:02:18 +08:00
|
|
|
#ifndef __PERF_LEVENSHTEIN_H
|
|
|
|
#define __PERF_LEVENSHTEIN_H
|
2009-04-20 21:00:56 +08:00
|
|
|
|
|
|
|
int levenshtein(const char *string1, const char *string2,
|
|
|
|
int swap_penalty, int substition_penalty,
|
|
|
|
int insertion_penalty, int deletion_penalty);
|
|
|
|
|
2009-09-25 00:02:18 +08:00
|
|
|
#endif /* __PERF_LEVENSHTEIN_H */
|