Building an environment to use CaboCha with google colaboratory

Introduction

100 Language Processing Knock 2015 Chapter 5: I've had a lot of trouble getting to use CaboCha, which is needed for parsing, so I'll summarize it.

About google colabratory

Mainly used as a python cloud environment, but shell commands can be used.

!{Shell command}
!pip install library name

You can use shell commands like this.

The OS you are using seems to be Ubuntu, so if you check it with a command

!cat /etc/lsb-release 

Try to do the above.

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS"

I was able to confirm that the version is 18.04 on Ubuntu.

Also, in the case of directory movement

%cd File name you want to move

Note that you cannot move the directory unless you add % instead of ! At the beginning.

Environment

There are three packages: Install in order from the top.

CRF++

!apt install -y \
    curl \
    file \
    git \
    libmecab-dev \
    make \
    mecab \
    mecab-ipadic-utf8 \
    swig \
    xz-utils
!pip install mecab-python3
Execution result

``` Reading package lists... Done Building dependency tree
Reading state information... Done make is already the newest version (4.1-9.1ubuntu1). make set to manually installed. xz-utils is already the newest version (5.2.2-1.3). xz-utils set to manually installed. curl is already the newest version (7.58.0-2ubuntu3.8). git is already the newest version (1:2.17.1-1ubuntu0.4). The following additional packages will be installed: libmagic-mgc libmagic1 libmecab2 mecab-ipadic mecab-jumandic mecab-jumandic-utf8 mecab-utils swig3.0 Suggested packages: swig-doc swig-examples swig3.0-examples swig3.0-doc The following NEW packages will be installed: file libmagic-mgc libmagic1 libmecab-dev libmecab2 mecab mecab-ipadic mecab-ipadic-utf8 mecab-jumandic mecab-jumandic-utf8 mecab-utils swig swig3.0 0 upgraded, 13 newly installed, 0 to remove and 35 not upgraded. Need to get 30.4 MB of archives. After this operation, 288 MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic-mgc amd64 1:5.32-2ubuntu0.3 [184 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmagic1 amd64 1:5.32-2ubuntu0.3 [68.7 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 file amd64 1:5.32-2ubuntu0.3 [22.1 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmecab2 amd64 0.996-5 [257 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libmecab-dev amd64 0.996-5 [308 kB] Get:6 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mecab-utils amd64 0.996-5 [4,856 B] Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mecab-jumandic-utf8 all 7.0-20130310-4 [16.2 MB] Get:8 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mecab-jumandic all 7.0-20130310-4 [2,212 B] Get:9 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mecab-ipadic all 2.7.0-20070801+main-1 [12.1 MB] Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mecab amd64 0.996-5 [132 kB] Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 mecab-ipadic-utf8 all 2.7.0-20070801+main-1 [3,522 B] Get:12 http://archive.ubuntu.com/ubuntu bionic/universe amd64 swig3.0 amd64 3.0.12-1 [1,094 kB] Get:13 http://archive.ubuntu.com/ubuntu bionic/universe amd64 swig amd64 3.0.12-1 [6,460 B] Fetched 30.4 MB in 1s (28.6 MB/s) Selecting previously unselected package libmagic-mgc. (Reading database ... 132684 files and directories currently installed.) Preparing to unpack .../00-libmagic-mgc_1%3a5.32-2ubuntu0.3_amd64.deb ... Unpacking libmagic-mgc (1:5.32-2ubuntu0.3) ... Selecting previously unselected package libmagic1:amd64. Preparing to unpack .../01-libmagic1_1%3a5.32-2ubuntu0.3_amd64.deb ... Unpacking libmagic1:amd64 (1:5.32-2ubuntu0.3) ... Selecting previously unselected package file. Preparing to unpack .../02-file_1%3a5.32-2ubuntu0.3_amd64.deb ... Unpacking file (1:5.32-2ubuntu0.3) ... Selecting previously unselected package libmecab2:amd64. Preparing to unpack .../03-libmecab2_0.996-5_amd64.deb ... Unpacking libmecab2:amd64 (0.996-5) ... Selecting previously unselected package libmecab-dev. Preparing to unpack .../04-libmecab-dev_0.996-5_amd64.deb ... Unpacking libmecab-dev (0.996-5) ... Selecting previously unselected package mecab-utils. Preparing to unpack .../05-mecab-utils_0.996-5_amd64.deb ... Unpacking mecab-utils (0.996-5) ... Selecting previously unselected package mecab-jumandic-utf8. Preparing to unpack .../06-mecab-jumandic-utf8_7.0-20130310-4_all.deb ... Unpacking mecab-jumandic-utf8 (7.0-20130310-4) ... Selecting previously unselected package mecab-jumandic. Preparing to unpack .../07-mecab-jumandic_7.0-20130310-4_all.deb ... Unpacking mecab-jumandic (7.0-20130310-4) ... Selecting previously unselected package mecab-ipadic. Preparing to unpack .../08-mecab-ipadic_2.7.0-20070801+main-1_all.deb ... Unpacking mecab-ipadic (2.7.0-20070801+main-1) ... Selecting previously unselected package mecab. Preparing to unpack .../09-mecab_0.996-5_amd64.deb ... Unpacking mecab (0.996-5) ... Selecting previously unselected package mecab-ipadic-utf8. Preparing to unpack .../10-mecab-ipadic-utf8_2.7.0-20070801+main-1_all.deb ... Unpacking mecab-ipadic-utf8 (2.7.0-20070801+main-1) ... Selecting previously unselected package swig3.0. Preparing to unpack .../11-swig3.0_3.0.12-1_amd64.deb ... Unpacking swig3.0 (3.0.12-1) ... Selecting previously unselected package swig. Preparing to unpack .../12-swig_3.0.12-1_amd64.deb ... Unpacking swig (3.0.12-1) ... Setting up swig3.0 (3.0.12-1) ... Setting up libmecab2:amd64 (0.996-5) ... Setting up libmagic-mgc (1:5.32-2ubuntu0.3) ... Setting up libmagic1:amd64 (1:5.32-2ubuntu0.3) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Setting up mecab-utils (0.996-5) ... Setting up mecab-ipadic (2.7.0-20070801+main-1) ... Compiling IPA dictionary for Mecab. This takes long time... reading /usr/share/mecab/dic/ipadic/unk.def ... 40 emitting double-array: 100% |###########################################| /usr/share/mecab/dic/ipadic/model.def is not found. skipped. reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208 reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999 reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42 reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27327 reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146 reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146 reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750 reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135 reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328 reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120 reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221 reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477 reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171 reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668 reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202 reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252 reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199 reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393 reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19 reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032 reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795 reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151 reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42 reading /usr/share/mecab/dic/ipadic/Others.csv ... 2 reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91 reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210 emitting double-array: 100% |###########################################| reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316 emitting matrix : 100% |###########################################|

done! update-alternatives: using /var/lib/mecab/dic/ipadic to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode Setting up swig (3.0.12-1) ... Setting up libmecab-dev (0.996-5) ... Setting up file (1:5.32-2ubuntu0.3) ... Setting up mecab-jumandic-utf8 (7.0-20130310-4) ... Compiling Juman dictionary for Mecab. reading /usr/share/mecab/dic/juman/unk.def ... 37 emitting double-array: 100% |###########################################| reading /usr/share/mecab/dic/juman/Noun.keishiki.csv ... 8 reading /usr/share/mecab/dic/juman/Postp.csv ... 108 reading /usr/share/mecab/dic/juman/Noun.hukusi.csv ... 81 reading /usr/share/mecab/dic/juman/Noun.koyuu.csv ... 7964 reading /usr/share/mecab/dic/juman/AuxV.csv ... 593 reading /usr/share/mecab/dic/juman/Prefix.csv ... 90 reading /usr/share/mecab/dic/juman/Wikipedia.csv ... 167709 reading /usr/share/mecab/dic/juman/Suffix.csv ... 2128 reading /usr/share/mecab/dic/juman/Emoticon.csv ... 972 reading /usr/share/mecab/dic/juman/Assert.csv ... 34 reading /usr/share/mecab/dic/juman/Demonstrative.csv ... 97 reading /usr/share/mecab/dic/juman/Auto.csv ... 18931 reading /usr/share/mecab/dic/juman/Rengo.csv ... 1118 reading /usr/share/mecab/dic/juman/ContentW.csv ... 551145 reading /usr/share/mecab/dic/juman/Noun.suusi.csv ... 49 reading /usr/share/mecab/dic/juman/Special.csv ... 158 emitting double-array: 100% |###########################################| reading /usr/share/mecab/dic/juman/matrix.def ... 1876x1876 emitting matrix : 100% |###########################################|

done! Setting up mecab-ipadic-utf8 (2.7.0-20070801+main-1) ... Compiling IPA dictionary for Mecab. This takes long time... reading /usr/share/mecab/dic/ipadic/unk.def ... 40 emitting double-array: 100% |###########################################| /usr/share/mecab/dic/ipadic/model.def is not found. skipped. reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208 reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999 reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42 reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27327 reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146 reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146 reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750 reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135 reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328 reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120 reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221 reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477 reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171 reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668 reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202 reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252 reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199 reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393 reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19 reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032 reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795 reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151 reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42 reading /usr/share/mecab/dic/ipadic/Others.csv ... 2 reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91 reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210 emitting double-array: 100% |###########################################| reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316 emitting matrix : 100% |###########################################|

done! update-alternatives: using /var/lib/mecab/dic/ipadic-utf8 to provide /var/lib/mecab/dic/debian (mecab-dictionary) in auto mode Setting up mecab (0.996-5) ... Compiling IPA dictionary for Mecab. This takes long time... reading /usr/share/mecab/dic/ipadic/unk.def ... 40 emitting double-array: 100% |###########################################| /usr/share/mecab/dic/ipadic/model.def is not found. skipped. reading /usr/share/mecab/dic/ipadic/Symbol.csv ... 208 reading /usr/share/mecab/dic/ipadic/Noun.place.csv ... 72999 reading /usr/share/mecab/dic/ipadic/Noun.nai.csv ... 42 reading /usr/share/mecab/dic/ipadic/Noun.proper.csv ... 27327 reading /usr/share/mecab/dic/ipadic/Noun.verbal.csv ... 12146 reading /usr/share/mecab/dic/ipadic/Postp.csv ... 146 reading /usr/share/mecab/dic/ipadic/Verb.csv ... 130750 reading /usr/share/mecab/dic/ipadic/Adnominal.csv ... 135 reading /usr/share/mecab/dic/ipadic/Noun.adjv.csv ... 3328 reading /usr/share/mecab/dic/ipadic/Noun.demonst.csv ... 120 reading /usr/share/mecab/dic/ipadic/Prefix.csv ... 221 reading /usr/share/mecab/dic/ipadic/Noun.csv ... 60477 reading /usr/share/mecab/dic/ipadic/Conjunction.csv ... 171 reading /usr/share/mecab/dic/ipadic/Noun.org.csv ... 16668 reading /usr/share/mecab/dic/ipadic/Noun.name.csv ... 34202 reading /usr/share/mecab/dic/ipadic/Interjection.csv ... 252 reading /usr/share/mecab/dic/ipadic/Auxil.csv ... 199 reading /usr/share/mecab/dic/ipadic/Suffix.csv ... 1393 reading /usr/share/mecab/dic/ipadic/Filler.csv ... 19 reading /usr/share/mecab/dic/ipadic/Adverb.csv ... 3032 reading /usr/share/mecab/dic/ipadic/Noun.adverbal.csv ... 795 reading /usr/share/mecab/dic/ipadic/Noun.others.csv ... 151 reading /usr/share/mecab/dic/ipadic/Noun.number.csv ... 42 reading /usr/share/mecab/dic/ipadic/Others.csv ... 2 reading /usr/share/mecab/dic/ipadic/Postp-col.csv ... 91 reading /usr/share/mecab/dic/ipadic/Adj.csv ... 27210 emitting double-array: 100% |###########################################| reading /usr/share/mecab/dic/ipadic/matrix.def ... 1316x1316 emitting matrix : 100% |###########################################|

done! Setting up mecab-jumandic (7.0-20130310-4) ... Collecting mecab-python3 Downloading https://files.pythonhosted.org/packages/b3/92/e7e7f38df8457fa40c1ca86928be5ddbe2bf341e90a35e6ada30d03ef16d/mecab_python3-0.996.2-cp36-cp36m-manylinux1_x86_64.whl (15.9MB) |████████████████████████████████| 15.9MB 157kB/s Installing collected packages: mecab-python3 Successfully installed mecab-python3-0.996.2 ```

mecab-ipadic

import os
filename_crfpp = 'crfpp.tar.gz'
!wget "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7QVR6VXJ5dWExSTQ" -O $filename_crfpp
!tar zxvf $filename_crfpp
%cd CRF++-0.58
!./configure
!make
!make install
%cd ..
os.environ['LD_LIBRARY_PATH'] += ':/usr/local/lib' 
Execution result

``` --2019-11-11 02:30:07-- https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7QVR6VXJ5dWExSTQ Resolving drive.google.com (drive.google.com)... 108.177.119.100, 108.177.119.139, 108.177.119.138, ... Connecting to drive.google.com (drive.google.com)|108.177.119.100|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://doc-08-74-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/pbip9bd0n0vs0h94mhl8uq5k3t62895p/1573437600000/13553212398903315502//0B4y35FiV1wh7QVR6VXJ5dWExSTQ?e=download [following] Warning: wildcards not supported in HTTP. --2019-11-11 02:30:08-- https://doc-08-74-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/pbip9bd0n0vs0h94mhl8uq5k3t62895p/1573437600000/13553212398903315502//0B4y35FiV1wh7QVR6VXJ5dWExSTQ?e=download Resolving doc-08-74-docs.googleusercontent.com (doc-08-74-docs.googleusercontent.com)... 173.194.79.132, 2a00:1450:4013:c05::84 Connecting to doc-08-74-docs.googleusercontent.com (doc-08-74-docs.googleusercontent.com)|173.194.79.132|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 790570 (772K) [application/x-gzip] Saving to: ‘crfpp.tar.gz’

crfpp.tar.gz 100%[===================>] 772.04K --.-KB/s in 0.005s

2019-11-11 02:30:08 (155 MB/s) - ‘crfpp.tar.gz’ saved [790570/790570]

CRF++-0.58/ CRF++-0.58/INSTALL CRF++-0.58/python/ CRF++-0.58/python/test.py CRF++-0.58/python/README CRF++-0.58/python/CRFPP.py CRF++-0.58/python/setup.py CRF++-0.58/python/CRFPP_wrap.cxx CRF++-0.58/Makefile.in CRF++-0.58/encoder.cpp CRF++-0.58/node.h CRF++-0.58/param.cpp CRF++-0.58/swig/ CRF++-0.58/swig/CRFPP_wrap.c CRF++-0.58/swig/version.h CRF++-0.58/swig/version.h.in CRF++-0.58/swig/Makefile CRF++-0.58/swig/CRFPP.i CRF++-0.58/config.h.in CRF++-0.58/feature_cache.cpp CRF++-0.58/config.guess CRF++-0.58/scoped_ptr.h CRF++-0.58/node.cpp CRF++-0.58/README CRF++-0.58/timer.h CRF++-0.58/feature_index.h CRF++-0.58/config.sub CRF++-0.58/ltmain.sh CRF++-0.58/common.h CRF++-0.58/configure CRF++-0.58/crf_learn.cpp CRF++-0.58/darts.h CRF++-0.58/winmain.h CRF++-0.58/doc/ CRF++-0.58/doc/html/ CRF++-0.58/doc/html/search/ CRF++-0.58/doc/html/search/nomatches.html CRF++-0.58/doc/html/search/search_r.png CRF++-0.58/doc/html/search/search_l.png CRF++-0.58/doc/html/search/mag_sel.png CRF++-0.58/doc/html/search/search.css CRF++-0.58/doc/html/search/search_m.png CRF++-0.58/doc/html/search/close.png CRF++-0.58/doc/html/search/search.js CRF++-0.58/doc/html/nav_f.png CRF++-0.58/doc/html/crfpp_8h_source.html CRF++-0.58/doc/html/jquery.js CRF++-0.58/doc/html/nav_h.png CRF++-0.58/doc/html/bc_s.png CRF++-0.58/doc/html/index.html CRF++-0.58/doc/html/closed.png CRF++-0.58/doc/html/tab_h.png CRF++-0.58/doc/html/tab_a.png CRF++-0.58/doc/html/tab_b.png CRF++-0.58/doc/html/installdox CRF++-0.58/doc/html/doxygen.css CRF++-0.58/doc/html/open.png CRF++-0.58/doc/html/tab_s.png CRF++-0.58/doc/html/files.html CRF++-0.58/doc/html/doxygen.png CRF++-0.58/doc/html/tabs.css CRF++-0.58/doc/latex/ CRF++-0.58/doc/latex/refman.tex CRF++-0.58/doc/latex/doxygen.sty CRF++-0.58/doc/latex/Makefile CRF++-0.58/doc/index.html CRF++-0.58/doc/default.css CRF++-0.58/doc/doxygen/ CRF++-0.58/doc/doxygen/tab_l.gif CRF++-0.58/doc/doxygen/namespacemembers.html CRF++-0.58/doc/doxygen/nav_f.png CRF++-0.58/doc/doxygen/crfpp_8h_source.html CRF++-0.58/doc/doxygen/namespaces.html CRF++-0.58/doc/doxygen/nav_h.png CRF++-0.58/doc/doxygen/namespaceCRFPP.html CRF++-0.58/doc/doxygen/globals.html CRF++-0.58/doc/doxygen/crfpp_8h-source.html CRF++-0.58/doc/doxygen/classCRFPP_1_1Tagger-members.html CRF++-0.58/doc/doxygen/tab_b.gif CRF++-0.58/doc/doxygen/functions.html CRF++-0.58/doc/doxygen/tab_r.gif CRF++-0.58/doc/doxygen/bc_s.png CRF++-0.58/doc/doxygen/namespacemembers_func.html CRF++-0.58/doc/doxygen/index.html CRF++-0.58/doc/doxygen/closed.png CRF++-0.58/doc/doxygen/classCRFPP_1_1Model.html CRF++-0.58/doc/doxygen/tab_h.png CRF++-0.58/doc/doxygen/functions_func.html CRF++-0.58/doc/doxygen/tab_a.png CRF++-0.58/doc/doxygen/globals_defs.html CRF++-0.58/doc/doxygen/classes.html CRF++-0.58/doc/doxygen/tab_b.png CRF++-0.58/doc/doxygen/globals_type.html CRF++-0.58/doc/doxygen/doxygen.css CRF++-0.58/doc/doxygen/open.png CRF++-0.58/doc/doxygen/tab_s.png CRF++-0.58/doc/doxygen/globals_func.html CRF++-0.58/doc/doxygen/crfpp_8h.html CRF++-0.58/doc/doxygen/classCRFPP_1_1Model-members.html CRF++-0.58/doc/doxygen/classCRFPP_1_1Tagger.html CRF++-0.58/doc/doxygen/files.html CRF++-0.58/doc/doxygen/doxygen.png CRF++-0.58/doc/doxygen/tabs.css CRF++-0.58/doc/doxygen/annotated.html CRF++-0.58/doc/crfpp.cfg CRF++-0.58/crf_test.cpp CRF++-0.58/mmap.h CRF++-0.58/Makefile.msvc.in CRF++-0.58/ChangeLog CRF++-0.58/feature_index.cpp CRF++-0.58/COPYING CRF++-0.58/libcrfpp.cpp CRF++-0.58/NEWS CRF++-0.58/mkinstalldirs CRF++-0.58/freelist.h CRF++-0.58/AUTHORS CRF++-0.58/merge-models.pl CRF++-0.58/java/ CRF++-0.58/java/test.java CRF++-0.58/java/README CRF++-0.58/java/.am CRF++-0.58/java/Makefile CRF++-0.58/java/org/ CRF++-0.58/java/org/chasen/ CRF++-0.58/java/org/chasen/crfpp/ CRF++-0.58/java/org/chasen/crfpp/SWIGTYPE_p_float.java CRF++-0.58/java/org/chasen/crfpp/CRFPPJNI.java CRF++-0.58/java/org/chasen/crfpp/SWIGTYPE_p_p_char.java CRF++-0.58/java/org/chasen/crfpp/CRFPP.java CRF++-0.58/java/org/chasen/crfpp/SWIGTYPE_p_int.java CRF++-0.58/java/org/chasen/crfpp/CRFPPConstants.java CRF++-0.58/java/org/chasen/crfpp/Model.java CRF++-0.58/java/org/chasen/crfpp/Tagger.java CRF++-0.58/java/CRFPP_wrap.cxx CRF++-0.58/encoder.h CRF++-0.58/crfpp.h CRF++-0.58/perl/ CRF++-0.58/perl/test.pl CRF++-0.58/perl/README CRF++-0.58/perl/Makefile.PL CRF++-0.58/perl/CRFPP_wrap.cxx CRF++-0.58/perl/CRFPP.pm CRF++-0.58/aclocal.m4 CRF++-0.58/lbfgs.cpp CRF++-0.58/lbfgs.h CRF++-0.58/install-sh CRF++-0.58/tagger.cpp CRF++-0.58/param.h CRF++-0.58/missing CRF++-0.58/feature_cache.h CRF++-0.58/feature.cpp CRF++-0.58/depcomp CRF++-0.58/stream_wrapper.h CRF++-0.58/sdk/ CRF++-0.58/sdk/example.cpp CRF++-0.58/ruby/ CRF++-0.58/ruby/extconf.rb CRF++-0.58/ruby/CRFPP_wrap.cpp CRF++-0.58/ruby/README CRF++-0.58/ruby/test.rb CRF++-0.58/configure.in CRF++-0.58/path.cpp CRF++-0.58/path.h CRF++-0.58/tagger.h CRF++-0.58/thread.h CRF++-0.58/example/ CRF++-0.58/example/JapaneseNE/ CRF++-0.58/example/JapaneseNE/train.data CRF++-0.58/example/JapaneseNE/test.data CRF++-0.58/example/JapaneseNE/exec.sh CRF++-0.58/example/JapaneseNE/template CRF++-0.58/example/chunking/ CRF++-0.58/example/chunking/train.data CRF++-0.58/example/chunking/test.data CRF++-0.58/example/chunking/exec.sh CRF++-0.58/example/chunking/template CRF++-0.58/example/seg/ CRF++-0.58/example/seg/train.data CRF++-0.58/example/seg/test.data CRF++-0.58/example/seg/exec.sh CRF++-0.58/example/seg/template CRF++-0.58/example/basenp/ CRF++-0.58/example/basenp/train.data CRF++-0.58/example/basenp/test.data CRF++-0.58/example/basenp/exec.sh CRF++-0.58/example/basenp/template CRF++-0.58/Makefile.am /content/CRF++-0.58 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking whether make sets $(MAKE)... (cached) yes checking for library containing strerror... none required checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) no checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/stat.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/types.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for size_t... yes checking for pow in -lm... yes checking for exp in -lm... yes checking for log in -lm... yes checking for pthread_create in -lpthread... yes checking for pthread_join in -lpthread... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking whether make is GNU Make... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports template (required)... yes checking if g++ supports const_cast<> (required)... yes checking if g++ supports static_cast<> (required)... yes checking if g++ supports dynamic_cast<> (required)... yes checking if g++ supports exception handler (required)... yes checking if g++ supports namespaces (required) ... yes checking if g++ supports __thread (optional)... yes checking if g++ supports _SC_NPROCESSORS_CONF (optional)... yes checking if g++ environment provides all required features... yes configure: creating ./config.status config.status: creating Makefile config.status: creating Makefile.msvc config.status: creating swig/version.h config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands make all-am make[1]: Entering directory '/content/CRF++-0.58' make[1]: Leaving directory '/content/CRF++-0.58' make[1]: Entering directory '/content/CRF++-0.58' test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib" /bin/bash ./libtool --mode=install /usr/bin/install -c libcrfpp.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libcrfpp.so.0.0.0 /usr/local/lib/libcrfpp.so.0.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libcrfpp.so.0.0.0 libcrfpp.so.0 || { rm -f libcrfpp.so.0 && ln -s libcrfpp.so.0.0.0 libcrfpp.so.0; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libcrfpp.so.0.0.0 libcrfpp.so || { rm -f libcrfpp.so && ln -s libcrfpp.so.0.0.0 libcrfpp.so; }; }) libtool: install: /usr/bin/install -c .libs/libcrfpp.lai /usr/local/lib/libcrfpp.la libtool: install: /usr/bin/install -c .libs/libcrfpp.a /usr/local/lib/libcrfpp.a libtool: install: chmod 644 /usr/local/lib/libcrfpp.a libtool: install: ranlib /usr/local/lib/libcrfpp.a libtool: finish: PATH="/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tools/node/bin:/tools/google-cloud-sdk/bin:/opt/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in: /usr/local/lib

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable during linking
  • use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" /bin/bash ./libtool --mode=install /usr/bin/install -c crf_learn crf_test '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/crf_learn /usr/local/bin/crf_learn libtool: install: /usr/bin/install -c .libs/crf_test /usr/local/bin/crf_test test -z "/usr/local/include" || /bin/mkdir -p "/usr/local/include" /usr/bin/install -c -m 644 crfpp.h '/usr/local/include' make[1]: Leaving directory '/content/CRF++-0.58' /content ```

CaboCha

FILE_ID = "0B4y35FiV1wh7SDd1Q1dUQkZQaUU"
FILE_NAME = "cabocha.tar.bz2"
!wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=$FILE_ID' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=$FILE_ID" -O $FILE_NAME && rm -rf /tmp/cookies.txt
!tar -xvf cabocha.tar.bz2

%cd cabocha-0.69
!./configure --with-mecab-config=`which mecab-config` --with-charset=UTF8
!make
!make check
!make install
%cd ..
!cabocha --version

You can now download the cabocha compressed file. Since it is downloaded from googledrive, it seems to be a complicated process Please note that the version is 0.69 and is downloaded and executed.

Execution result

``` --2019-11-11 01:48:20-- https://docs.google.com/uc?export=download&confirm=9Wr1&id=0B4y35FiV1wh7SDd1Q1dUQkZQaUU Resolving docs.google.com (docs.google.com)... 74.125.128.100, 74.125.128.139, 74.125.128.102, ... Connecting to docs.google.com (docs.google.com)|74.125.128.100|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://doc-04-74-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/q0cfhcorn8b561g1pnveriqld3utds47/1573430400000/13553212398903315502//0B4y35FiV1wh7SDd1Q1dUQkZQaUU?e=download [following] Warning: wildcards not supported in HTTP. --2019-11-11 01:48:20-- https://doc-04-74-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/q0cfhcorn8b561g1pnveriqld3utds47/1573430400000/13553212398903315502//0B4y35FiV1wh7SDd1Q1dUQkZQaUU?e=download Resolving doc-04-74-docs.googleusercontent.com (doc-04-74-docs.googleusercontent.com)... 108.177.126.132, 2a00:1450:4013:c01::84 Connecting to doc-04-74-docs.googleusercontent.com (doc-04-74-docs.googleusercontent.com)|108.177.126.132|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-bzip2] Saving to: ‘cabocha.tar.bz2’

cabocha.tar.bz2 [ <=> ] 80.72M 77.7MB/s in 1.0s

2019-11-11 01:48:22 (77.7 MB/s) - ‘cabocha.tar.bz2’ saved [84638995]

cabocha-0.69/ cabocha-0.69/cabocha-config.in cabocha-0.69/compile cabocha-0.69/swig/ cabocha-0.69/swig/version.h.in cabocha-0.69/swig/Makefile cabocha-0.69/swig/version.h cabocha-0.69/swig/CaboCha.i cabocha-0.69/missing cabocha-0.69/java/ cabocha-0.69/java/test.java cabocha-0.69/java/Makefile cabocha-0.69/java/org/ cabocha-0.69/java/org/chasen/ cabocha-0.69/java/org/chasen/cabocha/ cabocha-0.69/java/org/chasen/cabocha/FormatType.java cabocha-0.69/java/org/chasen/cabocha/OutputLayerType.java cabocha-0.69/java/org/chasen/cabocha/Token.java cabocha-0.69/java/org/chasen/cabocha/CaboChaConstants.java cabocha-0.69/java/org/chasen/cabocha/ParserType.java cabocha-0.69/java/org/chasen/cabocha/ParsingAlgorithm.java cabocha-0.69/java/org/chasen/cabocha/Chunk.java cabocha-0.69/java/org/chasen/cabocha/InputLayerType.java cabocha-0.69/java/org/chasen/cabocha/CaboCha.java cabocha-0.69/java/org/chasen/cabocha/CaboChaJNI.java cabocha-0.69/java/org/chasen/cabocha/PossetType.java cabocha-0.69/java/org/chasen/cabocha/Tree.java cabocha-0.69/java/org/chasen/cabocha/CharsetType.java cabocha-0.69/java/org/chasen/cabocha/Parser.java cabocha-0.69/java/CaboCha_wrap.cxx cabocha-0.69/ltmain.sh cabocha-0.69/config.guess cabocha-0.69/man/ cabocha-0.69/man/Makefile.in cabocha-0.69/man/cabocha.1 cabocha-0.69/man/Makefile.am cabocha-0.69/BSD cabocha-0.69/python/ cabocha-0.69/python/test.py cabocha-0.69/python/CaboCha.py cabocha-0.69/python/CaboCha_wrap.cxx cabocha-0.69/python/setup.py cabocha-0.69/AUTHORS cabocha-0.69/ruby/ cabocha-0.69/ruby/CaboCha_wrap.cpp cabocha-0.69/ruby/extconf.rb cabocha-0.69/ruby/test.rb cabocha-0.69/Makefile.in cabocha-0.69/NEWS cabocha-0.69/install-sh cabocha-0.69/cabocha.iss.in cabocha-0.69/ChangeLog cabocha-0.69/configure cabocha-0.69/src/ cabocha-0.69/src/string_buffer.cpp cabocha-0.69/src/tree_allocator.cpp cabocha-0.69/src/dep.h cabocha-0.69/src/dep_learner.cpp cabocha-0.69/src/tree_allocator.h cabocha-0.69/src/svm.h cabocha-0.69/src/svm.cpp cabocha-0.69/src/ucstable.h cabocha-0.69/src/utils.h cabocha-0.69/src/selector.cpp cabocha-0.69/src/chunk_learner.cpp cabocha-0.69/src/string_buffer.h cabocha-0.69/src/ucs.cpp cabocha-0.69/src/ne.cpp cabocha-0.69/src/eval.cpp cabocha-0.69/src/cabocha.cpp cabocha-0.69/src/Makefile.in cabocha-0.69/src/scoped_ptr.h cabocha-0.69/src/chunker.h cabocha-0.69/src/normalizer.rule cabocha-0.69/src/common.h cabocha-0.69/src/normalizer_rule.sh cabocha-0.69/src/darts.h cabocha-0.69/src/learner.cpp cabocha-0.69/src/cabocha.h cabocha-0.69/src/morph.h cabocha-0.69/src/svm_learn.cpp cabocha-0.69/src/Makefile.msvc.in cabocha-0.69/src/timer.h cabocha-0.69/src/chunker.cpp cabocha-0.69/src/utils.cpp cabocha-0.69/src/param.h cabocha-0.69/src/winmain.h cabocha-0.69/src/normalizer.h cabocha-0.69/src/param.cpp cabocha-0.69/src/parser.cpp cabocha-0.69/src/ne.h cabocha-0.69/src/normalizer_rule.h cabocha-0.69/src/svm_learn.h cabocha-0.69/src/ucs.h cabocha-0.69/src/cabocha-model-index.cpp cabocha-0.69/src/mmap.h cabocha-0.69/src/analyzer.h cabocha-0.69/src/make.bat cabocha-0.69/src/tree.cpp cabocha-0.69/src/char_category.h cabocha-0.69/src/Makefile.am cabocha-0.69/src/dep.cpp cabocha-0.69/src/morph.cpp cabocha-0.69/src/selector_pat.h cabocha-0.69/src/cabocha-system-eval.cpp cabocha-0.69/src/cabocha-learn.cpp cabocha-0.69/src/stream_wrapper.h cabocha-0.69/src/selector.h cabocha-0.69/src/libcabocha.cpp cabocha-0.69/src/normalizer.cpp cabocha-0.69/src/freelist.h cabocha-0.69/perl/ cabocha-0.69/perl/test.pl cabocha-0.69/perl/Makefile.PL cabocha-0.69/perl/CaboCha_wrap.o cabocha-0.69/perl/CaboCha.bs cabocha-0.69/perl/blib/ cabocha-0.69/perl/blib/bin/ cabocha-0.69/perl/blib/bin/.exists cabocha-0.69/perl/blib/arch/ cabocha-0.69/perl/blib/arch/.exists cabocha-0.69/perl/blib/arch/auto/ cabocha-0.69/perl/blib/arch/auto/CaboCha/ cabocha-0.69/perl/blib/arch/auto/CaboCha/.exists cabocha-0.69/perl/blib/arch/auto/CaboCha/CaboCha.so cabocha-0.69/perl/blib/arch/auto/CaboCha/CaboCha.bs cabocha-0.69/perl/blib/lib/ cabocha-0.69/perl/blib/lib/.exists cabocha-0.69/perl/blib/lib/auto/ cabocha-0.69/perl/blib/lib/auto/CaboCha/ cabocha-0.69/perl/blib/lib/auto/CaboCha/.exists cabocha-0.69/perl/blib/lib/CaboCha.pm cabocha-0.69/perl/blib/man1/ cabocha-0.69/perl/blib/man1/.exists cabocha-0.69/perl/blib/script/ cabocha-0.69/perl/blib/script/.exists cabocha-0.69/perl/blib/man3/ cabocha-0.69/perl/blib/man3/.exists cabocha-0.69/perl/CaboCha_wrap.cxx cabocha-0.69/perl/pm_to_blib cabocha-0.69/perl/CaboCha.pm cabocha-0.69/perl/MYMETA.yml cabocha-0.69/config.rpath cabocha-0.69/TODO cabocha-0.69/configure.in cabocha-0.69/config.sub cabocha-0.69/LGPL cabocha-0.69/tools/ cabocha-0.69/tools/kc2cabocha.pl cabocha-0.69/tools/irex2cabocha.pl cabocha-0.69/tools/chasen2mecab.pl cabocha-0.69/tools/kc2juman.pl cabocha-0.69/tools/KyotoCorpus.pm cabocha-0.69/tools/KNBC2KC.pl cabocha-0.69/cabocharc.in cabocha-0.69/INSTALL cabocha-0.69/aclocal.m4 cabocha-0.69/README cabocha-0.69/config.h.in cabocha-0.69/COPYING cabocha-0.69/example/ cabocha-0.69/example/example2.cpp cabocha-0.69/example/example.c cabocha-0.69/Makefile.am cabocha-0.69/model/ cabocha-0.69/model/dep.ipa.txt cabocha-0.69/model/ne.juman.txt cabocha-0.69/model/dep.juman.txt cabocha-0.69/model/Makefile.in cabocha-0.69/model/dep.unidic.txt cabocha-0.69/model/chunk.ipa.txt cabocha-0.69/model/chunk.unidic.txt cabocha-0.69/model/ne.ipa.txt cabocha-0.69/model/ne.unidic.txt cabocha-0.69/model/chunk.juman.txt cabocha-0.69/model/Makefile.am cabocha-0.69/doc/ cabocha-0.69/doc/README.txt cabocha-0.69/doc/doxygen/ cabocha-0.69/doc/doxygen/classes.html cabocha-0.69/doc/doxygen/ftv2plastnode.png cabocha-0.69/doc/doxygen/nav_g.png cabocha-0.69/doc/doxygen/files.html cabocha-0.69/doc/doxygen/tab_b.gif cabocha-0.69/doc/doxygen/nav_h.png cabocha-0.69/doc/doxygen/namespaceCaboCha.html cabocha-0.69/doc/doxygen/functions_vars.html cabocha-0.69/doc/doxygen/tab_s.png cabocha-0.69/doc/doxygen/namespacemembers_eval.html cabocha-0.69/doc/doxygen/ftv2pnode.png cabocha-0.69/doc/doxygen/cabocha_8h.html cabocha-0.69/doc/doxygen/open.png cabocha-0.69/doc/doxygen/globals_func.html cabocha-0.69/doc/doxygen/structcabocha__token__t.html cabocha-0.69/doc/doxygen/doxygen.css cabocha-0.69/doc/doxygen/ftv2node.png cabocha-0.69/doc/doxygen/functions_func.html cabocha-0.69/doc/doxygen/ftv2mnode.png cabocha-0.69/doc/doxygen/ftv2doc.png cabocha-0.69/doc/doxygen/globals_enum.html cabocha-0.69/doc/doxygen/classCaboCha_1_1Tree.html cabocha-0.69/doc/doxygen/functions.html cabocha-0.69/doc/doxygen/ftv2folderopen.png cabocha-0.69/doc/doxygen/namespacemembers.html cabocha-0.69/doc/doxygen/globals.html cabocha-0.69/doc/doxygen/ftv2link.png cabocha-0.69/doc/doxygen/ftv2folderclosed.png cabocha-0.69/doc/doxygen/structcabocha__token__t-members.html cabocha-0.69/doc/doxygen/bdwn.png cabocha-0.69/doc/doxygen/namespacemembers_func.html cabocha-0.69/doc/doxygen/structcabocha__chunk__t.html cabocha-0.69/doc/doxygen/bc_s.png cabocha-0.69/doc/doxygen/cabocha_8h_source.html cabocha-0.69/doc/doxygen/globals_eval.html cabocha-0.69/doc/doxygen/ftv2mo.png cabocha-0.69/doc/doxygen/doxygen.png cabocha-0.69/doc/doxygen/index.html cabocha-0.69/doc/doxygen/tab_b.png cabocha-0.69/doc/doxygen/closed.png cabocha-0.69/doc/doxygen/nav_f.png cabocha-0.69/doc/doxygen/ftv2lastnode.png cabocha-0.69/doc/doxygen/classCaboCha_1_1Tree-members.html cabocha-0.69/doc/doxygen/tabs.css cabocha-0.69/doc/doxygen/ftv2vertline.png cabocha-0.69/doc/doxygen/ftv2cl.png cabocha-0.69/doc/doxygen/tab_h.png cabocha-0.69/doc/doxygen/globals_type.html cabocha-0.69/doc/doxygen/structcabocha__chunk__t-members.html cabocha-0.69/doc/doxygen/globals_defs.html cabocha-0.69/doc/doxygen/annotated.html cabocha-0.69/doc/doxygen/namespacemembers_type.html cabocha-0.69/doc/doxygen/tab_l.gif cabocha-0.69/doc/doxygen/tab_a.png cabocha-0.69/doc/doxygen/sync_off.png cabocha-0.69/doc/doxygen/ftv2ns.png cabocha-0.69/doc/doxygen/tab_r.gif cabocha-0.69/doc/doxygen/classCaboCha_1_1Parser-members.html cabocha-0.69/doc/doxygen/ftv2splitbar.png cabocha-0.69/doc/doxygen/ftv2mlastnode.png cabocha-0.69/doc/doxygen/classCaboCha_1_1Parser.html cabocha-0.69/doc/doxygen/namespaces.html cabocha-0.69/doc/doxygen/sync_on.png cabocha-0.69/doc/doxygen/namespacemembers_enum.html cabocha-0.69/doc/doxygen/dir_68267d1309a1af8e8297ef4c3efbcdba.html cabocha-0.69/doc/doxygen/dynsections.js cabocha-0.69/doc/doxygen/ftv2blank.png cabocha-0.69/doc/cabocha.cfg /content/cabocha-0.69 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether gcc needs -traditional... no checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for library containing strerror... none required checking for ld used by gcc... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * outbuf, size_t outbytesleft); checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/stat.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/types.h... (cached) yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for off_t... yes checking for size_t... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of size_t... 8 checking for size_t... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for getenv... yes checking for opendir... yes checking for snprintf... yes using /usr/bin/mecab-config for mecab-config checking whether iconv supports EUC-JP-MS and CP932... checking for main in -lstdc++... yes checking for crfpp_new in -lcrfpp... yes checking for mecab_new in -lmecab... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports stl (required)... yes checking if g++ supports template (required)... yes checking if g++ supports const_cast<> (required)... yes checking if g++ supports static_cast<> (required)... yes checking if g++ supports dynamic_cast<> (required)... yes checking if g++ supports reinterpret_cast<> (required)... yes checking if g++ supports exception handler (required)... yes checking if g++ supports namespaces (required) ... yes checking if g++ supports __thread (optional)... yes checking if g++ environment provides all required features... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/Makefile.msvc config.status: creating model/Makefile config.status: creating man/Makefile config.status: creating swig/version.h config.status: creating cabocha-config config.status: creating cabocharc config.status: creating cabocha.iss config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands make all-recursive make[1]: Entering directory '/content/cabocha-0.69' Making all in src make[2]: Entering directory '/content/cabocha-0.69/src' /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o chunk_learner.lo chunk_learner.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c chunk_learner.cpp -fPIC -DPIC -o .libs/chunk_learner.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c chunk_learner.cpp -o chunk_learner.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o chunker.lo chunker.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c chunker.cpp -fPIC -DPIC -o .libs/chunker.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c chunker.cpp -o chunker.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o dep.lo dep.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c dep.cpp -fPIC -DPIC -o .libs/dep.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c dep.cpp -o dep.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o dep_learner.lo dep_learner.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c dep_learner.cpp -fPIC -DPIC -o .libs/dep_learner.o In file included from dep_learner.cpp:17:0: param.h:30:13: warning: 'Target {anonymous}::lexical_cast(Source) [with Target = std::__cxx11::basic_string; Source = std::__cxx11::basic_string]' defined but not used [-Wunused-function] std::string lexical_cast<std::string, std::string>(std::string arg) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c dep_learner.cpp -o dep_learner.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o eval.lo eval.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c eval.cpp -fPIC -DPIC -o .libs/eval.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c eval.cpp -o eval.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o learner.lo learner.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c learner.cpp -fPIC -DPIC -o .libs/learner.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c learner.cpp -o learner.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o libcabocha.lo libcabocha.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c libcabocha.cpp -fPIC -DPIC -o .libs/libcabocha.o In file included from libcabocha.cpp:18:0: param.h:30:13: warning: 'Target {anonymous}::lexical_cast(Source) [with Target = std::__cxx11::basic_string; Source = std::__cxx11::basic_string]' defined but not used [-Wunused-function] std::string lexical_cast<std::string, std::string>(std::string arg) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c libcabocha.cpp -o libcabocha.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o morph.lo morph.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c morph.cpp -fPIC -DPIC -o .libs/morph.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c morph.cpp -o morph.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o ne.lo ne.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c ne.cpp -fPIC -DPIC -o .libs/ne.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c ne.cpp -o ne.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o normalizer.lo normalizer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c normalizer.cpp -fPIC -DPIC -o .libs/normalizer.o normalizer.cpp: In static member function 'static void CaboCha::Normalizer::normalize(int, const char, size_t, std::__cxx11::string)': normalizer.cpp:113:15: warning: offset '-1' outside bounds of constant string output += &ctable[result]; normalizer.cpp:113:15: warning: offset '-1' outside bounds of constant string output += &ctable[result]; normalizer.cpp:113:15: warning: offset '-1' outside bounds of constant string output += &ctable[result]; libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c normalizer.cpp -o normalizer.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o param.lo param.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c param.cpp -fPIC -DPIC -o .libs/param.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c param.cpp -o param.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o parser.lo parser.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c parser.cpp -fPIC -DPIC -o .libs/parser.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c parser.cpp -o parser.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o selector.lo selector.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c selector.cpp -fPIC -DPIC -o .libs/selector.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c selector.cpp -o selector.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o tree_allocator.lo tree_allocator.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c tree_allocator.cpp -fPIC -DPIC -o .libs/tree_allocator.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c tree_allocator.cpp -o tree_allocator.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o string_buffer.lo string_buffer.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c string_buffer.cpp -fPIC -DPIC -o .libs/string_buffer.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c string_buffer.cpp -o string_buffer.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o svm.lo svm.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c svm.cpp -fPIC -DPIC -o .libs/svm.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c svm.cpp -o svm.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o svm_learn.lo svm_learn.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c svm_learn.cpp -fPIC -DPIC -o .libs/svm_learn.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c svm_learn.cpp -o svm_learn.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o tree.lo tree.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c tree.cpp -fPIC -DPIC -o .libs/tree.o In file included from string_buffer.h:11:0, from tree.cpp:14: utils.h: In instantiation of 'size_t CaboCha::tokenizeCSV(char, Iterator, size_t) [with Iterator = char; size_t = long unsigned int]': tree.cpp:480:57: required from here utils.h:127:10: warning: variable 'inquote' set but not used [-Wunused-but-set-variable] bool inquote = false; ^~~~~~~ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c tree.cpp -o tree.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o ucs.lo ucs.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c ucs.cpp -fPIC -DPIC -o .libs/ucs.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c ucs.cpp -o ucs.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o utils.lo utils.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c utils.cpp -fPIC -DPIC -o .libs/utils.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET="IPA" -DCABOCHA_DEFAULT_CHARSET="UTF8" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC="/usr/local/etc/cabocharc" -O3 -Wno-deprecated -Wall -c utils.cpp -o utils.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wno-deprecated -Wall -no-undefined -version-info 5:0:0 -o libcabocha.la -rpath /usr/local/lib chunk_learner.lo chunker.lo dep.lo dep_learner.lo eval.lo learner.lo libcabocha.lo morph.lo ne.lo normalizer.lo param.lo parser.lo selector.lo tree_allocator.lo string_buffer.lo svm.lo svm_learn.lo tree.lo ucs.lo utils.lo -lcrfpp -lmecab -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o .libs/chunk_learner.o .libs/chunker.o .libs/dep.o .libs/dep_learner.o .libs/eval.o .libs/learner.o .libs/libcabocha.o .libs/morph.o .libs/ne.o .libs/normalizer.o .libs/param.o .libs/parser.o .libs/selector.o .libs/tree_allocator.o .libs/string_buffer.o .libs/svm.o .libs/svm_learn.o .libs/tree.o .libs/ucs.o .libs/utils.o /usr/local/lib/libcrfpp.so -L/usr/lib/x86_64-linux-gnu -lmecab -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/../lib -L/usr/local/cuda/lib64/stubs -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o -O3 -Wl,-soname -Wl,libcabocha.so.5 -o .libs/libcabocha.so.5.0.0 libtool: link: (cd ".libs" && rm -f "libcabocha.so.5" && ln -s "libcabocha.so.5.0.0" "libcabocha.so.5") libtool: link: (cd ".libs" && rm -f "libcabocha.so" && ln -s "libcabocha.so.5.0.0" "libcabocha.so") libtool: link: ar cru .libs/libcabocha.a chunk_learner.o chunker.o dep.o dep_learner.o eval.o learner.o libcabocha.o morph.o ne.o normalizer.o param.o parser.o selector.o tree_allocator.o string_buffer.o svm.o svm_learn.o tree.o ucs.o utils.o ar: u' modifier ignored since D' is the default (see `U') libtool: link: ranlib .libs/libcabocha.a libtool: link: ( cd ".libs" && rm -f "libcabocha.la" && ln -s "../libcabocha.la" "libcabocha.la" ) g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o cabocha.o cabocha.cpp /bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wno-deprecated -Wall -o cabocha cabocha.o libcabocha.la -lcrfpp -lmecab -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ libtool: link: g++ -O3 -Wno-deprecated -Wall -o .libs/cabocha cabocha.o ./.libs/libcabocha.so /usr/local/lib/libcrfpp.so -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o cabocha-model-index.o cabocha-model-index.cpp /bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wno-deprecated -Wall -o cabocha-model-index cabocha-model-index.o libcabocha.la -lcrfpp -lmecab -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ libtool: link: g++ -O3 -Wno-deprecated -Wall -o .libs/cabocha-model-index cabocha-model-index.o ./.libs/libcabocha.so /usr/local/lib/libcrfpp.so -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o cabocha-learn.o cabocha-learn.cpp /bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wno-deprecated -Wall -o cabocha-learn cabocha-learn.o libcabocha.la -lcrfpp -lmecab -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ libtool: link: g++ -O3 -Wno-deprecated -Wall -o .libs/cabocha-learn cabocha-learn.o ./.libs/libcabocha.so /usr/local/lib/libcrfpp.so -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ g++ -DHAVE_CONFIG_H -I. -I.. -DCABOCHA_DEFAULT_POSSET=""IPA"" -DCABOCHA_DEFAULT_CHARSET=""UTF8"" -DMODEL_VERSION=102 -DCABOCHA_DEFAULT_RC=""/usr/local/etc/cabocharc"" -O3 -Wno-deprecated -Wall -c -o cabocha-system-eval.o cabocha-system-eval.cpp /bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wno-deprecated -Wall -o cabocha-system-eval cabocha-system-eval.o libcabocha.la -lcrfpp -lmecab -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ libtool: link: g++ -O3 -Wno-deprecated -Wall -o .libs/cabocha-system-eval cabocha-system-eval.o ./.libs/libcabocha.so /usr/local/lib/libcrfpp.so -L/usr/lib/x86_64-linux-gnu -lmecab -lstdc++ make[2]: Leaving directory '/content/cabocha-0.69/src' Making all in model make[2]: Entering directory '/content/cabocha-0.69/model' ../src/cabocha-model-index -f UTF8 -t UTF8 chunk.ipa.txt chunk.ipa.model ../src/cabocha-model-index -f UTF8 -t UTF8 chunk.juman.txt chunk.juman.model ../src/cabocha-model-index -f UTF8 -t UTF8 chunk.unidic.txt chunk.unidic.model ../src/cabocha-model-index -f UTF8 -t UTF8 dep.ipa.txt dep.ipa.model emitting dic : 100% |###########################################| emitting trie : 100% |###########################################|

double array size : 2340864 trie size : 22100992 feature size : 122541 freq feature size : 3000 minsup : 2 bias : 113308 sigma : 0.0001 normalize factor : 1.98193e-07 Done! 12.75 s

../src/cabocha-model-index -f UTF8 -t UTF8 dep.juman.txt dep.juman.model emitting dic : 100% |###########################################| emitting trie : 100% |###########################################|

double array size : 2892800 trie size : 22047744 feature size : 149674 freq feature size : 3000 minsup : 2 bias : 78200 sigma : 0.0001 normalize factor : 2.27711e-07 Done! 12.44 s

../src/cabocha-model-index -f UTF8 -t UTF8 dep.unidic.txt dep.unidic.model emitting dic : 100% |###########################################| emitting trie : 100% |###########################################|

double array size : 2159616 trie size : 19891200 feature size : 121120 freq feature size : 3000 minsup : 2 bias : 92412 sigma : 0.0001 normalize factor : 2.27189e-07 Done! 11.40 s

../src/cabocha-model-index -f UTF8 -t UTF8 ne.ipa.txt ne.ipa.model ../src/cabocha-model-index -f UTF8 -t UTF8 ne.juman.txt ne.juman.model ../src/cabocha-model-index -f UTF8 -t UTF8 ne.unidic.txt ne.unidic.model make[2]: Leaving directory '/content/cabocha-0.69/model' Making all in man make[2]: Entering directory '/content/cabocha-0.69/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/content/cabocha-0.69/man' make[2]: Entering directory '/content/cabocha-0.69' make[2]: Leaving directory '/content/cabocha-0.69' make[1]: Leaving directory '/content/cabocha-0.69' Making check in src make[1]: Entering directory '/content/cabocha-0.69/src' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/content/cabocha-0.69/src' Making check in model make[1]: Entering directory '/content/cabocha-0.69/model' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/content/cabocha-0.69/model' Making check in man make[1]: Entering directory '/content/cabocha-0.69/man' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/content/cabocha-0.69/man' make[1]: Entering directory '/content/cabocha-0.69' make[1]: Leaving directory '/content/cabocha-0.69' Making install in src make[1]: Entering directory '/content/cabocha-0.69/src' make[2]: Entering directory '/content/cabocha-0.69/src' /bin/mkdir -p '/usr/local/lib' /bin/bash ../libtool --mode=install /usr/bin/install -c libcabocha.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libcabocha.so.5.0.0 /usr/local/lib/libcabocha.so.5.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libcabocha.so.5.0.0 libcabocha.so.5 || { rm -f libcabocha.so.5 && ln -s libcabocha.so.5.0.0 libcabocha.so.5; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libcabocha.so.5.0.0 libcabocha.so || { rm -f libcabocha.so && ln -s libcabocha.so.5.0.0 libcabocha.so; }; }) libtool: install: /usr/bin/install -c .libs/libcabocha.lai /usr/local/lib/libcabocha.la libtool: install: /usr/bin/install -c .libs/libcabocha.a /usr/local/lib/libcabocha.a libtool: install: chmod 644 /usr/local/lib/libcabocha.a libtool: install: ranlib /usr/local/lib/libcabocha.a libtool: finish: PATH="/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tools/node/bin:/tools/google-cloud-sdk/bin:/opt/bin:/sbin" ldconfig -n /usr/local/lib

Libraries have been installed in: /usr/local/lib

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following:

  • add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution
  • add LIBDIR to the `LD_RUN_PATH' environment variable during linking
  • use the `-Wl,-rpath -Wl,LIBDIR' linker flag
  • have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

/bin/mkdir -p '/usr/local/bin' /bin/bash ../libtool --mode=install /usr/bin/install -c cabocha '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/cabocha /usr/local/bin/cabocha /bin/mkdir -p '/usr/local/libexec/cabocha' /bin/bash ../libtool --mode=install /usr/bin/install -c cabocha-model-index cabocha-learn cabocha-system-eval '/usr/local/libexec/cabocha' libtool: install: /usr/bin/install -c .libs/cabocha-model-index /usr/local/libexec/cabocha/cabocha-model-index libtool: install: /usr/bin/install -c .libs/cabocha-learn /usr/local/libexec/cabocha/cabocha-learn libtool: install: /usr/bin/install -c .libs/cabocha-system-eval /usr/local/libexec/cabocha/cabocha-system-eval /bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 cabocha.h '/usr/local/include' make[2]: Leaving directory '/content/cabocha-0.69/src' make[1]: Leaving directory '/content/cabocha-0.69/src' Making install in model make[1]: Entering directory '/content/cabocha-0.69/model' make[2]: Entering directory '/content/cabocha-0.69/model' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/lib/cabocha/model' /usr/bin/install -c -m 644 chunk.ipa.model chunk.juman.model chunk.unidic.model dep.ipa.model dep.juman.model dep.unidic.model ne.ipa.model ne.juman.model ne.unidic.model '/usr/local/lib/cabocha/model' make[2]: Leaving directory '/content/cabocha-0.69/model' make[1]: Leaving directory '/content/cabocha-0.69/model' Making install in man make[1]: Entering directory '/content/cabocha-0.69/man' make[2]: Entering directory '/content/cabocha-0.69/man' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 cabocha.1 '/usr/local/share/man/man1' make[2]: Leaving directory '/content/cabocha-0.69/man' make[1]: Leaving directory '/content/cabocha-0.69/man' make[1]: Entering directory '/content/cabocha-0.69' make[2]: Entering directory '/content/cabocha-0.69' /bin/mkdir -p '/usr/local/bin' /usr/bin/install -c cabocha-config '/usr/local/bin' /bin/mkdir -p '/usr/local/etc' /usr/bin/install -c -m 644 cabocharc '/usr/local/etc' make[2]: Leaving directory '/content/cabocha-0.69' make[1]: Leaving directory '/content/cabocha-0.69' /content cabocha of 0.69 ```

Enable CaboCha's python binding

%cd cabocha-0.69/python
!python setup.py build_ext
!python setup.py install
!ldconfig
%cd ../..
Execution result

``` /content/cabocha-0.69/python running build_ext building '_CaboCha' extension creating build creating build/temp.linux-x86_64-3.6 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include -I/usr/include/python3.6m -c CaboCha_wrap.cxx -o build/temp.linux-x86_64-3.6/CaboCha_wrap.o warning: no library file corresponding to '-L/usr/lib/x86_64inux-gnu' found (skipping) creating build/lib.linux-x86_64-3.6 x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.6/CaboCha_wrap.o -L/usr/local/lib -lcabocha -lcrfpp -lmecab -lmecab -lstdc++ -o build/lib.linux-x86_64-3.6/_CaboCha.cpython-36m-x86_64-linux-gnu.so running install running build running build_py copying CaboCha.py -> build/lib.linux-x86_64-3.6 running build_ext running install_lib copying build/lib.linux-x86_64-3.6/_CaboCha.cpython-36m-x86_64-linux-gnu.so -> /usr/local/lib/python3.6/dist-packages copying build/lib.linux-x86_64-3.6/CaboCha.py -> /usr/local/lib/python3.6/dist-packages byte-compiling /usr/local/lib/python3.6/dist-packages/CaboCha.py to CaboCha.cpython-36.pyc running install_egg_info Writing /usr/local/lib/python3.6/dist-packages/cabocha_python-0.69.egg-info /content ```

I think cabocha can now be imported.

Finally

I just copied the result of my execution, so it may be difficult to understand, but thank you.

Recommended Posts

Building an environment to use CaboCha with google colaboratory
How to use Google Colaboratory
[Python] Building an environment with Anaconda [Mac]
Run the program without building a Python environment! !! (How to get started with Google Colaboratory)
How to search Google Drive with Google Colaboratory
Use TPU and Keras with Google Colaboratory
Prepare an environment to use OpenCV and Pillow with AWS Lambda
The strongest way to use MeCab and CaboCha with Google Colab
Building an Anaconda environment for Python with pyenv
Various commands for building an environment with Apache
Try building an environment for MayaPython with VisualStudioCode
Notes from installing Homebrew to building an Anaconda environment for Python with pyenv
Building an environment to comply with the Python coding standard (PEP8) with Eclipse + PyDev
How to load files in Google Drive with Google Colaboratory
Building an environment for natural language processing with Python
How to analyze with Google Colaboratory using Kaggle API
How to use Spacy Japanese model in Google Colaboratory
A story about how Windows 10 users created an environment to use OpenCV3 with Python 3.5
Create an environment with virtualenv
Study Python with Google Colaboratory
Try OpenCV with Google Colaboratory
It's too easy to use an existing database with Django
Let's get started with Python ~ Building an environment on Windows 10 ~
I want to use a virtual environment with jupyter notebook!
Building an environment to execute python programs on AWS EC2
Try to implement linear regression using Pytorch with Google Colaboratory
Use with Cabocha to automatically generate "IOB2 tag corpus" learning data
Python: How to use async with
Django beginners tried building an environment
How to use virtualenv with PowerShell
Output cell to file with Colaboratory
How to use jupyter notebook without polluting your environment with Docker
Building a virtual environment with Python 3
How to use Google Colaboratory and usage example (PyTorch x DCGAN)
■ [Google Colaboratory] Use morphological analysis (janome)
I want to use an external library with IBM Cloud Functions
[Memo] How to use Google MµG
■ [Google Colaboratory] Use morphological analysis (MeCab)
[Python] Explains how to use the format function with an example
How to use an external editor for Python development with Grasshopper
Building a development environment with Maven on Google App Engine [Java]
Building a kubernetes environment with ansible 1
Building an environment to run ChainerMN on a GPU instance on AWS
Use boto3 to mess with S3
I wanted to use jupyter notebook with docker in pip environment (opticspy)
Prepare an environment to touch grib2 format files with python (Docker edition)
How to use VS Code (code server) with Google Colab in just 3 lines
[Pyenv] Building a python environment with ubuntu 16.04
Use MeCab and neologd with Google Colab
Change Python 64bit environment to 32bit environment with Anaconda
Building a Python3 environment with Amazon Linux2
Use The Metabolic Disassembler on Google Colaboratory
Use tensorflow in an environment without root
Use smbus with python3 under pyenv environment
How to create an NVIDIA Docker environment
Note when creating an environment with python
How to use ManyToManyField with Django's Admin
How to use Google Test in C
How to use OpenVPN with Ubuntu 18.04.3 LTS
How to use Cmder with PyCharm (Windows)
Building a Python 3.6 environment with Windows + PowerShell