LibreOffice Spell and Grammar Checking Engines
LibreOffice relies on a modular architecture of open-source linguistic engines to provide text proofing across hundreds of languages. The primary engines handling proofing tasks include Hunspell for spell checking, Lightproof and LanguageTool for grammar analysis, MyThes for thesaurus support, and Libhyphen for automatic hyphenation.
Primary Spell Checking Engines
- Hunspell: This is the default and most prominent
spell checking engine used by LibreOffice. Originally developed for
Hungarian, Hunspell is designed to handle complex morphology, rich
compounding, and word-formation rules in agglutinative languages. It
uses dictionary (
.dic) and affix (.aff) files to identify incorrect words and suggest corrections. - Platform-Native Spell Checkers: On certain operating systems, particularly macOS, LibreOffice can interface directly with native system spell checkers (such as Appleās NSSpellChecker) alongside or in place of Hunspell.
Grammar Checking Engines
- Lightproof: Built directly into LibreOffice as a lightweight, Python-based grammar checking framework, Lightproof handles rule-based grammar, punctuation, and style checks. It provides default grammar verification for specific languages, including English, Russian, and Hungarian, without requiring high system resource overhead.
- LanguageTool: LibreOffice features deep integration with LanguageTool, an advanced open-source, multilingual grammar and style checker. Users can connect to LanguageTool locally or via an API server to check complex sentence structures, contextual spelling errors (such as homophones), and style inconsistencies across dozens of languages.
Additional Linguistic Engines
- Libhyphen (Hyphen): Integrated to handle text justification and hyphenation rules across different languages using specialized pattern dictionaries.
- MyThes: The core thesaurus engine in LibreOffice, providing structured synonym and antonym lookups through index-based thesaurus files.