Skip to content

Instantly share code, notes, and snippets.

@tamuhey
Last active February 10, 2020 06:24
Show Gist options
  • Select an option

  • Save tamuhey/0387b82cba5ca882487485eee488b737 to your computer and use it in GitHub Desktop.

Select an option

Save tamuhey/0387b82cba5ca882487485eee488b737 to your computer and use it in GitHub Desktop.
install mecab
export MECAB_URL="https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE" && \
export IPADIC_URL="https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM" && \
cd /tmp && \
wget --no-check-certificate ${MECAB_URL} -O mecab.tar.gz && \
tar xzvf mecab.tar.gz && cd mecab-0.996 && ./configure && make && make check && make install && \
rm -rf /tmp/* && \
cd /tmp && \
wget --no-check-certificate ${IPADIC_URL} -O ipadic.tar.gz && \
tar xzvf ipadic.tar.gz && cd mecab-ipadic-2.7.0-20070801 && ./configure --with-charset=utf8 && ldconfig && make && make install && \
rm -rf /tmp/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment