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.
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.
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
```
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'
``` --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]
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:
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.
``` --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
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
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:
/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 ```
%cd cabocha-0.69/python
!python setup.py build_ext
!python setup.py install
!ldconfig
%cd ../..
``` /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 just copied the result of my execution, so it may be difficult to understand, but thank you.
Recommended Posts