跳转至内容

语言检查

来自 ArchWiki
(重定向自 Enchant)

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

除了特殊情况外,所有拼写检查器都有一个共同点:它们由两部分组成:逻辑单元和字典。请确保同时安装这两部分。

拼写检查器

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

特定语言

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

Enchant

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

Enchant 可作为 enchant 包使用。有关其用法和排序文件,请参阅 enchant-2(1)

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

  • gspell — 用于在 GTK 应用程序中实现拼写检查的灵活 API。
https://wiki.gnome.org/Projects/gspell || gspell
  • GtkSpell — 在 GtkTextView 小部件中提供文字处理器风格的拼写错误高亮和替换功能。
https://gtkspell.sourceforge.net/ || gtkspellAUR, gtkspell3

应用程序

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

语法检查器

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

应用程序

Firefox, Thunderbird, ChromiumLibreOffice 都仅通过扩展支持语法检查。对于 LibreOffice,请参阅 LibreOffice#Grammar checking with LanguageTool

AbiWord 内置了语法检查器,请参阅 AbiWord#Grammar checking

© . This site is unofficial and not affiliated with Arch Linux.

Content is available under GNU Free Documentation License 1.3 or later unless otherwise noted.