Deep Learning/NLP
Py-Hanspell
Jun's N
2022. 5. 15. 16:26
!pip install git+https://github.com/ssut/py-hanspell.git
from hanspell import spell_checker
sent = "맞춤법 틀리면 외 않되? 내마음대로쓰면돼지 "
spelled_sent = spell_checker.check(sent)
hanspell_sent = spelled_sent.checked
print(hanspell_sent)
맞춤법 틀리면 왜 안돼? 내 마음대로 쓰면 되지 # 출력 결과
네이버 한글 맞춤법 검사기를 토대로 만들어진 한국어 전처리 패키지
728x90