Senna Installieren mit Tritonn und MySQL und Mecab
MECAB
Mecab Homepage http://mecab.sourceforge.net/
Mecab download http://sourceforge.net/project/showfiles.php?group_id=177856
./configure --prefix=/usr --with-charset=utf8 make && make install
IPA dic
http://sourceforge.net/project/showfiles.php?group_id=177856
./configure --with-charset=utf8 make && make install
Ipadic Index bauen
/usr/libexec/mecab/mecab-dict-index -c utf8
Senna
http://qwik.jp/senna/install.html
http://sourceforge.jp/projects/senna/files/
./configure --prefix=/usr
Tritonn und Mysql
MySQL besorgen Runterladen: http://dev.mysql.com/downloads/mysql/5.0.html#downloads
Dabei muss man darauf achten, dass der patch dazu passt.
Tritonn binding für senna besorgen: http://qwik.jp/tritonn/
MySQL-Dateien patchen
patch -p1 < ../mysql-5.0.37.senna.diff
MySQL bauen
libtoolize -c -f aclocal-1.9 autoheader automake-1.9 -c -a -i autoconf touch sql/sql_yacc.yy CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors \ -fno-exceptions -fno-rtti"./configure \ --prefix=/usr/local/mysql \ --localstatedir=/usr/local/mysql/data \ --libexecdir=/usr/local/mysql/bin \ --enable-thread-safe-client \ --enable-local-infile \ --enable-assembler \ --with-pic \ --with-fast-mutexes \ --disable-shared \ --with-zlib-dir=bundled \ --with-big-tables \ --with-yassl \ --with-readline \ --with-archive-storage-engine \ --with-blackhole-storage-engine \ --with-example-storage-engine \ --with-federated-storage-engine \ --with-innodb \ --with-extra-charsets=complex \ --with-senna --with-mecab make && make install
Überblick
Inhalte