From e2a48d8701f91b8e24fbe9e99e91eb72a87bb749 Mon Sep 17 00:00:00 2001 From: horchi Date: Sun, 5 Mar 2017 16:39:28 +0100 Subject: git init --- tools/fuzzy.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tools/fuzzy.h (limited to 'tools/fuzzy.h') diff --git a/tools/fuzzy.h b/tools/fuzzy.h new file mode 100644 index 0000000..7d90466 --- /dev/null +++ b/tools/fuzzy.h @@ -0,0 +1,10 @@ +#ifndef __FUZZY_H__ +#define __FUZZY_H__ + +#include + +size_t letter_distance(char letter1, char letter2); +size_t word_distance(const std::string& word1, const std::string& word2); +size_t sentence_distance(const std::string& sentence1, const std::string& sentence2); + +#endif -- cgit v1.2.3