myspell

Add dictionary to pyenchant

你说的曾经没有我的故事 提交于 2021-02-08 07:42:34
问题 Using Mac OSX 10.12.3 with Python 3. I have installed pyenchant but it only works with the preinstalled dictionaries. import enchant print(enchant.list_languages()) ['de_DE', 'en_AU', 'en_GB', 'en_US', 'fr_FR'] I have installed Homebrew and tried to install the Swedish language dictionary from ftp://ftp.gnu.org/gnu/aspell/dict/0index.html following this answer: https://stackoverflow.com/a/35757817/4802426 brew install aspell-sv Error: No available formula with the name "aspell-sv" ==>