✅ Spelling corrector - Python
Spelling Corrector using the frequence of use of words in a dataset of books.
Four languages are currently supported:
It’s also possible to use the corrector with custom sources and alphabets for other languages.
# 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