Last active
May 7, 2021 12:29
-
-
Save koonagi/22c378468f8d4a85e594be29653ee9e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jupyter/datascience-notebook | |
USER root | |
# Update | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
RUN apt-get -y dist-upgrade | |
# MeCab + mecab-ipadic-NEologd (/usr/lib/x86_64-linux-gnu/mecab/dic/mecab-ipadic-neologd) | |
RUN apt-get install -y mecab libmecab-dev mecab-ipadic mecab-ipadic-utf8 file | |
RUN git clone --depth 1 https://github.com/neologd/mecab-ipadic-neologd.git | |
RUN mecab-ipadic-neologd/bin/install-mecab-ipadic-neologd -n -y | |
RUN pip install mecab-python3 | |
RUN cp /etc/mecabrc /usr/local/etc/ | |
# Word2vec(gensim) | |
# RUN pip install gensim #latest | |
RUN pip install gensim==3.8.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment