Reputation: 627
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
Reputation: 1231
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