Last active
June 8, 2017 09:42
-
-
Save Code-Hex/86441656d3d8f23731adbf167aeb1b72 to your computer and use it in GitHub Desktop.
cabocha_install.sh
This file contains hidden or 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` | |
| export PATH=/usr/local/bin:$PATH | |
| wget -O CRF++-0.58.tar.gz "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7QVR6VXJ5dWExSTQ" | |
| tar xzvf CRF++-0.58.tar.gz | |
| cd CRF++-0.58 | |
| ./configure | |
| make | |
| sudo make install | |
| sudo ldconfig | |
| cd $base_dir | |
| curl https://gist.githubusercontent.com/Code-Hex/5c6bbcd3f9e89fed638d23afeaf99547/raw/ca041485e8b1aef861820d5de72eb5fbad469d6e/cabocha-download.pl | perl | |
| tar xjf cabocha-0.69.tar.bz2 | |
| cd cabocha-0.69 | |
| ./configure --enable-utf8-only | |
| make | |
| make check | |
| sudo make install | |
| sudo ldconfig | |
| cd $base_dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment