Skip to content

Instantly share code, notes, and snippets.

@nakagami
Created December 3, 2021 04:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nakagami/a7023998ffaa50bd2a64626e0777b7ee to your computer and use it in GitHub Desktop.
Save nakagami/a7023998ffaa50bd2a64626e0777b7ee to your computer and use it in GitHub Desktop.
Install mecab, mecab-ipadic on SageMaker StudioLab. Tokenize by pure-pyawabi.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "3a8dd3e4-3b4f-4c63-83ee-68d07c5db278",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"checking for a BSD-compatible install... /usr/bin/install -c\n",
"checking whether build environment is sane... yes\n",
"checking for a thread-safe mkdir -p... /usr/bin/mkdir -p\n",
"checking for gawk... no\n",
"checking for mawk... mawk\n",
"checking whether make sets $(MAKE)... yes\n",
"checking for gcc... gcc\n",
"checking whether the C compiler works... yes\n",
"checking for C compiler default output file name... a.out\n",
"checking for suffix of executables... \n",
"checking whether we are cross compiling... no\n",
"checking for suffix of object files... o\n",
"checking whether we are using the GNU C compiler... yes\n",
"checking whether gcc accepts -g... yes\n",
"checking for gcc option to accept ISO C89... none needed\n",
"checking for style of include used by make... GNU\n",
"checking dependency style of gcc... none\n",
"checking for g++... g++\n",
"checking whether we are using the GNU C++ compiler... yes\n",
"checking whether g++ accepts -g... yes\n",
"checking dependency style of g++... none\n",
"checking how to run the C preprocessor... gcc -E\n",
"checking for grep that handles long lines and -e... /usr/bin/grep\n",
"checking for egrep... /usr/bin/grep -E\n",
"checking whether gcc needs -traditional... no\n",
"checking whether make sets $(MAKE)... (cached) yes\n",
"checking build system type... x86_64-unknown-linux-gnu\n",
"checking host system type... x86_64-unknown-linux-gnu\n",
"checking how to print strings... printf\n",
"checking for a sed that does not truncate output... /usr/bin/sed\n",
"checking for fgrep... /usr/bin/grep -F\n",
"checking for ld used by gcc... /usr/bin/ld\n",
"checking if the linker (/usr/bin/ld) is GNU ld... yes\n",
"checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\n",
"checking the name lister (/usr/bin/nm -B) interface... BSD nm\n",
"checking whether ln -s works... yes\n",
"checking the maximum length of command line arguments... 1572864\n",
"checking whether the shell understands some XSI constructs... yes\n",
"checking whether the shell understands \"+=\"... yes\n",
"checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop\n",
"checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop\n",
"checking for /usr/bin/ld option to reload object files... -r\n",
"checking for objdump... objdump\n",
"checking how to recognize dependent libraries... pass_all\n",
"checking for dlltool... dlltool\n",
"checking how to associate runtime and link libraries... printf %s\\n\n",
"checking for ar... ar\n",
"checking for archiver @FILE support... @\n",
"checking for strip... strip\n",
"checking for ranlib... ranlib\n",
"checking command to parse /usr/bin/nm -B output from gcc object... ok\n",
"checking for sysroot... no\n",
"checking for mt... no\n",
"checking if : is a manifest tool... no\n",
"checking for ANSI C header files... yes\n",
"checking for sys/types.h... yes\n",
"checking for sys/stat.h... yes\n",
"checking for stdlib.h... yes\n",
"checking for string.h... yes\n",
"checking for memory.h... yes\n",
"checking for strings.h... yes\n",
"checking for inttypes.h... yes\n",
"checking for stdint.h... yes\n",
"checking for unistd.h... yes\n",
"checking for dlfcn.h... yes\n",
"checking for objdir... .libs\n",
"checking if gcc supports -fno-rtti -fno-exceptions... no\n",
"checking for gcc option to produce PIC... -fPIC -DPIC\n",
"checking if gcc PIC flag -fPIC -DPIC works... yes\n",
"checking if gcc static flag -static works... yes\n",
"checking if gcc supports -c -o file.o... yes\n",
"checking if gcc supports -c -o file.o... (cached) yes\n",
"checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes\n",
"checking whether -lc should be explicitly linked in... no\n",
"checking dynamic linker characteristics... GNU/Linux ld.so\n",
"checking how to hardcode library paths into programs... immediate\n",
"checking whether stripping libraries is possible... yes\n",
"checking if libtool supports shared libraries... yes\n",
"checking whether to build shared libraries... yes\n",
"checking whether to build static libraries... yes\n",
"checking how to run the C++ preprocessor... g++ -E\n",
"checking for ld used by g++... /usr/bin/ld\n",
"checking if the linker (/usr/bin/ld) is GNU ld... yes\n",
"checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes\n",
"checking for g++ option to produce PIC... -fPIC -DPIC\n",
"checking if g++ PIC flag -fPIC -DPIC works... yes\n",
"checking if g++ static flag -static works... yes\n",
"checking if g++ supports -c -o file.o... yes\n",
"checking if g++ supports -c -o file.o... (cached) yes\n",
"checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes\n",
"checking dynamic linker characteristics... (cached) GNU/Linux ld.so\n",
"checking how to hardcode library paths into programs... immediate\n",
"checking for library containing strerror... none required\n",
"checking whether byte ordering is bigendian... no\n",
"checking for ld used by GCC... /usr/bin/ld\n",
"checking if the linker (/usr/bin/ld) is GNU ld... yes\n",
"checking for shared library run path origin... done\n",
"checking for iconv... yes\n",
"checking for working iconv... yes\n",
"checking for iconv declaration... \n",
" extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);\n",
"checking for ANSI C header files... (cached) yes\n",
"checking for an ANSI C-conforming const... yes\n",
"checking whether byte ordering is bigendian... (cached) no\n",
"checking for string.h... (cached) yes\n",
"checking for stdlib.h... (cached) yes\n",
"checking for unistd.h... (cached) yes\n",
"checking fcntl.h usability... yes\n",
"checking fcntl.h presence... yes\n",
"checking for fcntl.h... yes\n",
"checking for stdint.h... (cached) yes\n",
"checking for sys/stat.h... (cached) yes\n",
"checking sys/mman.h usability... yes\n",
"checking sys/mman.h presence... yes\n",
"checking for sys/mman.h... yes\n",
"checking sys/times.h usability... yes\n",
"checking sys/times.h presence... yes\n",
"checking for sys/times.h... yes\n",
"checking for sys/types.h... (cached) yes\n",
"checking dirent.h usability... yes\n",
"checking dirent.h presence... yes\n",
"checking for dirent.h... yes\n",
"checking ctype.h usability... yes\n",
"checking ctype.h presence... yes\n",
"checking for ctype.h... yes\n",
"checking for sys/types.h... (cached) yes\n",
"checking io.h usability... no\n",
"checking io.h presence... no\n",
"checking for io.h... no\n",
"checking windows.h usability... no\n",
"checking windows.h presence... no\n",
"checking for windows.h... no\n",
"checking pthread.h usability... yes\n",
"checking pthread.h presence... yes\n",
"checking for pthread.h... yes\n",
"checking for off_t... yes\n",
"checking for size_t... yes\n",
"checking size of char... 1\n",
"checking size of short... 2\n",
"checking size of int... 4\n",
"checking size of long... 8\n",
"checking size of long long... 8\n",
"checking size of size_t... 8\n",
"checking for size_t... (cached) yes\n",
"checking for unsigned long long int... yes\n",
"checking for stdlib.h... (cached) yes\n",
"checking for unistd.h... (cached) yes\n",
"checking for sys/param.h... yes\n",
"checking for getpagesize... yes\n",
"checking for working mmap... yes\n",
"checking for main in -lstdc++... yes\n",
"checking for pthread_create in -lpthread... yes\n",
"checking for pthread_join in -lpthread... yes\n",
"checking for getenv... yes\n",
"checking for opendir... yes\n",
"checking whether make is GNU Make... yes\n",
"checking if g++ supports stl <vector> (required)... yes\n",
"checking if g++ supports stl <list> (required)... yes\n",
"checking if g++ supports stl <map> (required)... yes\n",
"checking if g++ supports stl <set> (required)... yes\n",
"checking if g++ supports stl <queue> (required)... yes\n",
"checking if g++ supports stl <functional> (required)... yes\n",
"checking if g++ supports stl <algorithm> (required)... yes\n",
"checking if g++ supports stl <string> (required)... yes\n",
"checking if g++ supports stl <iostream> (required)... yes\n",
"checking if g++ supports stl <sstream> (required)... yes\n",
"checking if g++ supports stl <fstream> (required)... yes\n",
"checking if g++ supports template <class T> (required)... yes\n",
"checking if g++ supports const_cast<> (required)... yes\n",
"checking if g++ supports static_cast<> (required)... yes\n",
"checking if g++ supports reinterpret_cast<> (required)... yes\n",
"checking if g++ supports namespaces (required) ... yes\n",
"checking if g++ supports __thread (optional)... yes\n",
"checking if g++ supports template <class T> (required)... yes\n",
"checking if g++ supports GCC native atomic operations (optional)... yes\n",
"checking if g++ supports OSX native atomic operations (optional)... no\n",
"checking if g++ environment provides all required features... yes\n",
"configure: creating ./config.status\n",
"config.status: creating Makefile\n",
"config.status: creating src/Makefile\n",
"config.status: creating src/Makefile.msvc\n",
"config.status: creating man/Makefile\n",
"config.status: creating doc/Makefile\n",
"config.status: creating tests/Makefile\n",
"config.status: creating swig/version.h\n",
"config.status: creating mecab.iss\n",
"config.status: creating mecab-config\n",
"config.status: creating mecabrc\n",
"config.status: creating config.h\n",
"config.status: executing depfiles commands\n",
"config.status: executing libtool commands\n",
"config.status: executing default commands\n",
"CDPATH=\"${ZSH_VERSION+.}:\" && cd . && /bin/bash /home/studio-lab-user/source/mecab/mecab/missing --run aclocal-1.11 -I m4\n",
" cd . && /bin/bash /home/studio-lab-user/source/mecab/mecab/missing --run automake-1.11 --gnu\n",
"CDPATH=\"${ZSH_VERSION+.}:\" && cd . && /bin/bash /home/studio-lab-user/source/mecab/mecab/missing --run autoconf\n",
"/bin/bash ./config.status --recheck\n",
"running CONFIG_SHELL=/bin/bash /bin/bash ./configure --prefix=/home/studio-lab-user/mecab --enable-utf8-only --no-create --no-recursion\n",
"checking for a BSD-compatible install... /usr/bin/install -c\n",
"checking whether build environment is sane... yes\n",
"checking for a thread-safe mkdir -p... /usr/bin/mkdir -p\n",
"checking for gawk... no\n",
"checking for mawk... mawk\n",
"checking whether make sets $(MAKE)... yes\n",
"checking for gcc... gcc\n",
"checking whether the C compiler works... yes\n",
"checking for C compiler default output file name... a.out\n",
"checking for suffix of executables... \n",
"checking whether we are cross compiling... no\n",
"checking for suffix of object files... o\n",
"checking whether we are using the GNU C compiler... yes\n",
"checking whether gcc accepts -g... yes\n",
"checking for gcc option to accept ISO C89... none needed\n",
"checking for style of include used by make... GNU\n",
"checking dependency style of gcc... none\n",
"checking for g++... g++\n",
"checking whether we are using the GNU C++ compiler... yes\n",
"checking whether g++ accepts -g... yes\n",
"checking dependency style of g++... none\n",
"checking how to run the C preprocessor... gcc -E\n",
"checking for grep that handles long lines and -e... /usr/bin/grep\n",
"checking for egrep... /usr/bin/grep -E\n",
"checking whether gcc needs -traditional... no\n",
"checking whether make sets $(MAKE)... (cached) yes\n",
"checking build system type... x86_64-unknown-linux-gnu\n",
"checking host system type... x86_64-unknown-linux-gnu\n",
"checking how to print strings... printf\n",
"checking for a sed that does not truncate output... /usr/bin/sed\n",
"checking for fgrep... /usr/bin/grep -F\n",
"checking for ld used by gcc... /usr/bin/ld\n",
"checking if the linker (/usr/bin/ld) is GNU ld... yes\n",
"checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\n",
"checking the name lister (/usr/bin/nm -B) interface... BSD nm\n",
"checking whether ln -s works... yes\n",
"checking the maximum length of command line arguments... 1572864\n",
"checking whether the shell understands some XSI constructs... yes\n",
"checking whether the shell understands \"+=\"... yes\n",
"checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop\n",
"checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop\n",
"checking for /usr/bin/ld option to reload object files... -r\n",
"checking for objdump... objdump\n",
"checking how to recognize dependent libraries... pass_all\n",
"checking for dlltool... dlltool\n",
"checking how to associate runtime and link libraries... printf %s\\n\n",
"checking for ar... ar\n",
"checking for archiver @FILE support... @\n",
"checking for strip... strip\n",
"checking for ranlib... ranlib\n",
"checking command to parse /usr/bin/nm -B output from gcc object... ok\n",
"checking for sysroot... no\n",
"checking for mt... no\n",
"checking if : is a manifest tool... no\n",
"checking for ANSI C header files... yes\n",
"checking for sys/types.h... yes\n",
"checking for sys/stat.h... yes\n",
"checking for stdlib.h... yes\n",
"checking for string.h... yes\n",
"checking for memory.h... yes\n",
"checking for strings.h... yes\n",
"checking for inttypes.h... yes\n",
"checking for stdint.h... yes\n",
"checking for unistd.h... yes\n",
"checking for dlfcn.h... yes\n",
"checking for objdir... .libs\n",
"checking if gcc supports -fno-rtti -fno-exceptions... no\n",
"checking for gcc option to produce PIC... -fPIC -DPIC\n",
"checking if gcc PIC flag -fPIC -DPIC works... yes\n",
"checking if gcc static flag -static works... yes\n",
"checking if gcc supports -c -o file.o... yes\n",
"checking if gcc supports -c -o file.o... (cached) yes\n",
"checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes\n",
"checking whether -lc should be explicitly linked in... no\n",
"checking dynamic linker characteristics... GNU/Linux ld.so\n",
"checking how to hardcode library paths into programs... immediate\n",
"checking whether stripping libraries is possible... yes\n",
"checking if libtool supports shared libraries... yes\n",
"checking whether to build shared libraries... yes\n",
"checking whether to build static libraries... yes\n",
"checking how to run the C++ preprocessor... g++ -E\n",
"checking for ld used by g++... /usr/bin/ld\n",
"checking if the linker (/usr/bin/ld) is GNU ld... yes\n",
"checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes\n",
"checking for g++ option to produce PIC... -fPIC -DPIC\n",
"checking if g++ PIC flag -fPIC -DPIC works... yes\n",
"checking if g++ static flag -static works... yes\n",
"checking if g++ supports -c -o file.o... yes\n",
"checking if g++ supports -c -o file.o... (cached) yes\n",
"checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes\n",
"checking dynamic linker characteristics... (cached) GNU/Linux ld.so\n",
"checking how to hardcode library paths into programs... immediate\n",
"checking for library containing strerror... none required\n",
"checking whether byte ordering is bigendian... no\n",
"checking for ld used by GCC... /usr/bin/ld\n",
"checking if the linker (/usr/bin/ld) is GNU ld... yes\n",
"checking for shared library run path origin... done\n",
"checking for iconv... yes\n",
"checking for working iconv... yes\n",
"checking for iconv declaration... \n",
" extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);\n",
"checking for ANSI C header files... (cached) yes\n",
"checking for an ANSI C-conforming const... yes\n",
"checking whether byte ordering is bigendian... (cached) no\n",
"checking for string.h... (cached) yes\n",
"checking for stdlib.h... (cached) yes\n",
"checking for unistd.h... (cached) yes\n",
"checking fcntl.h usability... yes\n",
"checking fcntl.h presence... yes\n",
"checking for fcntl.h... yes\n",
"checking for stdint.h... (cached) yes\n",
"checking for sys/stat.h... (cached) yes\n",
"checking sys/mman.h usability... yes\n",
"checking sys/mman.h presence... yes\n",
"checking for sys/mman.h... yes\n",
"checking sys/times.h usability... yes\n",
"checking sys/times.h presence... yes\n",
"checking for sys/times.h... yes\n",
"checking for sys/types.h... (cached) yes\n",
"checking dirent.h usability... yes\n",
"checking dirent.h presence... yes\n",
"checking for dirent.h... yes\n",
"checking ctype.h usability... yes\n",
"checking ctype.h presence... yes\n",
"checking for ctype.h... yes\n",
"checking for sys/types.h... (cached) yes\n",
"checking io.h usability... no\n",
"checking io.h presence... no\n",
"checking for io.h... no\n",
"checking windows.h usability... no\n",
"checking windows.h presence... no\n",
"checking for windows.h... no\n",
"checking pthread.h usability... yes\n",
"checking pthread.h presence... yes\n",
"checking for pthread.h... yes\n",
"checking for off_t... yes\n",
"checking for size_t... yes\n",
"checking size of char... 1\n",
"checking size of short... 2\n",
"checking size of int... 4\n",
"checking size of long... 8\n",
"checking size of long long... 8\n",
"checking size of size_t... 8\n",
"checking for size_t... (cached) yes\n",
"checking for unsigned long long int... yes\n",
"checking for stdlib.h... (cached) yes\n",
"checking for unistd.h... (cached) yes\n",
"checking for sys/param.h... yes\n",
"checking for getpagesize... yes\n",
"checking for working mmap... yes\n",
"checking for main in -lstdc++... yes\n",
"checking for pthread_create in -lpthread... yes\n",
"checking for pthread_join in -lpthread... yes\n",
"checking for getenv... yes\n",
"checking for opendir... yes\n",
"checking whether make is GNU Make... yes\n",
"checking if g++ supports stl <vector> (required)... yes\n",
"checking if g++ supports stl <list> (required)... yes\n",
"checking if g++ supports stl <map> (required)... yes\n",
"checking if g++ supports stl <set> (required)... yes\n",
"checking if g++ supports stl <queue> (required)... yes\n",
"checking if g++ supports stl <functional> (required)... yes\n",
"checking if g++ supports stl <algorithm> (required)... yes\n",
"checking if g++ supports stl <string> (required)... yes\n",
"checking if g++ supports stl <iostream> (required)... yes\n",
"checking if g++ supports stl <sstream> (required)... yes\n",
"checking if g++ supports stl <fstream> (required)... yes\n",
"checking if g++ supports template <class T> (required)... yes\n",
"checking if g++ supports const_cast<> (required)... yes\n",
"checking if g++ supports static_cast<> (required)... yes\n",
"checking if g++ supports reinterpret_cast<> (required)... yes\n",
"checking if g++ supports namespaces (required) ... yes\n",
"checking if g++ supports __thread (optional)... yes\n",
"checking if g++ supports template <class T> (required)... yes\n",
"checking if g++ supports GCC native atomic operations (optional)... yes\n",
"checking if g++ supports OSX native atomic operations (optional)... no\n",
"checking if g++ environment provides all required features... yes\n",
"configure: creating ./config.status\n",
" /bin/bash ./config.status\n",
"config.status: creating Makefile\n",
"config.status: creating src/Makefile\n",
"config.status: creating src/Makefile.msvc\n",
"config.status: creating man/Makefile\n",
"config.status: creating doc/Makefile\n",
"config.status: creating tests/Makefile\n",
"config.status: creating swig/version.h\n",
"config.status: creating mecab.iss\n",
"config.status: creating mecab-config\n",
"config.status: creating mecabrc\n",
"config.status: creating config.h\n",
"config.status: config.h is unchanged\n",
"config.status: executing depfiles commands\n",
"config.status: executing libtool commands\n",
"config.status: executing default commands\n",
"(CDPATH=\"${ZSH_VERSION+.}:\" && cd . && /bin/bash /home/studio-lab-user/source/mecab/mecab/missing --run autoheader)\n",
"rm -f stamp-h1\n",
"touch config.h.in\n",
"cd . && /bin/bash ./config.status config.h\n",
"config.status: creating config.h\n",
"config.status: config.h is unchanged\n",
"make all-recursive\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab'\n",
"Making all in src\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/src'\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o viterbi.lo viterbi.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c viterbi.cpp -fPIC -DPIC -o .libs/viterbi.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c viterbi.cpp -o viterbi.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o tagger.lo tagger.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c tagger.cpp -fPIC -DPIC -o .libs/tagger.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c tagger.cpp -o tagger.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o utils.lo utils.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c utils.cpp -fPIC -DPIC -o .libs/utils.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c utils.cpp -o utils.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o eval.lo eval.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c eval.cpp -fPIC -DPIC -o .libs/eval.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c eval.cpp -o eval.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o iconv_utils.lo iconv_utils.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c iconv_utils.cpp -fPIC -DPIC -o .libs/iconv_utils.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c iconv_utils.cpp -o iconv_utils.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o dictionary_rewriter.lo dictionary_rewriter.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary_rewriter.cpp -fPIC -DPIC -o .libs/dictionary_rewriter.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary_rewriter.cpp -o dictionary_rewriter.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o dictionary_generator.lo dictionary_generator.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary_generator.cpp -fPIC -DPIC -o .libs/dictionary_generator.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary_generator.cpp -o dictionary_generator.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o dictionary_compiler.lo dictionary_compiler.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary_compiler.cpp -fPIC -DPIC -o .libs/dictionary_compiler.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary_compiler.cpp -o dictionary_compiler.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o context_id.lo context_id.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c context_id.cpp -fPIC -DPIC -o .libs/context_id.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c context_id.cpp -o context_id.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o connector.lo connector.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c connector.cpp -fPIC -DPIC -o .libs/connector.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c connector.cpp -o connector.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o nbest_generator.lo nbest_generator.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c nbest_generator.cpp -fPIC -DPIC -o .libs/nbest_generator.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c nbest_generator.cpp -o nbest_generator.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o writer.lo writer.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c writer.cpp -fPIC -DPIC -o .libs/writer.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c writer.cpp -o writer.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o string_buffer.lo string_buffer.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c string_buffer.cpp -fPIC -DPIC -o .libs/string_buffer.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c string_buffer.cpp -o string_buffer.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o param.lo param.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c param.cpp -fPIC -DPIC -o .libs/param.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c param.cpp -o param.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o tokenizer.lo tokenizer.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c tokenizer.cpp -fPIC -DPIC -o .libs/tokenizer.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c tokenizer.cpp -o tokenizer.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o char_property.lo char_property.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c char_property.cpp -fPIC -DPIC -o .libs/char_property.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c char_property.cpp -o char_property.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o dictionary.lo dictionary.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary.cpp -fPIC -DPIC -o .libs/dictionary.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c dictionary.cpp -o dictionary.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o feature_index.lo feature_index.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c feature_index.cpp -fPIC -DPIC -o .libs/feature_index.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c feature_index.cpp -o feature_index.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o lbfgs.lo lbfgs.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c lbfgs.cpp -fPIC -DPIC -o .libs/lbfgs.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c lbfgs.cpp -o lbfgs.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o learner_tagger.lo learner_tagger.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c learner_tagger.cpp -fPIC -DPIC -o .libs/learner_tagger.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c learner_tagger.cpp -o learner_tagger.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o learner.lo learner.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c learner.cpp -fPIC -DPIC -o .libs/learner.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c learner.cpp -o learner.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o libmecab.lo libmecab.cpp\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c libmecab.cpp -fPIC -DPIC -o .libs/libmecab.o\n",
"libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\" -O3 -Wall -c libmecab.cpp -o libmecab.o >/dev/null 2>&1\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -no-undefined -version-info 2:0:0 -o libmecab.la -rpath /home/studio-lab-user/mecab/lib viterbi.lo tagger.lo utils.lo eval.lo iconv_utils.lo dictionary_rewriter.lo dictionary_generator.lo dictionary_compiler.lo context_id.lo connector.lo nbest_generator.lo writer.lo string_buffer.lo param.lo tokenizer.lo char_property.lo dictionary.lo feature_index.lo lbfgs.lo learner_tagger.lo learner.lo libmecab.lo -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o .libs/viterbi.o .libs/tagger.o .libs/utils.o .libs/eval.o .libs/iconv_utils.o .libs/dictionary_rewriter.o .libs/dictionary_generator.o .libs/dictionary_compiler.o .libs/context_id.o .libs/connector.o .libs/nbest_generator.o .libs/writer.o .libs/string_buffer.o .libs/param.o .libs/tokenizer.o .libs/char_property.o .libs/dictionary.o .libs/feature_index.o .libs/lbfgs.o .libs/learner_tagger.o .libs/learner.o .libs/libmecab.o -lpthread -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o -O3 -Wl,-soname -Wl,libmecab.so.2 -o .libs/libmecab.so.2.0.0\n",
"libtool: link: (cd \".libs\" && rm -f \"libmecab.so.2\" && ln -s \"libmecab.so.2.0.0\" \"libmecab.so.2\")\n",
"libtool: link: (cd \".libs\" && rm -f \"libmecab.so\" && ln -s \"libmecab.so.2.0.0\" \"libmecab.so\")\n",
"libtool: link: ar cru .libs/libmecab.a viterbi.o tagger.o utils.o eval.o iconv_utils.o dictionary_rewriter.o dictionary_generator.o dictionary_compiler.o context_id.o connector.o nbest_generator.o writer.o string_buffer.o param.o tokenizer.o char_property.o dictionary.o feature_index.o lbfgs.o learner_tagger.o learner.o libmecab.o\n",
"libtool: link: ranlib .libs/libmecab.a\n",
"libtool: link: ( cd \".libs\" && rm -f \"libmecab.la\" && ln -s \"../libmecab.la\" \"libmecab.la\" )\n",
"g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o mecab.o mecab.cpp\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -o mecab mecab.o libmecab.la -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -O3 -Wall -o .libs/mecab mecab.o ./.libs/libmecab.so -lpthread -lstdc++ -Wl,-rpath -Wl,/home/studio-lab-user/mecab/lib\n",
"g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o mecab-dict-index.o mecab-dict-index.cpp\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -o mecab-dict-index mecab-dict-index.o libmecab.la -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -O3 -Wall -o .libs/mecab-dict-index mecab-dict-index.o ./.libs/libmecab.so -lpthread -lstdc++ -Wl,-rpath -Wl,/home/studio-lab-user/mecab/lib\n",
"g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o mecab-dict-gen.o mecab-dict-gen.cpp\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -o mecab-dict-gen mecab-dict-gen.o libmecab.la -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -O3 -Wall -o .libs/mecab-dict-gen mecab-dict-gen.o ./.libs/libmecab.so -lpthread -lstdc++ -Wl,-rpath -Wl,/home/studio-lab-user/mecab/lib\n",
"g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o mecab-cost-train.o mecab-cost-train.cpp\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -o mecab-cost-train mecab-cost-train.o libmecab.la -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -O3 -Wall -o .libs/mecab-cost-train mecab-cost-train.o ./.libs/libmecab.so -lpthread -lstdc++ -Wl,-rpath -Wl,/home/studio-lab-user/mecab/lib\n",
"g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o mecab-system-eval.o mecab-system-eval.cpp\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -o mecab-system-eval mecab-system-eval.o libmecab.la -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -O3 -Wall -o .libs/mecab-system-eval mecab-system-eval.o ./.libs/libmecab.so -lpthread -lstdc++ -Wl,-rpath -Wl,/home/studio-lab-user/mecab/lib\n",
"g++ -DHAVE_CONFIG_H -I. -I.. -DDIC_VERSION=102 -DMECAB_USE_UTF8_ONLY -DMECAB_DEFAULT_RC=\"\\\"/home/studio-lab-user/mecab/etc/mecabrc\\\"\" -O3 -Wall -c -o mecab-test-gen.o mecab-test-gen.cpp\n",
"/bin/bash ../libtool --tag=CXX --mode=link g++ -O3 -Wall -o mecab-test-gen mecab-test-gen.o libmecab.la -lpthread -lpthread -lstdc++ \n",
"libtool: link: g++ -O3 -Wall -o .libs/mecab-test-gen mecab-test-gen.o ./.libs/libmecab.so -lpthread -lstdc++ -Wl,-rpath -Wl,/home/studio-lab-user/mecab/lib\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/src'\n",
"Making all in man\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/man'\n",
"make[2]: Nothing to be done for 'all'.\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/man'\n",
"Making all in doc\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/doc'\n",
"make[2]: Nothing to be done for 'all'.\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/doc'\n",
"Making all in tests\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/tests'\n",
"make[2]: Nothing to be done for 'all'.\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/tests'\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab'\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab'\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab'\n",
"Making install in src\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab/src'\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/src'\n",
"test -z \"/home/studio-lab-user/mecab/lib\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/lib\"\n",
" /bin/bash ../libtool --mode=install /usr/bin/install -c libmecab.la '/home/studio-lab-user/mecab/lib'\n",
"libtool: install: /usr/bin/install -c .libs/libmecab.so.2.0.0 /home/studio-lab-user/mecab/lib/libmecab.so.2.0.0\n",
"libtool: install: (cd /home/studio-lab-user/mecab/lib && { ln -s -f libmecab.so.2.0.0 libmecab.so.2 || { rm -f libmecab.so.2 && ln -s libmecab.so.2.0.0 libmecab.so.2; }; })\n",
"libtool: install: (cd /home/studio-lab-user/mecab/lib && { ln -s -f libmecab.so.2.0.0 libmecab.so || { rm -f libmecab.so && ln -s libmecab.so.2.0.0 libmecab.so; }; })\n",
"libtool: install: /usr/bin/install -c .libs/libmecab.lai /home/studio-lab-user/mecab/lib/libmecab.la\n",
"libtool: install: /usr/bin/install -c .libs/libmecab.a /home/studio-lab-user/mecab/lib/libmecab.a\n",
"libtool: install: chmod 644 /home/studio-lab-user/mecab/lib/libmecab.a\n",
"libtool: install: ranlib /home/studio-lab-user/mecab/lib/libmecab.a\n",
"libtool: finish: PATH=\"/home/studio-lab-user/.conda/envs/default/bin:/opt/conda/condabin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin\" ldconfig -n /home/studio-lab-user/mecab/lib\n",
"----------------------------------------------------------------------\n",
"Libraries have been installed in:\n",
" /home/studio-lab-user/mecab/lib\n",
"\n",
"If you ever happen to want to link against installed libraries\n",
"in a given directory, LIBDIR, you must either use libtool, and\n",
"specify the full pathname of the library, or use the `-LLIBDIR'\n",
"flag during linking and do at least one of the following:\n",
" - add LIBDIR to the `LD_LIBRARY_PATH' environment variable\n",
" during execution\n",
" - add LIBDIR to the `LD_RUN_PATH' environment variable\n",
" during linking\n",
" - use the `-Wl,-rpath -Wl,LIBDIR' linker flag\n",
" - have your system administrator add LIBDIR to `/etc/ld.so.conf'\n",
"\n",
"See any operating system documentation about shared libraries for\n",
"more information, such as the ld(1) and ld.so(8) manual pages.\n",
"----------------------------------------------------------------------\n",
"test -z \"/home/studio-lab-user/mecab/bin\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/bin\"\n",
" /bin/bash ../libtool --mode=install /usr/bin/install -c mecab '/home/studio-lab-user/mecab/bin'\n",
"libtool: install: /usr/bin/install -c .libs/mecab /home/studio-lab-user/mecab/bin/mecab\n",
"test -z \"/home/studio-lab-user/mecab/libexec/mecab\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/libexec/mecab\"\n",
" /bin/bash ../libtool --mode=install /usr/bin/install -c mecab-dict-index mecab-dict-gen mecab-cost-train mecab-system-eval mecab-test-gen '/home/studio-lab-user/mecab/libexec/mecab'\n",
"libtool: install: /usr/bin/install -c .libs/mecab-dict-index /home/studio-lab-user/mecab/libexec/mecab/mecab-dict-index\n",
"libtool: install: /usr/bin/install -c .libs/mecab-dict-gen /home/studio-lab-user/mecab/libexec/mecab/mecab-dict-gen\n",
"libtool: install: /usr/bin/install -c .libs/mecab-cost-train /home/studio-lab-user/mecab/libexec/mecab/mecab-cost-train\n",
"libtool: install: /usr/bin/install -c .libs/mecab-system-eval /home/studio-lab-user/mecab/libexec/mecab/mecab-system-eval\n",
"libtool: install: /usr/bin/install -c .libs/mecab-test-gen /home/studio-lab-user/mecab/libexec/mecab/mecab-test-gen\n",
"test -z \"/home/studio-lab-user/mecab/include\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/include\"\n",
" /usr/bin/install -c -m 644 mecab.h '/home/studio-lab-user/mecab/include'\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/src'\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/src'\n",
"Making install in man\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab/man'\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/man'\n",
"make[2]: Nothing to be done for 'install-exec-am'.\n",
"test -z \"/home/studio-lab-user/mecab/share/man/man1\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/share/man/man1\"\n",
" /usr/bin/install -c -m 644 mecab.1 '/home/studio-lab-user/mecab/share/man/man1'\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/man'\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/man'\n",
"Making install in doc\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab/doc'\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/doc'\n",
"make[2]: Nothing to be done for 'install-exec-am'.\n",
"make[2]: Nothing to be done for 'install-data-am'.\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/doc'\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/doc'\n",
"Making install in tests\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab/tests'\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab/tests'\n",
"make[2]: Nothing to be done for 'install-exec-am'.\n",
"make[2]: Nothing to be done for 'install-data-am'.\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/tests'\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab/tests'\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab'\n",
"make[2]: Entering directory '/home/studio-lab-user/source/mecab/mecab'\n",
"test -z \"/home/studio-lab-user/mecab/bin\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/bin\"\n",
" /usr/bin/install -c mecab-config '/home/studio-lab-user/mecab/bin'\n",
"test -z \"/home/studio-lab-user/mecab/etc\" || /usr/bin/mkdir -p \"/home/studio-lab-user/mecab/etc\"\n",
" /usr/bin/install -c -m 644 mecabrc '/home/studio-lab-user/mecab/etc'\n",
"make[2]: Leaving directory '/home/studio-lab-user/source/mecab/mecab'\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab'\n",
"checking for a BSD-compatible install... /usr/bin/install -c\n",
"checking whether build environment is sane... yes\n",
"checking whether make sets $(MAKE)... yes\n",
"checking for working aclocal-1.4... missing\n",
"checking for working autoconf... missing\n",
"checking for working automake-1.4... missing\n",
"checking for working autoheader... missing\n",
"checking for working makeinfo... missing\n",
"checking for a BSD-compatible install... /usr/bin/install -c\n",
"using /home/studio-lab-user/mecab/bin/mecab-config for mecab-config\n",
"configure: creating ./config.status\n",
"config.status: creating Makefile\n",
"cd . && /home/studio-lab-user/source/mecab/mecab-ipadic/missing automake-1.4 --gnu --include-deps Makefile\n",
"cd . \\\n",
" && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/bash ./config.status\n",
"config.status: creating Makefile\n",
"/home/studio-lab-user/mecab/libexec/mecab/mecab-dict-index -d . -o . -f EUC-JP -t utf8\n",
"reading ./unk.def ... 40\n",
"emitting double-array: 100% |###########################################| \n",
"./model.def is not found. skipped.\n",
"reading ./Adj.csv ... 27210\n",
"reading ./Adnominal.csv ... 135\n",
"reading ./Adverb.csv ... 3032\n",
"reading ./Auxil.csv ... 199\n",
"reading ./Conjunction.csv ... 171\n",
"reading ./Filler.csv ... 19\n",
"reading ./Interjection.csv ... 252\n",
"reading ./Noun.adjv.csv ... 3328\n",
"reading ./Noun.adverbal.csv ... 795\n",
"reading ./Noun.csv ... 60477\n",
"reading ./Noun.demonst.csv ... 120\n",
"reading ./Noun.nai.csv ... 42\n",
"reading ./Noun.name.csv ... 34202\n",
"reading ./Noun.number.csv ... 42\n",
"reading ./Noun.org.csv ... 16668\n",
"reading ./Noun.others.csv ... 151\n",
"reading ./Noun.place.csv ... 72999\n",
"reading ./Noun.proper.csv ... 27327\n",
"reading ./Noun.verbal.csv ... 12146\n",
"reading ./Others.csv ... 2\n",
"reading ./Postp-col.csv ... 91\n",
"reading ./Postp.csv ... 146\n",
"reading ./Prefix.csv ... 221\n",
"reading ./Suffix.csv ... 1393\n",
"reading ./Symbol.csv ... 208\n",
"reading ./Verb.csv ... 130750\n",
"emitting double-array: 100% |###########################################| \n",
"reading ./matrix.def ... 1316x1316\n",
"emitting matrix : 100% |###########################################| \n",
"\n",
"done!\n",
"echo To enable dictionary, rewrite /home/studio-lab-user/mecab/etc/mecabrc as \\\"dicrc = /home/studio-lab-user/mecab/lib/mecab/dic/ipadic\\\"\n",
"To enable dictionary, rewrite /home/studio-lab-user/mecab/etc/mecabrc as \"dicrc = /home/studio-lab-user/mecab/lib/mecab/dic/ipadic\"\n",
"make[1]: Entering directory '/home/studio-lab-user/source/mecab/mecab-ipadic'\n",
"make[1]: Nothing to be done for 'install-exec-am'.\n",
"/bin/bash ./mkinstalldirs /home/studio-lab-user/mecab/lib/mecab/dic/ipadic\n",
"mkdir /home/studio-lab-user/mecab/lib/mecab\n",
"mkdir /home/studio-lab-user/mecab/lib/mecab/dic\n",
"mkdir /home/studio-lab-user/mecab/lib/mecab/dic/ipadic\n",
" /usr/bin/install -c -m 644 ./matrix.bin /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/matrix.bin\n",
" /usr/bin/install -c -m 644 ./char.bin /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/char.bin\n",
" /usr/bin/install -c -m 644 ./sys.dic /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/sys.dic\n",
" /usr/bin/install -c -m 644 ./unk.dic /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/unk.dic\n",
" /usr/bin/install -c -m 644 ./left-id.def /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/left-id.def\n",
" /usr/bin/install -c -m 644 ./right-id.def /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/right-id.def\n",
" /usr/bin/install -c -m 644 ./rewrite.def /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/rewrite.def\n",
" /usr/bin/install -c -m 644 ./pos-id.def /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/pos-id.def\n",
" /usr/bin/install -c -m 644 ./dicrc /home/studio-lab-user/mecab/lib/mecab/dic/ipadic/dicrc\n",
"make[1]: Leaving directory '/home/studio-lab-user/source/mecab/mecab-ipadic'\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"Cloning into 'mecab'...\n",
"Updating files: 100% (453/453), done.\n",
"./configure: line 7325: /usr/bin/file: No such file or directory\n",
"/home/studio-lab-user/source/mecab/mecab/missing: line 54: aclocal-1.11: command not found\n",
"WARNING: `aclocal-1.11' is missing on your system. You should only need it if\n",
" you modified `acinclude.m4' or `configure.in'. You might want\n",
" to install the `Automake' and `Perl' packages. Grab them from\n",
" any GNU archive site.\n",
"/home/studio-lab-user/source/mecab/mecab/missing: line 54: automake-1.11: command not found\n",
"WARNING: `automake-1.11' is missing on your system. You should only need it if\n",
" you modified `Makefile.am', `acinclude.m4' or `configure.in'.\n",
" You might want to install the `Automake' and `Perl' packages.\n",
" Grab them from any GNU archive site.\n",
"/home/studio-lab-user/source/mecab/mecab/missing: line 54: autoconf: command not found\n",
"WARNING: `autoconf' is missing on your system. You should only need it if\n",
" you modified `configure.in'. You might want to install the\n",
" `Autoconf' and `GNU m4' packages. Grab them from any GNU\n",
" archive site.\n",
"./configure: line 7325: /usr/bin/file: No such file or directory\n",
"/home/studio-lab-user/source/mecab/mecab/missing: line 54: autoheader: command not found\n",
"WARNING: `autoheader' is missing on your system. You should only need it if\n",
" you modified `acconfig.h' or `configure.in'. You might want\n",
" to install the `Autoconf' and `GNU m4' packages. Grab them\n",
" from any GNU archive site.\n",
"In file included from viterbi.cpp:14:\n",
"param.h:30:13: warning: 'Target {anonymous}::lexical_cast(Source) [with Target = std::__cxx11::basic_string<char>; Source = std::__cxx11::basic_string<char>]' defined but not used [-Wunused-function]\n",
" 30 | std::string lexical_cast<std::string, std::string>(std::string arg) {\n",
" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n",
"char_property.cpp: In static member function 'static bool MeCab::CharProperty::compile(const char*, const char*, const char*)':\n",
"char_property.cpp:194:35: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct MeCab::CharInfo'; use assignment or value-initialization instead [-Wclass-memaccess]\n",
" 194 | std::memset(&c, 0, sizeof(c));\n",
" | ^\n",
"In file included from char_property.cpp:11:\n",
"char_property.h:16:8: note: 'struct MeCab::CharInfo' declared here\n",
" 16 | struct CharInfo {\n",
" | ^~~~~~~~\n",
"learner_tagger.cpp:25:7: warning: 'char* MeCab::{anonymous}::mystrdup(const string&)' defined but not used [-Wunused-function]\n",
" 25 | char *mystrdup(const std::string &str) {\n",
" | ^~~~~~~~\n",
"ar: `u' modifier ignored since `D' is the default (see `U')\n",
"WARNING: `automake-1.4' is missing on your system. You should only need it if\n",
" you modified `Makefile.am', `acinclude.m4' or `configure.in'.\n",
" You might want to install the `Automake' and `Perl' packages.\n",
" Grab them from any GNU archive site.\n"
]
}
],
"source": [
"%%bash\n",
"\n",
"MECAB_ROOT=\"${HOME}/mecab\"\n",
"mkdir -p ${MECAB_ROOT}\n",
"\n",
"mkdir -p ~/source\n",
"\n",
"cd ~/source\n",
"git clone https://github.com/taku910/mecab.git\n",
"cd mecab/mecab\n",
"./configure --prefix=${MECAB_ROOT} --enable-utf8-only\n",
"make\n",
"make install\n",
"\n",
"cd ../mecab-ipadic\n",
"./configure --with-mecab-config=${MECAB_ROOT}/bin/mecab-config --with-charset=utf8\n",
"make\n",
"make install\n"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "fbff5c37-22ee-4036-a932-0fff8e79d883",
"metadata": {
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: pip in /home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages (21.3.1)\n",
"Requirement already satisfied: pure-pyawabi in /home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages (0.2.4)\n"
]
}
],
"source": [
"!pip install --upgrade pip\n",
"!pip install pure-pyawabi"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "aa0f184e-e2c3-49b5-8138-c00c50c564f1",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[('すもも', '名詞,一般,*,*,*,*,すもも,スモモ,スモモ'),\n",
" ('も', '助詞,係助詞,*,*,*,*,も,モ,モ'),\n",
" ('もも', '名詞,一般,*,*,*,*,もも,モモ,モモ'),\n",
" ('も', '助詞,係助詞,*,*,*,*,も,モ,モ'),\n",
" ('もも', '名詞,一般,*,*,*,*,もも,モモ,モモ'),\n",
" ('の', '助詞,連体化,*,*,*,*,の,ノ,ノ'),\n",
" ('うち', '名詞,非自立,副詞可能,*,*,*,うち,ウチ,ウチ')]\n"
]
}
],
"source": [
"import pyawabi\n",
"import pprint\n",
"pp = pprint.PrettyPrinter()\n",
"tokenizer = pyawabi.Tokenizer(\"/home/studio-lab-user/mecab/etc/mecabrc\")\n",
"pp.pprint(tokenizer.tokenize(\"すもももももももものうち\"))"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "72d556d0-8987-4d0f-927b-26ac2896d47c",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "default:Python",
"language": "python",
"name": "conda-env-default-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment