语言检查

出自 ArchWiki
(重定向自拼写检查器

本文涵盖了拼写检查语法检查软件。

除了特殊情况外,所有拼写检查器都通用地包含两个部分:逻辑单元和字典。请确保两者都安装。

拼写检查器

http://aspell.net/ || aspell, 字典, AUR 中的字典
https://hunspell.github.io/ || hunspell, 官方仓库中的字典, AUR 中的字典
  • Nuspell — 拼写检查器库和程序,旨在作为 hunspell 的现代替代品,另请参阅 nuspell(1)
https://nuspell.github.io/ || nuspell, 支持 hunspell 字典
  • Ispell — 用于 Unix 的交互式拼写检查程序,另请参阅 ispell(1)
https://www.cs.hmc.edu/~geoff/ispell.html || ispell

特定语言

  • Hspell — 希伯来语拼写检查器
http://www.ivrix.org.il/projects/spell-checker/ || hspell
  • Voikko — 芬兰语拼写和语法检查器、断字器以及相关语言数据集合
https://voikko.sourceforge.net || libvoikko

Enchant

Enchant 是一个通用的拼写检查包装库,作为 AbiWord 的一部分开发,支持除 Ispell 之外的所有上述拼写检查器。

Enchant 以 enchant 软件包的形式提供。有关其用法和排序文件,请参阅 enchant-2(1)

许多应用程序通过以下 GTK 库使用 Enchant

  • gspell — 用于在 GTK 应用程序中实现拼写检查的灵活 API。
https://wiki.gnome.org/Projects/gspell || gspell
  • GtkSpell — 在 GtkTextView 部件中提供拼写错误单词的文字处理器样式突出显示和替换。
https://gtkspell.sourceforge.net/ || gtkspell, gtkspell3

应用程序

FirefoxThunderbirdChromiumLibreOffice 都可以使用系统范围内安装的 Hunspell 字典,以及通过它们自己的扩展系统安装的字典/其他拼写检查器。请参阅以下部分

语法检查器

  • LanguageTool — 开源语言检查器,用 Java 编写。
https://www.languagetool.org || languagetool
  • Style and Diction — Diction 识别冗长和常用的误用短语。Style 分析文档的表面特征。
https://gnu.ac.cn/software/diction/ || dictionAUR
  • TeXtidote — 用于 LaTeX 文档的语言检查器,依赖于 LanguageTool。
https://sylvainhalle.github.io/textidote/ || textidote-binAUR

应用程序

FirefoxThunderbirdChromiumLibreOffice 都仅通过扩展支持语法检查。对于 LibreOffice,请参阅 LibreOffice#使用 LanguageTool 进行语法检查

AbiWord 具有内置的语法检查器,请参阅 AbiWord#语法检查