summaryrefslogtreecommitdiff
path: root/levenshtein.h
blob: ce40762124c247a9b604dec0462acd6dd85f53ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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