4

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!

Gaurav
  • 617
  • 2
  • 9
  • 23

1 Answers1

3

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.

Raymond Valdes
  • 1,161
  • 1
  • 9
  • 15