From 702a077aadfef37860aa29068712f0c5efdf4f4d Mon Sep 17 00:00:00 2001 From: waterdrw Date: Wed, 15 Jan 2025 12:08:21 +0900 Subject: [PATCH] =?UTF-8?q?=ED=95=9C=EA=B8=80=20=EC=98=A4=ED=83=88?= =?UTF-8?q?=EC=9E=90=20=EC=B2=B4=ED=81=AC=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spellCheck.py | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spellCheck.py diff --git a/spellCheck.py b/spellCheck.py new file mode 100644 index 0000000..653d1db --- /dev/null +++ b/spellCheck.py @@ -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'])