Added
- Added build System CMake. Supports building as shared library.
Changed
- Public API changed again, last for v2:
Dictionary::suggest()
return data inside simplevector<string>
.
List_Strings
is not used anymore.- Constructors of class
Dictionary
likeDictionary::load_from_path()
throwDictionary_Loading_Error
on error. Previously they were throwing
ios_base::failure
.
- Boost::Locale is not dependency of library Nuspell anymore. It is still a
dependency of the CLI tool. The library depends directly on ICU. Internally,
all string now are in Unicode (UTF-8 or UTF-32, it depends of the need).
Removed
- Removed old Autotools build system.
- Removed
NOSUGGEST_MODE
in CLI tool. It was very similar to
MISSPELLED_WORDS_MODE
. - Class
Finder
does not search for Myspell dictionaries on the file-system
anymore.
Fixed
- Support compiling with GCC 5. Previously GCC 7 was needed.
- Faster dictionary loading and better internal error handing when parsing a
dictionary file. - Faster spellchecking as a consequence of faster case classification, which
in turn, is a consequence of all string being Unicode and directly using ICU.