한글 오탈자 체크 테스트 코드
This commit is contained in:
7
spellCheck.py
Normal file
7
spellCheck.py
Normal 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'])
|
||||||
Reference in New Issue
Block a user