-
-
Save kazupon/77f615dca247a5d6aef17febade8365c 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
#!/bin/bash | |
base_dir=`pwd` | |
git clone git@github.com:taku910/mecab.git | |
cd mecab/mecab | |
./configure --enable-utf8-only | |
make | |
make check | |
sudo make install | |
sudo ldconfig | |
cd $base_dir | |
wget http://sourceforge.net/projects/mecab/files/mecab-ipadic/2.7.0-20070801/mecab-ipadic-2.7.0-20070801.tar.gz | |
tar zxvf mecab-ipadic-2.7.0-20070801.tar.gz | |
cd mecab-ipadic-2.7.0-20070801 | |
./configure --with-charset=utf8 | |
make | |
sudo make install | |
sudo ldconfig | |
cd $base_dir | |
rm -rf mecab-0.996 mecab-ipadic-2.7.0-20070801 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment