24 #ifndef NUSPELL_DICTIONARY_HXX
25 #define NUSPELL_DICTIONARY_HXX
27 #include "suggester.hxx"
32 NUSPELL_BEGIN_INLINE_NAMESPACE
39 using std::runtime_error::runtime_error;
46 [[deprecated]]
Dictionary(std::istream& aff, std::istream& dic);
50 auto load_aff_dic(std::istream& aff, std::istream& dic) -> void;
51 auto load_aff_dic(
const std::filesystem::path& aff_path) -> void;
57 auto load_aff_dic_internal(
const std::filesystem::path& aff_path,
58 std::ostream& err_msg) -> void;
60 [[deprecated]]
auto static load_from_aff_dic(std::istream& aff,
63 [[deprecated]]
auto static load_from_path(
64 const std::string& file_path_without_extension) ->
Dictionary;
65 auto spell(std::string_view word)
const -> bool;
66 auto suggest(std::string_view word, std::vector<std::string>& out)
const
70 NUSPELL_END_INLINE_NAMESPACE
The only important public exception.
Definition: dictionary.hxx:37
The only important public class.
Definition: dictionary.hxx:45
Library main namespace.
Definition: aff_data.cxx:33
Definition: suggester.hxx:27