Gaurav
Gaurav

Reputation: 627

pyenchant for spanish

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!

Upvotes: 4

Views: 1622

Answers (1)

Raymond Valdes
Raymond Valdes

Reputation: 1231

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.

Upvotes: 3

Related Questions