pyenchant for spanish

1.5k Views Asked by At

Is there a pyenchant library for spanish.

I know this can help to check for English words

enchant.Dict("en_US")

But do you know any library i can use for spanish

I am using Python!

1

There are 1 best solutions below

0
On

This answer is for OSX:

Enchant can be used as a front-end to the GNU Aspell language library. You can install additional languages with GNU Aspell using homebrew.

brew remove aspell
brew install aspell --with-lang-es --with-lang-en

Your python scripts now will have access to the es spanish language. Other languages are available and can be viewed by running brew info aspell.