1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

mecab,cabochaをインストール

Last updated at Posted at 2017-02-22

centOS 7 にmecabとcabochaをインストールした時のコマンド

mecabのインストール

wget -O mecab-0.996.tar.gz "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE"
tar zxfv mecab-0.996.tar.gz
cd mecab-0.996
./configure
make
make install

mecab-ipadicのインストール

wget -O mecab-ipadic-2.7.0-20070801.tar.gz "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7MWVlSDBCSXZMTXM"
tar zxfv mecab-ipadic-2.7.0-20070801.tar.gz
cd mecab-ipadic-2.7.0-20070801
./configure --with-charset=utf8
make
make install

CRF++のインストール

wget 'https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7QVR6VXJ5dWExSTQ' -O CRF++-0.58.tar.gz
tar zxvf CRF++-0.58.tar.gz
cd CRF++-0.58
./configure
make
make install

cabochaのインストール

cabochaはwgetではうまくダウンロードできなかったので別のパソコンでダウンロードしたものをscpを使って送った。

scp cabpcha-0.69.tar.bz2 ユーザ名@ホスト名:~/
bzip2 -d cabocha-0.69.tar.bz2
tar -xf cabocha-0.69.tar
cd cabocha-0.69
./configure --with-mecab- config='which mecab-config' --with-charset=UTF8
make
make install
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?