summaryrefslogtreecommitdiff
path: root/tools/fuzzy.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzzy.h')
-rw-r--r--tools/fuzzy.h10
1 files changed, 10 insertions, 0 deletions
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 <string>
+
+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