I would like to correct the misspelled words of a text in french, it seems that spacy is the most accurate and faster package to do it, but it's to complex, I tried with textblob, but I didn't manage to do it with french words.
It works perfectly in english, but when I try to do the same in french I get the same misspelled words:
#english words
from textblob import TextBlob
misspelled=["hapenning", "mornin", "windoow", "jaket"]
[str(TextBlob(word).correct()) for word in misspelled]
#french words
misspelled2=["resaissir", "matinnée", "plonbier", "tecnicien"]
[str(TextBlob(word).correct()) for word in misspelled2]
I get this:
#english:
['happening', 'morning', 'window', 'jacket']
#french:
['resaissir', 'matinnée', 'plonbier', 'tecnicien']