Sagemaker에서 Mecab을 설치해보자

Halo·2022년 5월 10일
0

AWS

목록 보기
3/3
post-thumbnail
pip install konlpy

Sagemaker Terminal에서 진행

wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz
tar xvfz mecab-0.996-ko-0.9.2.tar.gz
cd mecab-0.996-ko-0.9.2
./configure
make
make check
sudo make install
sudo ldconfig
mecab --version
---
mecab of 0.996/ko-0.9.2
wget https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.1.1-20180720.tar.gz
tar xvfz mecab-ko-dic-2.1.1-20180720.tar.gz
cd mecab-ko-dic-2.1.1-20180720
autoreconf
./configure
make
sudo make install
pip install mecab-python

참조1
참조2

profile
일단 해보자 !

0개의 댓글