반응형
komorandocs.readthedocs.io/ko/latest/pykomoran/installation.html
konlpy-ko.readthedocs.io/ko/latest/api/konlpy.tag/#okt-class
konlpy-ko.readthedocs.io/ko/latest/api/konlpy.tag/#module-konlpy.tag._komoran
> pip install PyKomoran
> python
>>> from PyKomoran import *
>>> komoran = Komoran(DEFAULT_MODEL['FULL'])
>>>
>>> from konlpy.tag import Okt
>>> okt = Okt()
>>> okt.nouns(u'오픈소스에 관심 많은 ')
['오픈소스', '관심']
>>> komoran.nouns(u'오픈소스에 관심 많은 ')
['오픈', '소스', '관심']
>>>
반응형