2 * \file HunspellSpellChecker.cpp
3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Abdelrazak Younes
8 * Full author contact details are available in file CREDITS.
13 #include "HunspellSpellChecker.h"
16 #include "WordLangTuple.h"
18 #include "support/lassert.h"
19 #include "support/debug.h"
21 #include <hunspell/hunspell.hxx>
31 typedef map<std::string, Hunspell *> Spellers;
34 class HunspellSpellChecker::Private
41 HunspellSpellChecker::HunspellSpellChecker(): d(new Private)
46 HunspellSpellChecker::~HunspellSpellChecker()
52 SpellChecker::Result HunspellSpellChecker::check(WordLangTuple const & word)
58 void HunspellSpellChecker::insert(WordLangTuple const & word)
63 void HunspellSpellChecker::accept(WordLangTuple const & word)
68 docstring const HunspellSpellChecker::nextMiss()
74 docstring const HunspellSpellChecker::error()