728x90

Mecab 설치

pip install eunjeon

Mecab 사용법

 

text = "오늘은 신나는 목요일입니다. 형태소 분석기를 테스트합니다."
m = Mecab()
text = m.pos(text)
print(text)
728x90

+ Recent posts