728x90
반응형
Mecab(은전한닢)
eunjeon.blogspot.com/2013/02/blog-post.html
bitbucket.org/eunjeon/mecab-ko-dic/src/master/
Docker 내에 Mecab 설치하기
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git && \
apt-get install -y curl && \
apt-get install -y bash && \
apt-get install -y python3-dev
RUN bash -c "$(curl -s https://raw.githubusercontent.com/konlpy/konlpy/master/scripts/mecab.sh)"
RUN git clone https://bitbucket.org/eunjeon/mecab-python-0.996.git
WORKDIR /www/mecab-python-0.996
RUN python setup.py build
RUN python setup.py install
WORKDIR /www
RUN wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.9.2.tar.gz
RUN tar -zxvf mecab-0.996-ko-0.9.2.tar.gz
WORKDIR /www/mecab-0.996-ko-0.9.2
RUN ./configure
RUN make
RUN make check
RUN make install
WORKDIR /www
RUN wget https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.0.1-20150920.tar.gz
RUN tar -zxvf mecab-ko-dic-2.0.1-20150920.tar.gz
WORKDIR /www/mecab-ko-dic-2.0.1-20150920/
RUN ./autogen.sh
RUN ./configure
RUN make
RUN make install
WORKDIR /www
728x90
반응형
'NLP > KoNLPy' 카테고리의 다른 글
[NLP] Mecab 설치(Windows OS) (0) | 2021.04.21 |
---|---|
[NLP] soynlp (0) | 2021.04.11 |
[NLP] Khaii (0) | 2021.03.18 |
[NLP] Okt (0) | 2021.03.18 |
[NLP] KoNLPy (0) | 2021.03.11 |