diff options
author | Vlad Voicu <vladv@rosedu.org> | 2012-01-19 21:49:08 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2012-03-09 15:04:00 (GMT) |
commit | 65679c27623512a79de7c6d92c75d1a9530fb756 (patch) | |
tree | 0f4baf79436fb592702bc6830c7b032528a0e55b /SwifTools/HunspellChecker.h | |
parent | 4ba6dfe66b5898c3b7162b263b2529c534feddc1 (diff) | |
download | swift-contrib-65679c27623512a79de7c6d92c75d1a9530fb756.zip swift-contrib-65679c27623512a79de7c6d92c75d1a9530fb756.tar.bz2 |
Big spell checker chunk
Diffstat (limited to 'SwifTools/HunspellChecker.h')
-rw-r--r-- | SwifTools/HunspellChecker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SwifTools/HunspellChecker.h b/SwifTools/HunspellChecker.h index e016c08..bf56778 100644 --- a/SwifTools/HunspellChecker.h +++ b/SwifTools/HunspellChecker.h @@ -6,6 +6,7 @@ #include <vector> #include <boost/algorithm/string.hpp> +#include <boost/tuple/tuple.hpp> #include <SwifTools/SpellChecker.h> #pragma once @@ -19,6 +20,7 @@ namespace Swift { virtual ~HunspellChecker(); virtual bool isCorrect(const std::string& word); virtual void getSuggestions(const std::string& word, std::vector<std::string>& list); + virtual void checkFragment(const std::string& fragment, PositionPairVector& misspelledPositions); private: Hunspell* speller_; }; |