Language checking: Difference between revisions

From ArchWiki
(Add link to zh-hans wiki.)
(update Pkg/AUR templates)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
[[es:Language checking]]
[[es:Language checking]]
[[pt:Language checking]]
[[pt:Language checking]]
[[ja:言語チェック]]
[[zh-hans:Language checking]]
[[zh-hans:Language checking]]
This article covers [[Wikipedia:Spell checker|spell checking]] and [[Wikipedia:Grammar checker|grammar checking]] software.
This article covers [[Wikipedia:Spell checker|spell checking]] and [[Wikipedia:Grammar checker|grammar checking]] software.
Line 24: Line 25:
[[Wikipedia:Enchant (software)|Enchant]] is a wrapper library for generic spell checking, developed as part of [[AbiWord]], supporting all above spell checkers apart from Ispell.
[[Wikipedia:Enchant (software)|Enchant]] is a wrapper library for generic spell checking, developed as part of [[AbiWord]], supporting all above spell checkers apart from Ispell.


Enchant is available as the {{Pkg|enchant}} package. It is also provided by the {{AUR|enchant-pure}} package with minimal dependencies. For its usage and ordering file, see {{man|1|enchant-2}}.
Enchant is available as the {{Pkg|enchant}} package. It is also provided by the {{AUR|enchant-pure}}{{Broken package link|package not found}} package with minimal dependencies. For its usage and ordering file, see {{man|1|enchant-2}}.


Enchant is used by many applications through the following [[GTK]] libraries:
Enchant is used by many applications through the following [[GTK]] libraries:

Latest revision as of 21:23, 19 April 2024

This article covers spell checking and grammar checking software.

Except for special cases, all spell checkers have in common that they consist of two parts: the logic unit and the dictionary. Make sure to install both.

Spell checkers

http://aspell.net/ || aspell, dictionaries, dictionaries in AUR
  • Hunspell — Spell checker and morphological analyzer library and program, see also hunspell(1).
https://hunspell.github.io/ || hunspell, dictionaries in the official repositories, dictionaries in AUR
  • Nuspell — Spell checker library and program designed as a modern alternative to hunspell, see also nuspell(1).
https://nuspell.github.io/ || nuspell, supports hunspell dictionaries
  • Ispell — Interactive spell-checking program for Unix, see also ispell(1).
https://www.cs.hmc.edu/~geoff/ispell.html || ispell

Language-specific

  • Hspell — Hebrew spell-checker
http://www.ivrix.org.il/projects/spell-checker/ || hspell
  • Voikko — Finnish spelling and grammar checker, hyphenator and collection of related linguistic data
https://voikko.sourceforge.net || libvoikko

Enchant

Enchant is a wrapper library for generic spell checking, developed as part of AbiWord, supporting all above spell checkers apart from Ispell.

Enchant is available as the enchant package. It is also provided by the enchant-pureAUR[broken link: package not found] package with minimal dependencies. For its usage and ordering file, see enchant-2(1).

Enchant is used by many applications through the following GTK libraries:

  • gspell — Flexible API to implement spell checking in GTK applications.
https://wiki.gnome.org/Projects/gspell || gspell
  • GtkSpell — Provides word-processor-style highlighting and replacement of misspelled words in a GtkTextView widget.
http://gtkspell.sourceforge.net/ || gtkspell, gtkspell3

Applications

Firefox, Thunderbird, Chromium and LibreOffice can all use system-wide installed Hunspell dictionaries as well as dictionaries/other spell checkers installed through their own extension systems. See the following sections:

AbiWord and Gedit use Enchant.

Grammar checkers

  • LanguageTool — Open source language checker, written in Java.
https://www.languagetool.org || languagetool
  • Style and Diction — Diction identifies wordy and commonly misused phrases. Style analyses surface characteristics of a document.
https://www.gnu.org/software/diction/ || dictionAUR
  • TeXtidote — Language checker for LaTeX documents, relies on LanguageTool.
https://sylvainhalle.github.io/textidote/ || textidote-binAUR

Applications

Firefox, Thunderbird, Chromium and LibreOffice all support grammar checking only through extensions. For LibreOffice, see LibreOffice#Grammar checking.

AbiWord has a built-in grammar checker, see AbiWord#Grammar checking.