한글 오탈자 체크 테스트 코드

This commit is contained in:
2025-01-15 12:08:21 +09:00
parent 6e5dcb8b80
commit 702a077aad

7
spellCheck.py Normal file
View File

@@ -0,0 +1,7 @@
from hanspell import spell_checker
sent = "그렇게 하면 않돼지. 왜안되"
spelled_check=spell_checker.check(sent)
hanspell_sent=spelled_check.as_dict()
print(hanspell_sent['errors'])