From e2a48d8701f91b8e24fbe9e99e91eb72a87bb749 Mon Sep 17 00:00:00 2001 From: horchi Date: Sun, 5 Mar 2017 16:39:28 +0100 Subject: git init --- levenshtein.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 levenshtein.h (limited to 'levenshtein.h') diff --git a/levenshtein.h b/levenshtein.h new file mode 100644 index 0000000..ce40762 --- /dev/null +++ b/levenshtein.h @@ -0,0 +1,20 @@ +/* + * levenshtein.h + * + * See the README file for copyright information + * + */ + + +#ifndef __LEVENSHTEIN_H +#define __LEVENSHTEIN_H + +#include "lib/common.h" + +//*************************************************************************** +// LV Distance +//*************************************************************************** + +int lvDistance(const std::string source, const std::string target, int maxPer, int& maxDist); + +#endif // __LEVENSHTEIN_H -- cgit v1.2.3