์์ฐ์ด ์ฒ๋ฆฌ/Today I learned :
[์์ฐ์ด ์ฒ๋ฆฌ] ๋ง์ถค๋ฒ ์ ์ฒ๋ฆฌ ๊ต์ Py-Hanspell ์์
์ฃผ์ ๐ฑ
2023. 1. 3. 18:24
728x90
๋ฐ์ํ
!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)
์ด์ ๋ ์ ์ค์ด. ๊ฐ๊ธฐ ๋นจ๋ฆฌ ๋์!
๋ฐ์ํ