Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created November 30, 2020 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/bab5c8d9092fd92b823f8099228bbce0 to your computer and use it in GitHub Desktop.
Save amankharwal/bab5c8d9092fd92b823f8099228bbce0 to your computer and use it in GitHub Desktop.
from textblob import TextBlob
words = ["Machne", "Learnin"]
corrected_words = []
for i in words:
corrected_words.append(TextBlob(i))
print("Wrong words :", words)
print("Corrected Words are :")
for i in corrected_words:
print(i.correct(), end=" ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment