Installation and use of morphological analysis (PHP)
Installation Environment: Centos7 Basic, php7 Yum Install GCC-C ++ Java-1.7.0-OPENJDK-Devel Python-Devel ZLIB-Devel OpenSSL-Devel Git-Y wget https://www.python.org/ftp/python/3.6.1/python-3.6.1.tgz TAR XF Python-3.* CD Python-3.* ./configure make Make Altinstall pip3.6 Install jpype1-Py3 PIP3.6 Install Konlpy CD .. wget https://bitbucket.org/eunjeon/mecab-ko/downloads/mecab-0.996-ko-0.2.tar.gz TAR ZXFV MECAB-0.996-KO-0.2.2.tar.gz CD Mecab-0.996-KO-0.9.2 ./configure make Make Install CD .. wget https://bitbucket.org/eunjeon/mecab-ko-dic/downloads/mecab-ko-dic-2.0.1-20150920.tar.gz TAR ZXFV MECAB-KO-DIC-2.0.1-20150920.tar.gz CD MECAB-KO-DIC-2.0.1-20150920 ./autogen.sh ./configure make Make Install CD/USR/Local/SRC/ git clone https://github.com/rsky/php-mecab.git CD/USR/LOCAL/SRC/PHP-MECAB/MECAB phpize ./configure --with-PHP-config =/usr/bin/php-config --with-mecab =/usr/local/bin/mecab-config make make test Make Install Echo "Extension = mecab.so"> /etc/php.d/mecab.ini Systemctl Restart httpd.service PHP ...