我目前正在尝试改进一些文本数据的拼写,为此我正在使用 pyEnchant 1.6.8(python3.3,Windows 8)。就供应商而言,只有 Myspell 和 Ispell 可用。
我想尝试使用 Aspell,因为我在某处读过它在 store_replacement 方法方面效率更高。Aspell 安装在我正在使用的计算机上,但未显示在提供程序列表中:
b = enchant.Broker()
b.describe()
[<Enchant: Ispell Provider>, <Enchant: Myspell Provider>]
另外,我尝试检查 .dll 所在的目录中的内容([...]\WINPYTHON.3355\python-3.3.5\Lib\site-packages\enchant\lib\enchant),并且有只有libenchant_ispell.dll和libenchant_myspell.dll,那里没有 aspell 文件。
尽管可能很天真,但我尝试在那里复制一个 Aspell .dll 文件,但它没有任何改进。
请问有人有想法吗?