语言检查

出自 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#语法检查