Search code examples
pythonnlpnltkspell-checking

Spell checker for non-English languages in Python


I am trying to find a Spell Checker in Python which can be used in different languages apart from English, I am specially interested in Portuguese. By doing my research, the best I have found so far is the Bing Spell Check API for Python, by Microsoft.

However, to use it you need an Azure account in order to get the keys. I was wondering if there exists any other alternative where I can get the spell check with its suggestions by free. So far I have found PyEnchant library, but it is out-of-date, and autocorrection library, which only supports English language.

I have also found Peter Norvig's code, but I was wondering if there is any other implementation for spell checking that have been tested in other languages.


Solution

  • Bing Spell Check API has a free tier with limited # calls and TPS: https://portal.azure.com/#create/Microsoft.CognitiveServicesBingSpellCheck-v7. Select the F0 tier.