└── Sourcecode /Sourcecode: -------------------------------------------------------------------------------- 1 | from textblob import TextBlob 2 | 3 | sentence = TextBlob(input("Enter: ")) 4 | result = sentence.correct() 5 | print("Corrected Sentence:", result) 6 | --------------------------------------------------------------------------------