from textblob import TextBlob s = "i m lve in wth you" print("original text: "+str(s)) b = TextBlob(s) print("corrected text: "+str(b.correct()))