Created
May 7, 2010 06:29
-
-
Save kei-s/393139 to your computer and use it in GitHub Desktop.
install mecab with ruby
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
$ wget http://downloads.sourceforge.net/project/mecab/mecab/0.98/mecab-0.98.tar.gz | |
$ tar zxvf mecab-0.98.tar.gz | |
$ cd mecab-0.98 | |
$ ./configure | |
$ make | |
$ make check | |
$ sudo make install | |
$ wget http://downloads.sourceforge.net/project/mecab/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 | |
$ sudo ldconfig | |
$ make | |
$ sudo make install | |
$ wget http://nchc.dl.sourceforge.net/sourceforge/mecab/mecab-ruby-0.98.tar.gz | |
$ tar zxvf mecab-ruby-0.98.tar.gz | |
$ cd mecab-ruby-0.98 | |
$ gem build mecab-ruby.gemspec | |
$ gem install mecab-ruby-0.97.gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment