Spelling Corrector using the frequence of use of words in a dataset of books.
Four languages are currently supported:
- French (default)
- English
- Spanish
- German
It's also possible to use the corrector with custom sources and alphabets for other languages.
- fr :
- en :
- es :
- de :
# French correction
c = Corrector()
c.correct('orthografe')
>> orthographe
# English correction
c = Corrector(lang='en')
c.correct('mroinng')
>> morning
Spelling corrector based on that of Peter Norvig