aspell(mac homebrew)运行,但由于缺少(?)cset文件而无法进行拼写检查

问题描述 投票:0回答:1

我在新 MacBook 上安装 aspell 时遇到问题。

Aspell 存在,并且在可执行作品的意义上起作用:

❯ aspell -v
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8.1)

但是,如果我用它来检查拼写,它会抱怨:

❯ cat ~/text.txt | aspell -a
.cset" could not be opened for reading or does not exist.homebrew/Cellar/aspell/0.60.8.1_1/lib/aspell-0.60/

一开始我以为是flyspell/emacs错误,它抱怨

"/opt/homebrew/Cellar/aspell/0.60.8.1_1/lib/aspell-0.60/ .cset" could not be opened
,所以可能存在mac相关的换行错误? Aspell 在我的旧机器上开箱即用,不确定这是否有帮助。

我是否正确地读到它试图找到一个“空”cset,这当然是行不通的?我应该在这里看什么,非常感谢任何帮助! :)

homebrew aspell
1个回答
0
投票

使用 macOS 14.4,我有:

$ aspell -v
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8.1)

跑步:

$ echo My apple is good. > text.txt
$ cat text.txt | aspell -a

给我:

@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.8.1)
*
*
*
*

看起来不错。

所以我建议重新安装aspell:

brew reinstall aspell
© www.soinside.com 2019 - 2024. All rights reserved.