textblob1 [Python] 영어 철자 오류를 수정하는 방법 안녕하세요. 혀코입니다. 이번 시간에는 Python을 사용해서 영어 철자 오류를 수정하는 방법에 대해서 알아보겠습니다. 철자 오류 수정(spelling correction)을 진행하려면 textblob 모듈이 필요합니다. 다음 명령어를 실행해서 textblob 모듈을 설치합니다. pip install textblob 다음 코드를 작성합니다. from textblob import TextBlob #1 def Convert(string): #2 li = list(string.split()) return li str1 = input("Enter your word: ") #3 words = Convert(str1) #4 corrected_words = [] #5 for i in words: #6 correcte.. 2022. 7. 31. 이전 1 다음