본문 바로가기

C.E/Python(DeepLearning)

mecab (KoNLPy 설치 방법)

mecab (KoNLPy 설치 방법)

# Install Java 1.7 or up

sudo apt-get install g++ openjdk-7-jdk python-dev python3-dev

#Install dependencies

pip3 install JPype1-py3


# Install Java 1.7 or up

pip3 install konlpy


#MeCab 설치하기

sudo apt-get install curl

bash <(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh)