Files
diw/spellCheck.py

8 lines
193 B
Python
Raw Normal View History

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