AspellChecker();
~AspellChecker();
- /// check the given word and return the result
- enum Result check(WordLangTuple const &);
-
- /// insert the given word into the personal dictionary
- void insert(WordLangTuple const &);
-
- /// accept the given word temporarily
- void accept(WordLangTuple const &);
-
- /// return the next near miss after a SUGGESTED_WORDS result
- docstring const nextMiss();
-
- /// give an error message on messy exit
- docstring const error();
+ /// \name SpellChecker inherited methods
+ //@{
+ enum Result check(WordLangTuple const &) override;
+ void suggest(WordLangTuple const &, docstring_list &) override;
+ void stem(WordLangTuple const &, docstring_list &) override {}
+ void insert(WordLangTuple const &) override;
+ void remove(WordLangTuple const &) override;
+ void accept(WordLangTuple const &) override;
+ bool hasDictionary(Language const * lang) const override;
+ int numDictionaries() const override;
+ docstring const error() override;
+ void advanceChangeNumber() override;
+ //@}
private:
struct Private;