Files
tldr/pages.zh/common/aspell.md
2024-08-13 19:43:20 +02:00

25 lines
568 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# aspell
> 交互式拼写检查工具。
> 更多信息:<http://aspell.net/>.
- 为一个文件做拼写检查:
`aspell check {{文件路径}}`
- 列出来自标准输入的拼写错误单词:
`cat {{文件}} | aspell list`
- 列出可用的字典语言:
`aspell dicts`
- 指定不同的语言(取 ISO 639 语言代码的 2 个字母)来运行 `aspell`
`aspell --lang={{cs}}`
- 列出来自标准输入的拼写错误单词,并且忽略个人单词列表中的单词:
`cat {{文件}} | aspell --personal={{个人单词列表.pws}} list`