1
1

More than 1 year has passed since last update.

オムロン環境センサ(2JCIE-BU)をラズパイで使ってみた。(6)

Posted at

音声合成ができたので、流れで音声認識もやっていきます。

今回はオープンソースのJuliusを使っていきます。

USBマイクの接続

今回使うのは、こんなマイクです。

image.png

Amazonで、599円でした。

マイクを認識しているかの確認

マイク未接続
pi@raspberrypi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0590:00d4 Omron Corp.
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Intelのデバイスとして認識されました。
(ほんとかな)

マイク接続後
pi@raspberrypi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0590:00d4 Omron Corp.
Bus 001 Device 005: ID 8086:0808 Intel Corp.
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ALSAがマイクを認識しているかどうかの確認

ALSAでの認識確認
**** ハードウェアデバイス CAPTURE のリスト ****
カード 1: Device [USB PnP Sound Device], デバイス 0: USB Audio [USB Audio]
  サブデバイス: 1/1
  サブデバイス #0: subdevice #0

マイクを使えるか音声を録音、再生してみます。
録音した音声が、aplayで再生できればマイクは正常に使えています。

マイクテスト
pi@raspberrypi:~ $ arecord -f cd test.wav
録音中 WAVE 'test.wav' : Signed 16 bit Little Endian, レート 44100 Hz, ステレオ

^Cシグナル 割り込み で中断...
pi@raspberrypi:~ $ aplay test.wav
再生中 WAVE 'test.wav' : Signed 16 bit Little Endian, レート 44100 Hz, ステレオ

Juliusのインストール

GitHubからJuliusのソースコードを取得します。
今回は最新バージョンの4.6を取得しました。

Juliusの取得
pi@raspberrypi:~ $ mkdir julius
pi@raspberrypi:~ $ cd julius/
pi@raspberrypi:~/julius $ ls
pi@raspberrypi:~/julius $ wget https://github.com/julius-speech/julius/archive/v4.6.tar.gz
--2021-10-24 06:00:57--  https://github.com/julius-speech/julius/archive/v4.6.tar.gz
github.com (github.com) をDNSに問いあわせています... 52.192.72.89
github.com (github.com)|52.192.72.89|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: https://codeload.github.com/julius-speech/julius/tar.gz/v4.6 [続く]
--2021-10-24 06:00:57--  https://codeload.github.com/julius-speech/julius/tar.gz/v4.6
codeload.github.com (codeload.github.com) をDNSに問いあわせています... 52.68.31.213
codeload.github.com (codeload.github.com)|52.68.31.213|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 特定できません [application/x-gzip]
`v4.6.tar.gz' に保存中

v4.6.tar.gz                       [               <=>                                ]   9.03M  3.13MB/s 時間 2.9s

2021-10-24 06:01:01 (3.13 MB/s) - `v4.6.tar.gz' へ保存終了 [9472943]

pi@raspberrypi:~/julius $ tar xfz v4.6.tar.gz
pi@raspberrypi:~/julius $ cd julius-4.6/

必要なライブラリを追加します。

pi@raspberrypi:~/julius/julius-4.6 $ sudo apt install -y libasound2-dev libesd0-dev libsndfile1-dev
パッケージリストを読み込んでいます... 完了
以前に未選択のパッケージ libesd0-dev を選択しています。
.../5-libesd0-dev_0.2.41-11_armhf.deb を展開する準備をしています ...
libesd0-dev (0.2.41-11) を展開しています...
以前に未選択のパッケージ libogg-dev:armhf を選択しています。
.../6-libogg-dev_1.3.2-1+b2_armhf.deb を展開する準備をしています ...
libogg-dev:armhf (1.3.2-1+b2) を展開しています...
以前に未選択のパッケージ libflac-dev:armhf を選択しています。
.../7-libflac-dev_1.3.2-3_armhf.deb を展開する準備をしています ...
libflac-dev:armhf (1.3.2-3) を展開しています...
以前に未選択のパッケージ libvorbis-dev:armhf を選択しています。
.../8-libvorbis-dev_1.3.6-2_armhf.deb を展開する準備をしています ...
libvorbis-dev:armhf (1.3.6-2) を展開しています...
以前に未選択のパッケージ libsndfile1-dev を選択しています。
.../9-libsndfile1-dev_1.0.28-6+deb10u1_armhf.deb を展開する準備をしています ...
libsndfile1-dev (1.0.28-6+deb10u1) を展開しています...
libaudiofile1:armhf (0.3.6-5) を設定しています ...
libogg-dev:armhf (1.3.2-1+b2) を設定しています ...
libaudiofile-dev:armhf (0.3.6-5) を設定しています ...
esound-common (0.2.41-11) を設定しています ...
libasound2-dev:armhf (1.1.8-1+rpt1) を設定しています ...
libvorbis-dev:armhf (1.3.6-2) を設定しています ...
libflac-dev:armhf (1.3.2-3) を設定しています ...
libesd0:armhf (0.2.41-11) を設定しています ...
libsndfile1-dev (1.0.28-6+deb10u1) を設定しています ...
libesd0-dev (0.2.41-11) を設定しています ...
libc-bin (2.28-10+rpt2+rpi1) のトリガを処理しています ...
man-db (2.8.5-2) のトリガを処理しています ...

Juliusをビルドします。

まずconfigureを実行してコンパイル環境を整えます。

confiure
pi@raspberrypi:~/julius/julius-4.6 $ ./configure --with-mictype=alsa

confiureのログ
confiure
pi@raspberrypi:~/julius/julius-4.6 $ ./configure --with-mictype=alsa
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkbinhmm/Makefile
config.status: creating adinrec/Makefile
config.status: creating mkss/Makefile
config.status: creating generate-ngram/Makefile
config.status: creating jclient-perl/Makefile
config.status: creating binlm2arpa/Makefile
=== configuring in adintool (/home/pi/julius/julius-4.6/adintool)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host-specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... no
checking for sdl2-config... no
checking for SDL - version >= 2.0.0... no
*** The sdl2-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL2_CONFIG environment variable to the
*** full path to sdl2-config.
configure: creating ./config.status
config.status: creating Makefile
=== configuring in mkgshmm (/home/pi/julius/julius-4.6/mkgshmm)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkgshmm
config.status: executing default-1 commands
=== configuring in gramtools (/home/pi/julius/julius-4.6/gramtools)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host-specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking host specific optimization flag... skipped
checking for rm... /usr/bin/rm
checking for perl... /usr/bin/perl
checking for iconv... /usr/bin/iconv
checking for Jcode module in perl... Can't locate Jcode.pm in @INC (you may need to install the Jcode module) (@INC contains: /etc/perl /usr/local/lib/arm-linux-gnueabihf/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/arm-linux-gnueabihf/perl5/5.28 /usr/share/perl5 /usr/lib/arm-linux-gnueabihf/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/arm-linux-gnueabihf/perl-base).
BEGIN failed--compilation aborted.
configure: WARNING: no Jcode module in perl, gram2sapixml.pl may not work
checking for a readline library... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mkdfa/Makefile
config.status: creating mkdfa/mkdfa.pl
config.status: creating mkdfa/mkfa-1.44-flex/Makefile
config.status: creating dfa_minimize/Makefile
config.status: creating generate/Makefile
config.status: creating accept_check/Makefile
config.status: creating nextword/Makefile
config.status: creating yomi2voca/Makefile
config.status: creating yomi2voca/yomi2voca.pl
config.status: creating gram2sapixml/Makefile
config.status: creating gram2sapixml/gram2sapixml.pl
config.status: creating dfa_determinize/Makefile
=== configuring in jcontrol (/home/pi/julius/julius-4.6/jcontrol)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for gethostbyname... ./configure: line 1491: ac_fn_c_try_link: command not found
no
checking for gethostbyname in -lnsl... yes
checking for connect... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in mkbingram (/home/pi/julius/julius-4.6/mkbingram)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host-specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... 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 winnls.h usability... no
checking winnls.h presence... no
checking for winnls.h... no
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in julius (/home/pi/julius/julius-4.6/julius)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host-specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... 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 winnls.h usability... no
checking winnls.h presence... no
checking for winnls.h... no
checking for 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 charset conversion... iconv
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
=== configuring in libjulius (/home/pi/julius/julius-4.6/libjulius)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host-specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for ranlib... ranlib
checking for ar... ar
checking the archiver (ar) interface... ar
checking the archiver (ar) interface... (cached) ar
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking whether fPIC compiler option is accepted... yes
checking for POSIX thread library in -lpthread... "yes"
checking for dlopen... no
checking for dlopen in -ldl... 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 libfvad/libfvad/include/fvad.h usability... yes
checking libfvad/libfvad/include/fvad.h presence... yes
checking for libfvad/libfvad/include/fvad.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libjulius-config
config.status: creating libjulius-config-dist
config.status: creating julius-4.pc
config.status: creating doxygen.conf.ver
config.status: creating include/julius/config.h
config.status: executing default-1 commands
=== configuring in libsent (/home/pi/julius/julius-4.6/libsent)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--with-mictype=alsa' --cache-file=/dev/null --srcdir=.
checking build system type... armv7l-unknown-linux-gnueabi
checking host system type... armv7l-unknown-linux-gnueabi
checking host specific optimization flag... 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 how to run the C preprocessor... gcc -E
checking whether fPIC compiler option is accepted... yes
checking if compiler is NVIDIA nvcc... no
checking for gcc option to support OpenMP... -fopenmp
checking for NEON SIMDv2 instruction for ARM... no
checking for NEON SIMDv2 instruction with -mfpu=neon -mfloat-abi=softfp... no
checking for NEON SIMD instruction for ARM... no
checking for NEON SIMD instruction with -mfpu=neon -mfloat-abi=softfp... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /usr/bin/rm
checking for ranlib... ranlib
checking for ar... ar
checking the archiver (ar) interface... ar
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 unistd.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for gethostbyname... yes
checking for connect... yes
checking for strcasecmp... yes
checking for sleep... yes
checking alsa/asoundlib.h usability... yes
checking alsa/asoundlib.h presence... yes
checking for alsa/asoundlib.h... yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking esd.h usability... yes
checking esd.h presence... yes
checking for esd.h... yes
checking for pa_simple_new in -lpulse-simple... no
checking for DatLink/NetAudio support... no
checking for deflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for sf_open in -lsndfile... yes
checking sndfile.h usability... yes
checking sndfile.h presence... yes
checking for sndfile.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsent-config
config.status: creating libsent-config-dist
config.status: creating sent-4.pc
config.status: creating include/sent/config.h
config.status: executing default-1 commands
****************************************************************
Julius/Julian libsent library rev.4.6:

- Built on:
    compiler (CC)            : gcc
    cflags (CFLAGS)          : -g -O2 -fPIC -fopenmp
    cppflags (CPPFLAGS)      :   -DHAVE_CONFIG_H
- Audio I/O
    primary mic device API   : alsa (Advanced Linux Sound Architecture)
    available mic device API : alsa
    supported audio format   : various formats by libsndfile ver.1
    NetAudio support         : no
- Language Modeling
    class N-gram support     : yes
- Libraries
    file decompression by    : zlib library
- Process management
    fork on adinnet input    : no
- CUDA
    built-in CUDA support    : no

  Note: compilation time flags are now stored in "libsent-config".
        If you link this library, add output of
        "libsent-config --cflags" to CFLAGS, and
        "libsent-config --libs" to LIBS.
****************************************************************


configureが正常に終了したら、makeを実行します。

make
pi@raspberrypi:~/julius/julius-4.6 $ make

makeのログ
make
pi@raspberrypi:~/julius/julius-4.6 $ make
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libsent' に入ります
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/adin_file.o -c src/adin/adin_file.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/adin_sndfile.o -c src/adin/adin_sndfile.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/adin_tcpip.o -c src/adin/adin_tcpip.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/zc-e.o -c src/adin/zc-e.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/zmean.o -c src/adin/zmean.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/ds48to16.o -c src/adin/ds48to16.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/param_malloc.o -c src/anlz/param_malloc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/rdparam.o -c src/anlz/rdparam.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/paramselect.o -c src/anlz/paramselect.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/paramtypes.o -c src/anlz/paramtypes.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/strip.o -c src/anlz/strip.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/strip_mfcc.o -c src/anlz/strip_mfcc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/wrsamp.o -c src/anlz/wrsamp.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/wrwav.o -c src/anlz/wrwav.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/anlz/vecin_net.o -c src/anlz/vecin_net.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/init_dfa.o -c src/dfa/init_dfa.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/rddfa.o -c src/dfa/rddfa.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/dfa_lookup.o -c src/dfa/dfa_lookup.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/cpair.o -c src/dfa/cpair.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/mkcpair.o -c src/dfa/mkcpair.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/mkterminfo.o -c src/dfa/mkterminfo.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/dfa_util.o -c src/dfa/dfa_util.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/dfa/dfa_malloc.o -c src/dfa/dfa_malloc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef.o -c src/hmminfo/rdhmmdef.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_data.o -c src/hmminfo/rdhmmdef_data.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_mpdf.o -c src/hmminfo/rdhmmdef_mpdf.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_dens.o -c src/hmminfo/rdhmmdef_dens.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_options.o -c src/hmminfo/rdhmmdef_options.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_state.o -c src/hmminfo/rdhmmdef_state.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_trans.o -c src/hmminfo/rdhmmdef_trans.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_var.o -c src/hmminfo/rdhmmdef_var.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_streamweight.o -c src/hmminfo/rdhmmdef_streamweight.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_tiedmix.o -c src/hmminfo/rdhmmdef_tiedmix.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmdef_regtree.o -c src/hmminfo/rdhmmdef_regtree.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/hmm_lookup.o -c src/hmminfo/hmm_lookup.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/check_hmm_restriction.o -c src/hmminfo/check_hmm_restriction.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/check_hmmtype.o -c src/hmminfo/check_hmmtype.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/put_htkdata_info.o -c src/hmminfo/put_htkdata_info.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/rdhmmlist.o -c src/hmminfo/rdhmmlist.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/cdhmm.o -c src/hmminfo/cdhmm.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/guess_cdHMM.o -c src/hmminfo/guess_cdHMM.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/cdset.o -c src/hmminfo/cdset.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/init_phmm.o -c src/hmminfo/init_phmm.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/chkhmmlist.o -c src/hmminfo/chkhmmlist.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/write_binhmm.o -c src/hmminfo/write_binhmm.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/read_binhmm.o -c src/hmminfo/read_binhmm.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/write_binhmmlist.o -c src/hmminfo/write_binhmmlist.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/hmminfo/read_binhmmlist.o -c src/hmminfo/read_binhmmlist.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/net/rdwt.o -c src/net/rdwt.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/net/server-client.o -c src/net/server-client.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/init_ngram.o -c src/ngram/init_ngram.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_read_arpa.o -c src/ngram/ngram_read_arpa.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_read_bin.o -c src/ngram/ngram_read_bin.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_write_arpa.o -c src/ngram/ngram_write_arpa.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_write_bin.o -c src/ngram/ngram_write_bin.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_compact_context.o -c src/ngram/ngram_compact_context.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_access.o -c src/ngram/ngram_access.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_lookup.o -c src/ngram/ngram_lookup.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_util.o -c src/ngram/ngram_util.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/ngram/ngram_malloc.o -c src/ngram/ngram_malloc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/outprob_init.o -c src/phmm/outprob_init.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/outprob.o -c src/phmm/outprob.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gms.o -c src/phmm/gms.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gms_gprune.o -c src/phmm/gms_gprune.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/calc_mix.o -c src/phmm/calc_mix.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/calc_tied_mix.o -c src/phmm/calc_tied_mix.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gprune_common.o -c src/phmm/gprune_common.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gprune_none.o -c src/phmm/gprune_none.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gprune_safe.o -c src/phmm/gprune_safe.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gprune_heu.o -c src/phmm/gprune_heu.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/gprune_beam.o -c src/phmm/gprune_beam.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/addlog.o -c src/phmm/addlog.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/mkwhmm.o -c src/phmm/mkwhmm.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/vsegment.o -c src/phmm/vsegment.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/phmm/calc_dnn.o -c src/phmm/calc_dnn.c
src/phmm/calc_dnn.c: In function ‘dnn_setup’:
src/phmm/calc_dnn.c:620:25: warning: implicit declaration of function ‘omp_get_max_threads’ [-Wimplicit-function-declaration]
   int max_num_threads = omp_get_max_threads();
                         ^~~~~~~~~~~~~~~~~~~
src/phmm/calc_dnn.c: In function ‘dnn_calc_outprob’:
src/phmm/calc_dnn.c:813:12: warning: implicit declaration of function ‘omp_get_thread_num’ [-Wimplicit-function-declaration]
   int id = omp_get_thread_num();
            ^~~~~~~~~~~~~~~~~~
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H  -o src/phmm/calc_dnn_fma.o -c src/phmm/calc_dnn_fma.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H  -o src/phmm/calc_dnn_avx.o -c src/phmm/calc_dnn_avx.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H  -o src/phmm/calc_dnn_sse.o -c src/phmm/calc_dnn_sse.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H  -o src/phmm/calc_dnn_neonv2.o -c src/phmm/calc_dnn_neonv2.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H  -o src/phmm/calc_dnn_neon.o -c src/phmm/calc_dnn_neon.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/endian.o -c src/util/endian.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/jlog.o -c src/util/jlog.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/mymalloc.o -c src/util/mymalloc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/mybmalloc.o -c src/util/mybmalloc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/ptree.o -c src/util/ptree.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/aptree.o -c src/util/aptree.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/readfile.o -c src/util/readfile.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/gzfile.o -c src/util/gzfile.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/mystrtok.o -c src/util/mystrtok.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/strcasecmp.o -c src/util/strcasecmp.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/confout.o -c src/util/confout.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/util/qsort.o -c src/util/qsort.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/voca/init_voca.o -c src/voca/init_voca.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/voca/voca_load_htkdict.o -c src/voca/voca_load_htkdict.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/voca/voca_load_wordlist.o -c src/voca/voca_load_wordlist.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/voca/voca_lookup.o -c src/voca/voca_lookup.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/voca/voca_malloc.o -c src/voca/voca_malloc.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/voca/voca_util.o -c src/voca/voca_util.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/wav2mfcc/ss.o -c src/wav2mfcc/ss.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/wav2mfcc/wav2mfcc-buffer.o -c src/wav2mfcc/wav2mfcc-buffer.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/wav2mfcc/wav2mfcc-pipe.o -c src/wav2mfcc/wav2mfcc-pipe.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/wav2mfcc/mfcc-core.o -c src/wav2mfcc/mfcc-core.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/wav2mfcc/para.o -c src/wav2mfcc/para.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/adin_mic_linux.o -c src/adin/adin_mic_linux.c
gcc -g -O2 -fPIC -fopenmp -Iinclude   -DHAVE_CONFIG_H -o src/adin/adin_mic_linux_alsa.o -c src/adin/adin_mic_linux_alsa.c
ar cr libsent.a src/adin/adin_file.o src/adin/adin_sndfile.o src/adin/adin_tcpip.o src/adin/zc-e.o src/adin/zmean.o src/adin/ds48to16.o src/anlz/param_malloc.o src/anlz/rdparam.o src/anlz/paramselect.o src/anlz/paramtypes.o src/anlz/strip.o src/anlz/strip_mfcc.o src/anlz/wrsamp.o src/anlz/wrwav.o src/anlz/vecin_net.o src/dfa/init_dfa.o src/dfa/rddfa.o src/dfa/dfa_lookup.o src/dfa/cpair.o src/dfa/mkcpair.o src/dfa/mkterminfo.o src/dfa/dfa_util.o src/dfa/dfa_malloc.o src/hmminfo/rdhmmdef.o src/hmminfo/rdhmmdef_data.o src/hmminfo/rdhmmdef_mpdf.o src/hmminfo/rdhmmdef_dens.o src/hmminfo/rdhmmdef_options.o src/hmminfo/rdhmmdef_state.o src/hmminfo/rdhmmdef_trans.o src/hmminfo/rdhmmdef_var.o src/hmminfo/rdhmmdef_streamweight.o src/hmminfo/rdhmmdef_tiedmix.o src/hmminfo/rdhmmdef_regtree.o src/hmminfo/hmm_lookup.o src/hmminfo/check_hmm_restriction.o src/hmminfo/check_hmmtype.o src/hmminfo/put_htkdata_info.o src/hmminfo/rdhmmlist.o src/hmminfo/cdhmm.o src/hmminfo/guess_cdHMM.o src/hmminfo/cdset.o src/hmminfo/init_phmm.o src/hmminfo/chkhmmlist.o src/hmminfo/write_binhmm.o src/hmminfo/read_binhmm.o src/hmminfo/write_binhmmlist.o src/hmminfo/read_binhmmlist.o src/net/rdwt.o src/net/server-client.o src/ngram/init_ngram.o src/ngram/ngram_read_arpa.o src/ngram/ngram_read_bin.o src/ngram/ngram_write_arpa.o src/ngram/ngram_write_bin.o src/ngram/ngram_compact_context.o src/ngram/ngram_access.o src/ngram/ngram_lookup.o src/ngram/ngram_util.o src/ngram/ngram_malloc.o src/phmm/outprob_init.o src/phmm/outprob.o src/phmm/gms.o src/phmm/gms_gprune.o src/phmm/calc_mix.o src/phmm/calc_tied_mix.o src/phmm/gprune_common.o src/phmm/gprune_none.o src/phmm/gprune_safe.o src/phmm/gprune_heu.o src/phmm/gprune_beam.o src/phmm/addlog.o src/phmm/mkwhmm.o src/phmm/vsegment.o src/phmm/calc_dnn.o src/phmm/calc_dnn_fma.o src/phmm/calc_dnn_avx.o src/phmm/calc_dnn_sse.o src/phmm/calc_dnn_neonv2.o src/phmm/calc_dnn_neon.o src/util/endian.o src/util/jlog.o src/util/mymalloc.o src/util/mybmalloc.o src/util/ptree.o src/util/aptree.o src/util/readfile.o src/util/gzfile.o src/util/mystrtok.o src/util/strcasecmp.o src/util/confout.o src/util/qsort.o src/voca/init_voca.o src/voca/voca_load_htkdict.o src/voca/voca_load_wordlist.o src/voca/voca_lookup.o src/voca/voca_malloc.o src/voca/voca_util.o src/wav2mfcc/ss.o src/wav2mfcc/wav2mfcc-buffer.o src/wav2mfcc/wav2mfcc-pipe.o src/wav2mfcc/mfcc-core.o src/wav2mfcc/para.o src/adin/adin_mic_linux.o src/adin/adin_mic_linux_alsa.o
ranlib libsent.a
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libsent' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libjulius' に入ります
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/recogmain.o -c src/recogmain.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/instance.o -c src/instance.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/default.o -c src/default.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/jfunc.o -c src/jfunc.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/callback.o -c src/callback.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/useropt.o -c src/useropt.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_usage.o -c src/m_usage.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_options.o -c src/m_options.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_jconf.o -c src/m_jconf.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_chkparam.o -c src/m_chkparam.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_info.o -c src/m_info.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_fusion.o -c src/m_fusion.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/hmm_check.o -c src/hmm_check.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/multi-gram.o -c src/multi-gram.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/gramlist.o -c src/gramlist.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/wchmm.o -c src/wchmm.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/wchmm_check.o -c src/wchmm_check.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/m_adin.o -c src/m_adin.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/adin-cut.o -c src/adin-cut.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/wav2mfcc.o -c src/wav2mfcc.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/beam.o -c src/beam.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/pass1.o -c src/pass1.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/spsegment.o -c src/spsegment.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/realtime-1stpass.o -c src/realtime-1stpass.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/factoring_sub.o -c src/factoring_sub.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/outprob_style.o -c src/outprob_style.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/backtrellis.o -c src/backtrellis.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/search_bestfirst_main.o -c src/search_bestfirst_main.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/search_bestfirst_v1.o -c src/search_bestfirst_v1.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/search_bestfirst_v2.o -c src/search_bestfirst_v2.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/ngram_decode.o -c src/ngram_decode.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/dfa_decode.o -c src/dfa_decode.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/graphout.o -c src/graphout.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/confnet.o -c src/confnet.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/mbr.o -c src/mbr.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/gmm.o -c src/gmm.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/word_align.o -c src/word_align.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/plugin.o -c src/plugin.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o src/version.o -c src/version.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/fvad.o -c libfvad/libfvad/src/fvad.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/division_operations.o -c libfvad/libfvad/src/signal_processing/division_operations.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/energy.o -c libfvad/libfvad/src/signal_processing/energy.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/get_scaling_square.o -c libfvad/libfvad/src/signal_processing/get_scaling_square.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/resample_48khz.o -c libfvad/libfvad/src/signal_processing/resample_48khz.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/resample_by_2_internal.o -c libfvad/libfvad/src/signal_processing/resample_by_2_internal.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/resample_fractional.o -c libfvad/libfvad/src/signal_processing/resample_fractional.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/signal_processing/spl_inl.o -c libfvad/libfvad/src/signal_processing/spl_inl.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/vad/vad_core.o -c libfvad/libfvad/src/vad/vad_core.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/vad/vad_filterbank.o -c libfvad/libfvad/src/vad/vad_filterbank.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/vad/vad_gmm.o -c libfvad/libfvad/src/vad/vad_gmm.c
gcc -g -O2 -fPIC -Iinclude -I../libsent/include  `../libsent/libsent-config --cflags` -o libfvad/libfvad/src/vad/vad_sp.o -c libfvad/libfvad/src/vad/vad_sp.c
ar cr libjulius.a src/recogmain.o src/instance.o src/default.o src/jfunc.o src/callback.o src/useropt.o src/m_usage.o src/m_options.o src/m_jconf.o src/m_chkparam.o src/m_info.o src/m_fusion.o src/hmm_check.o src/multi-gram.o src/gramlist.o src/wchmm.o src/wchmm_check.o src/m_adin.o src/adin-cut.o src/wav2mfcc.o src/beam.o src/pass1.o src/spsegment.o src/realtime-1stpass.o src/factoring_sub.o src/outprob_style.o src/backtrellis.o src/search_bestfirst_main.o src/search_bestfirst_v1.o src/search_bestfirst_v2.o src/ngram_decode.o src/dfa_decode.o src/graphout.o src/confnet.o src/mbr.o src/gmm.o src/word_align.o src/plugin.o src/version.o libfvad/libfvad/src/fvad.o libfvad/libfvad/src/signal_processing/division_operations.o libfvad/libfvad/src/signal_processing/energy.o libfvad/libfvad/src/signal_processing/get_scaling_square.o libfvad/libfvad/src/signal_processing/resample_48khz.o libfvad/libfvad/src/signal_processing/resample_by_2_internal.o libfvad/libfvad/src/signal_processing/resample_fractional.o libfvad/libfvad/src/signal_processing/spl_inl.o libfvad/libfvad/src/vad/vad_core.o libfvad/libfvad/src/vad/vad_filterbank.o libfvad/libfvad/src/vad/vad_gmm.o libfvad/libfvad/src/vad/vad_sp.o
ranlib libjulius.a
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libjulius' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/julius' に入ります
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o main.o -c main.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o recogloop.o -c recogloop.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o module.o -c module.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o output_module.o -c output_module.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o output_stdout.o -c output_stdout.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o output_file.o -c output_file.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o record.o -c record.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o charconv.o -c charconv.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o charconv_iconv.o -c charconv_iconv.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o julius main.o recogloop.o module.o output_module.o output_stdout.o output_file.o record.o charconv.o charconv_iconv.o -L../libjulius `../libjulius/libjulius-config --libs` -L../libsent `../libsent/libsent-config --libs`

make[1]: ディレクトリ '/home/pi/julius/julius-4.6/julius' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbingram' に入ります
gcc -g -O2 -I../libsent/include  -DHAVE_CONFIG_H `../libsent/libsent-config --cflags` -o mkbingram.o -c mkbingram.c
gcc -g -O2 -I../libsent/include  -DHAVE_CONFIG_H `../libsent/libsent-config --cflags` -o charconv.o -c charconv.c
gcc -g -O2 -I../libsent/include  -DHAVE_CONFIG_H `../libsent/libsent-config --cflags` -o mkbingram mkbingram.o charconv.o -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbingram' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbinhmm' に入ります
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o mkbinhmm.o -c mkbinhmm.c
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o mkbinhmm mkbinhmm.o -L../libsent `../libsent/libsent-config --libs`
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o mkbinhmmlist.o -c mkbinhmmlist.c
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o mkbinhmmlist mkbinhmmlist.o -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbinhmm' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adinrec' に入ります
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o adinrec adinrec.c -L../libjulius `../libjulius/libjulius-config --libs` -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adinrec' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adintool' に入ります
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o adintool.o -c adintool.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o options.o -c options.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o mainloop.o -c mainloop.c
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o adintool adintool.o options.o mainloop.o -L../libjulius `../libjulius/libjulius-config --libs` -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adintool' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkgshmm' に入ります
make[1]: 'all' に対して行うべき事はありません.
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkgshmm' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkss' に入ります
gcc -g -O2 -I. -I../libjulius/include -I../libsent/include  `../libsent/libsent-config --cflags` `../libjulius/libjulius-config --cflags` -o mkss mkss.c -L../libjulius `../libjulius/libjulius-config --libs` -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkss' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jcontrol' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNSL=1 -o jcontrol.o -c jcontrol.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNSL=1 -o server.o -c server.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNSL=1 -o japi_misc.o -c japi_misc.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNSL=1 -o japi_grammar.o -c japi_grammar.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNSL=1 -o japi_process.o -c japi_process.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNSL=1 -o jcontrol jcontrol.o server.o japi_misc.o japi_grammar.o japi_process.o -lnsl
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jcontrol' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools' に入ります
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa' に入ります
(cd mkfa-1.44-flex; make)
make[3]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa/mkfa-1.44-flex' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o gram.tab.o -c gram.tab.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o main.o -c main.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o voca.o -c voca.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o nfa.o -c nfa.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o dfa.o -c dfa.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o triplet.o -c triplet.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -o mkfa gram.tab.o main.o voca.o nfa.o dfa.o triplet.o
make[3]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa/mkfa-1.44-flex' から出ます
chmod +x mkdfa.pl mkdfa.py
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_minimize' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o dfa_minimize.o -c dfa_minimize.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o dfa_minimize dfa_minimize.o -L../../libsent `../../libsent/libsent-config --libs`
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_minimize' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/generate' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o generate.o -c generate.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o gen_next.o -c gen_next.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o rdterm.o -c rdterm.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o generate generate.o gen_next.o rdterm.o -L../../libsent `../../libsent/libsent-config --libs`
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/generate' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/accept_check' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o accept_check.o -c accept_check.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o rdterm.o -c rdterm.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o accept_check accept_check.o rdterm.o -L../../libsent `../../libsent/libsent-config --libs`
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/accept_check' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/nextword' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o nextword.o -c nextword.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o get_next.o -c get_next.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o wtoken.o -c wtoken.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o rdterm.o -c rdterm.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o readline.o -c readline.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o nextword nextword.o get_next.o wtoken.o rdterm.o readline.o -L../../libsent `../../libsent/libsent-config --libs`
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/nextword' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/yomi2voca' に入ります
chmod +x yomi2voca.pl
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/yomi2voca' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/gram2sapixml' に入ります
chmod +x gram2sapixml.pl
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/gram2sapixml' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_determinize' に入ります
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o dfa_determinize.o -c dfa_determinize.c
gcc -g -O2 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_MALLOC_H=1 -I../../libsent/include `../../libsent/libsent-config --cflags` -o dfa_determinize dfa_determinize.o -L../../libsent `../../libsent/libsent-config --libs`
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_determinize' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/generate-ngram' に入ります
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o generate-ngram.o -c generate-ngram.c
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o generate-ngram generate-ngram.o -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/generate-ngram' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jclient-perl' に入ります
chmod +x jclient.pl
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jclient-perl' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/binlm2arpa' に入ります
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o binlm2arpa.o -c binlm2arpa.c
gcc -g -O2 -I../libsent/include  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" `../libsent/libsent-config --cflags` -o binlm2arpa binlm2arpa.o -L../libsent `../libsent/libsent-config --libs`
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/binlm2arpa' から出ます


makeが成功したらインストールします。

make
pi@raspberrypi:~/julius/julius-4.6 $ sudo make install

make installのログ
make_install
pi@raspberrypi:~/julius/julius-4.6 $ sudo make install
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libsent' に入ります
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m 644 libsent.a /usr/local/lib
/usr/bin/install -c -d /usr/local/lib/pkgconfig
/usr/bin/install -c -m 644 sent-4.pc /usr/local/lib/pkgconfig
/usr/bin/install -c -d /usr/local/include/sent
/usr/bin/install -c -m 644 include/sent/*.h /usr/local/include/sent
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c libsent-config-dist /usr/local/bin/libsent-config
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libsent' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libjulius' に入ります
/usr/bin/install -c -d /usr/local/lib
/usr/bin/install -c -m 644 libjulius.a /usr/local/lib
/usr/bin/install -c -d /usr/local/lib/pkgconfig
/usr/bin/install -c -m 644 julius-4.pc /usr/local/lib/pkgconfig
/usr/bin/install -c -d /usr/local/include/julius
/usr/bin/install -c -m 644 include/julius/*.h /usr/local/include/julius
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c libjulius-config-dist /usr/local/bin/libjulius-config
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/libjulius' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/julius' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c julius /usr/local/bin/julius
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/julius' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbingram' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mkbingram /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbingram' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbinhmm' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mkbinhmm mkbinhmmlist /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkbinhmm' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adinrec' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c adinrec /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adinrec' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adintool' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c adintool  /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/adintool' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkgshmm' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mkgshmm /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkgshmm' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkss' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mkss /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/mkss' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jcontrol' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c jcontrol /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jcontrol' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools' に入ります
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa' に入ります
(cd mkfa-1.44-flex; make install)
make[3]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa/mkfa-1.44-flex' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mkfa /usr/local/bin
make[3]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa/mkfa-1.44-flex' から出ます
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c mkdfa.pl mkdfa.py /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/mkdfa' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_minimize' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c dfa_minimize /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_minimize' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/generate' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c generate /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/generate' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/accept_check' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c accept_check /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/accept_check' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/nextword' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c nextword /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/nextword' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/yomi2voca' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c yomi2voca.pl /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/yomi2voca' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/gram2sapixml' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c gram2sapixml.pl /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/gram2sapixml' から出ます
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_determinize' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c dfa_determinize /usr/local/bin
make[2]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools/dfa_determinize' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/gramtools' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/generate-ngram' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c generate-ngram /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/generate-ngram' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jclient-perl' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c jclient.pl /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/jclient-perl' から出ます
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/binlm2arpa' に入ります
/usr/bin/install -c -d /usr/local/bin
/usr/bin/install -c binlm2arpa /usr/local/bin
make[1]: ディレクトリ '/home/pi/julius/julius-4.6/binlm2arpa' から出ます


ディクティーションキット

juliusをインストールしただけでは利用できないので、ディクティーションキットをセットアップしていきます。

ディクティーションキットの最新バージョン4.5をダウンロードします。

dictation-kit_download
pi@raspberrypi:~/julius $ wget https://osdn.net/projects/julius/downloads/71011/dictation-kit-4.5.zip

dictation kitのダウンロードログ
dictation-kit_download
pi@raspberrypi:~/julius $ wget https://osdn.net/projects/julius/downloads/71011/dictation-kit-4.5.zip
--2021-10-24 06:38:39--  https://osdn.net/projects/julius/downloads/71011/dictation-kit-4.5.zip
osdn.net (osdn.net) をDNSに問いあわせています... 52.41.177.127, 52.24.176.155
osdn.net (osdn.net)|52.41.177.127|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: https://osdn.net/frs/redir.php?m=rwthaachen&f=julius%2F71011%2Fdictation-kit-4.5.zip [続く]
--2021-10-24 06:38:40--  https://osdn.net/frs/redir.php?m=rwthaachen&f=julius%2F71011%2Fdictation-kit-4.5.zip
osdn.net:443 への接続を再利用します。
HTTP による接続要求を送信しました、応答を待っています... 302 Found
場所: https://ftp.halifax.rwth-aachen.de/osdn/julius/71011/dictation-kit-4.5.zip [続く]
--2021-10-24 06:38:40--  https://ftp.halifax.rwth-aachen.de/osdn/julius/71011/dictation-kit-4.5.zip
ftp.halifax.rwth-aachen.de (ftp.halifax.rwth-aachen.de) をDNSに問いあわせています... 2a00:8a60:e012:a00::21, 137.226.34.46
ftp.halifax.rwth-aachen.de (ftp.halifax.rwth-aachen.de)|2a00:8a60:e012:a00::21|:443 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 478207606 (456M) [application/zip]
`dictation-kit-4.5.zip' に保存中

dictation-kit-4.5.zip         100%[=================================================>] 456.05M  1.18MB/s 時間 9m 7s

2021-10-24 06:47:49 (853 KB/s) - `dictation-kit-4.5.zip' へ保存完了 [478207606/478207606]


ダウンロードしたdictation-kit-4.5.zipを解凍します。

dictation-kit_unzip
pi@raspberrypi:~/julius $ unzip dictation-kit-4.5.zip


dictation kitの解凍ログ
dictation-kit_unzip

pi@raspberrypi:~/julius $ unzip dictation-kit-4.5.zip
Archive:  dictation-kit-4.5.zip
  inflating: dictation-kit-4.5/.gitattributes
  inflating: dictation-kit-4.5/00readme.txt
  inflating: dictation-kit-4.5/adintool-gui.bat
  inflating: dictation-kit-4.5/am-dnn.jconf
  inflating: dictation-kit-4.5/am-gmm.jconf
  inflating: dictation-kit-4.5/bin/common/dnnclient-gpu.py
  inflating: dictation-kit-4.5/bin/common/dnnclient.py
  inflating: dictation-kit-4.5/bin/common/jclient.pl
  inflating: dictation-kit-4.5/bin/linux/adinrec
  inflating: dictation-kit-4.5/bin/linux/adintool
  inflating: dictation-kit-4.5/bin/linux/jcontrol
  inflating: dictation-kit-4.5/bin/linux/julius
  inflating: dictation-kit-4.5/bin/osx/adinrec
  inflating: dictation-kit-4.5/bin/osx/adintool
  inflating: dictation-kit-4.5/bin/osx/jcontrol
  inflating: dictation-kit-4.5/bin/osx/julius
  inflating: dictation-kit-4.5/bin/windows/adinrec.exe
  inflating: dictation-kit-4.5/bin/windows/adintool-gui.exe
  inflating: dictation-kit-4.5/bin/windows/adintool.exe
  inflating: dictation-kit-4.5/bin/windows/jcontrol.exe
  inflating: dictation-kit-4.5/bin/windows/julius.exe
  inflating: dictation-kit-4.5/dnnclient.conf
  inflating: dictation-kit-4.5/HOWTO-dnncli.txt
  inflating: dictation-kit-4.5/HOWTO.txt
  inflating: dictation-kit-4.5/julius.dnnconf
  inflating: dictation-kit-4.5/LICENSE.txt
  inflating: dictation-kit-4.5/main.jconf
  inflating: dictation-kit-4.5/model/dnn/00readme.txt
  inflating: dictation-kit-4.5/model/dnn/bias_l1_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_l2_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_l3_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_l4_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_l5_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_l6_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_l7_f4.npy
  inflating: dictation-kit-4.5/model/dnn/bias_output_f4.npy
  inflating: dictation-kit-4.5/model/dnn/binhmm.SID
  inflating: dictation-kit-4.5/model/dnn/config.lmfb
 extracting: dictation-kit-4.5/model/dnn/hmmdefs.SID.gz
  inflating: dictation-kit-4.5/model/dnn/logicalTri
  inflating: dictation-kit-4.5/model/dnn/logicalTri.bin
  inflating: dictation-kit-4.5/model/dnn/norm
  inflating: dictation-kit-4.5/model/dnn/prior
  inflating: dictation-kit-4.5/model/dnn/W_l1_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_l2_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_l3_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_l4_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_l5_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_l6_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_l7_f4.npy
  inflating: dictation-kit-4.5/model/dnn/W_output_f4.npy
  inflating: dictation-kit-4.5/model/lang_m/00readme.txt
  inflating: dictation-kit-4.5/model/lang_m/bccwj.60k.bingram
  inflating: dictation-kit-4.5/model/lang_m/bccwj.60k.htkdic
  inflating: dictation-kit-4.5/model/lang_m/bccwj.60k.pdp.htkdic
 extracting: dictation-kit-4.5/model/lang_m/bccwj.60k.tri.arpa.gz
  inflating: dictation-kit-4.5/model/phone_m/00readme.txt
  inflating: dictation-kit-4.5/model/phone_m/jnas-mono-16mix-gid.binhmm
  inflating: dictation-kit-4.5/model/phone_m/jnas-mono-16mix-gid.hmmdefs
  inflating: dictation-kit-4.5/model/phone_m/jnas-tri-3k16-gid.binhmm
  inflating: dictation-kit-4.5/model/phone_m/jnas-tri-3k16-gid.hmmdefs
  inflating: dictation-kit-4.5/model/phone_m/jnas-tri-rtree.base
  inflating: dictation-kit-4.5/model/phone_m/jnas-tri-rtree.tree
  inflating: dictation-kit-4.5/model/phone_m/logicalTri
  inflating: dictation-kit-4.5/model/phone_m/logicalTri-3k16-gid.bin
  inflating: dictation-kit-4.5/README.md
  inflating: dictation-kit-4.5/run-linux-dnn.sh
  inflating: dictation-kit-4.5/run-linux-dnncli.sh
  inflating: dictation-kit-4.5/run-linux-gmm.sh
  inflating: dictation-kit-4.5/run-osx-dnn.sh
  inflating: dictation-kit-4.5/run-osx-dnncli.sh
  inflating: dictation-kit-4.5/run-osx-gmm.sh
  inflating: dictation-kit-4.5/run-win-dnn.bat
  inflating: dictation-kit-4.5/run-win-dnncli.bat
  inflating: dictation-kit-4.5/run-win-gmm.bat
 extracting: dictation-kit-4.5/src/julius-4.5.zip
  inflating: dictation-kit-4.5/TROUBLE.txt


Juliusの実行

インストールしたJuliusを実行してみます。

「こんにちは」、「これはテストです」と言ってみたところ、以下のような結果になりました。

Julius
pi@raspberrypi:~/julius $ julius -C dictation-kit-4.5/main.jconf -C dictation-kit-4.5/am-gmm.jconf -demo
(省略)
Notice for feature extraction (01),
        *************************************************************
        * Cepstral mean normalization for real-time decoding:       *
        * NOTICE: The first input may not be recognized, since      *
        *         no initial mean is available on startup.          *
        *************************************************************

Stat: capture audio at 16000Hz
Stat: adin_alsa: latency set to 32 msec (chunk = 512 bytes)
Error: adin_alsa: unable to get pcm info from card control
Warning: adin_alsa: skip output of detailed audio device info
STAT: AD-in thread created
pass1_best:  今日 は 、
sentence1:  こんにちは 。
pass1_best:  これ は 、 と 人 です
sentence1:  これ は テスト です 。
pass1_best: <input rejected by short input>
<<< please speak >>>^C


実行ログ(省略なし)
Julius
pi@raspberrypi:~/julius $ julius -C dictation-kit-4.5/main.jconf -C dictation-kit-4.5/am-gmm.jconf -demo
STAT: include config: dictation-kit-4.5/main.jconf
STAT: include config: dictation-kit-4.5/am-gmm.jconf
STAT: jconf successfully finalized
STAT: *** loading AM00 _default
Stat: init_phmm: Reading in HMM definition
Stat: binhmm-header: variance inversed
Stat: read_binhmm: has inversed variances
Stat: read_binhmm: binary format HMM definition
Stat: read_binhmm: this HMM does not need multipath handling
Stat: init_phmm: defined HMMs:  8443
Stat: init_phmm: loading binary hmmlist
Stat: load_hmmlist_bin: reading hmmlist
Stat: aptree_read: 42857 nodes (21428 branch + 21429 data)
Stat: load_hmmlist_bin: reading pseudo phone set
Stat: aptree_read: 3253 nodes (1626 branch + 1627 data)
Stat: init_phmm: logical names: 21429 in HMMList
Stat: init_phmm: base phones:    43 used in logical
Stat: init_phmm: finished reading HMM definitions
STAT: pseudo phones are loaded from binary hmmlist file
Stat: hmm_lookup: 12 pseudo phones are added to logical HMM list
STAT: *** AM00 _default loaded
STAT: *** loading LM00 _default
Stat: init_voca: read 64274 words
Stat: init_ngram: reading in binary n-gram from dictation-kit-4.5/model/lang_m/bccwj.60k.bingram
Stat: ngram_read_bin: file version: 5
Stat: ngram_read_bin_v5: this is backward 3-gram file
stat: ngram_read_bin_v5: reading 1-gram
stat: ngram_read_bin_v5: reading 2-gram
stat: ngram_read_bin_v5: reading 3-gram
Stat: ngram_read_bin_v5: reading additional LR 2-gram
Stat: ngram_read_bin: making entry name index
Stat: init_ngram: found unknown word entry "<unk>"
Stat: init_ngram: finished reading n-gram
Stat: init_ngram: mapping dictonary words to n-gram entries
Stat: init_ngram: finished word-to-ngram mapping
Warning: EOS word "</s>" has unigram prob of "-99"
Warning: assigining value of BOS word "<s>": -2.048938
STAT: *** LM00 _default loaded
STAT: ------
STAT: All models are ready, go for final fusion
STAT: [1] create MFCC extraction instance(s)
STAT: *** create MFCC calculation modules from AM
STAT: AM 0 _default: create a new module MFCC01
STAT: 1 MFCC modules created
STAT: [2] create recognition processing instance(s) with AM and LM
STAT: composing recognizer instance SR00 _default (AM00 _default, LM00 _default)
STAT: Building HMM lexicon tree
STAT: lexicon size: 392049+23665=415714
STAT: coordination check passed
STAT: make successor lists for unigram factoring
STAT: done
STAT:  1-gram factoring values has been pre-computed
STAT: SR00 _default composed
STAT: [3] initialize for acoustic HMM calculation
Stat: outprob_init: state-level mixture PDFs, use calc_mix()
Stat: addlog: generating addlog table (size = 1953 kB)
Stat: addlog: addlog table generated
STAT: [4] prepare MFCC storage(s)
STAT: [5] prepare for real-time decoding
STAT: All init successfully done

STAT: ###### initialize input device
----------------------- System Information begin ---------------------
JuliusLib rev.4.6 (fast)

Engine specification:
 -  Base setup   : fast
 -  Supported LM : DFA, N-gram, Word
 -  Extension    : LibSndFile
 -  Compiled by  : gcc -g -O2 -fPIC
Library configuration: version 4.6
 - Audio input
    primary A/D-in driver   : alsa (Advanced Linux Sound Architecture)
    available drivers       : alsa
    wavefile formats        : various formats by libsndfile ver.1
    max. length of an input : 320000 samples, 150 words
 - Language Model
    class N-gram support    : yes
    MBR weight support      : yes
    word id unit            : short (2 bytes)
 - Acoustic Model
    multi-path treatment    : autodetect
 - External library
    file decompression by   : zlib library
 - Process hangling
    fork on adinnet input   : no
 - built-in SIMD instruction set for DNN

    NONE AVAILABLE, DNN computation may be too slow!
 - built-in CUDA support: no


------------------------------------------------------------
Configuration of Modules

 Number of defined modules: AM=1, LM=1, SR=1

 Acoustic Model (with input parameter spec.):
 - AM00 "_default"
        hmmfilename=dictation-kit-4.5/model/phone_m/jnas-tri-3k16-gid.binhmm
        hmmmapfilename=dictation-kit-4.5/model/phone_m/logicalTri-3k16-gid.bin

 Language Model:
 - LM00 "_default"
        vocabulary filename=dictation-kit-4.5/model/lang_m/bccwj.60k.htkdic
        n-gram  filename=dictation-kit-4.5/model/lang_m/bccwj.60k.bingram (binary format)

 Recognizer:
 - SR00 "_default" (AM00, LM00)

------------------------------------------------------------
Speech Analysis Module(s)

[MFCC01]  for [AM00 _default]

 Acoustic analysis condition:
               parameter = MFCC_E_D_N_Z (25 dim. from 12 cepstrum + energy, abs energy supressed with CMN)
        sample frequency = 16000 Hz
           sample period =  625  (1 = 100ns)
             window size =  400 samples (25.0 ms)
             frame shift =  160 samples (10.0 ms)
            pre-emphasis = 0.97
            # filterbank = 24
           cepst. lifter = 22
              raw energy = False
        energy normalize = False
            delta window = 2 frames (20.0 ms) around
             hi freq cut = OFF
             lo freq cut = OFF
         zero mean frame = ON
               use power = OFF
                     CVN = OFF
                    VTLN = OFF

    spectral subtraction = off

 cep. mean normalization = yes, real-time MAP-CMN, updating initial mean with last 500 input frames
  initial mean from file = N/A
   beginning data weight = 100.00
 cep. var. normalization = no

         base setup from = Julius defaults

------------------------------------------------------------
Acoustic Model(s)

[AM00 "_default"]

 HMM Info:
    8443 models, 3090 states, 3090 mpdfs, 49440 Gaussians are defined
              model type = context dependency handling ON
      training parameter = MFCC_E_N_D_Z
           vector length = 25
        number of stream = 1
             stream info = [0-24]
        cov. matrix type = DIAGC
           duration type = NULLD
        max mixture size = 16 Gaussians
     max length of model = 5 states
     logical base phones = 43
       model skip trans. = not exist, no multi-path handling

 AM Parameters:
        Gaussian pruning = none (full computation)  (-gprune)
    short pause HMM name = "sp" specified, "sp" applied (physical)  (-sp)
  cross-word CD on pass1 = handle by approx. (use 3-best of same LC)

------------------------------------------------------------
Language Model(s)

[LM00 "_default"] type=n-gram

 N-gram info:
                    spec = 3-gram, backward (right-to-left)
                OOV word = <unk>(id=2)
            wordset size = 59084
          1-gram entries =      59084  (  0.5 MB)
          2-gram entries =    2476660  ( 27.7 MB) (64% are valid contexts)
          3-gram entries =    7894442  ( 52.8 MB)
        LR 2-gram entries=    2476660  (  9.7 MB)
                   pass1 = given additional forward 2-gram

 Vocabulary Info:
        vocabulary size  = 64274 words, 366102 models
        average word len = 5.7 models, 17.1 states
       maximum state num = 54 nodes per word
       transparent words = not exist
       words under class = 9444 words

 Parameters:
        (-silhead)head sil word = 0: "<s> @0.000000 [] silB(silB)"
        (-siltail)tail sil word = 1: "</s> @0.000000 [。] silE(silE)"

------------------------------------------------------------
Recognizer(s)

[SR00 "_default"]  AM00 "_default"  +  LM00 "_default"

 Lexicon tree:
         total node num = 415714
          root node num =    632
        (148 hi-freq. words are separated from tree lexicon)
          leaf node num =  64274
         fact. node num =  64274

 Inter-word N-gram cache:
        root node to be cached = 195 / 631 (isolated only)
        word ends to be cached = 59084 (all)
          max. allocation size = 46MB
        (-lmp)  pass1 LM weight = 10.0  ins. penalty = +0.0
        (-lmp2) pass2 LM weight = 10.0  ins. penalty = +0.0
        (-transp)trans. penalty = +0.0 per word
        (-cmalpha)CM alpha coef = 0.050000

 Search parameters:
            multi-path handling = no
        (-b) trellis beam width = 1500
        (-bs)score pruning thres= disabled
        (-n)search candidate num= 30
        (-s)  search stack size = 500
        (-m)    search overflow = after 10000 hypothesis poped
                2nd pass method = searching sentence, generating N-best
        (-b2)  pass2 beam width = 100
        (-lookuprange)lookup range= 5  (tm-5 <= t <tm+5)
        (-sb)2nd scan beamthres = 80.0 (in logscore)
        (-n)        search till = 30 candidates found
        (-output)    and output = 1 candidates out of above
         IWCD handling:
           1st pass: approximation (use 3-best of same LC)
           2nd pass: loose (apply when hypo. is popped and scanned)
         factoring score: 1-gram prob. (statically assigned beforehand)
        progressive output on 1st pass
        short pause segmentation = off
                progout interval = 300 msec
        fall back on search fail = off, returns search failure

------------------------------------------------------------
Decoding algorithm:

        1st pass input processing = real time, on-the-fly
        1st pass method = 1-best approx. generating indexed trellis
        output word confidence measure based on search-time scores

------------------------------------------------------------
FrontEnd:

 Input stream:
                     input type = waveform
                   input source = microphone
            device API          = default
                  sampling freq. = 16000 Hz
                 threaded A/D-in = supported, on
           zero frames stripping = on
                 silence cutting = on
                     level thres = 800 / 32767
                 zerocross thres = 60 / sec.
                     head margin = 300 msec.
                     tail margin = 300 msec.
                      chunk size = 1000 samples
               FVAD switch value = 3 (0: moderate - 3: very aggressive to regist to noise
            FVAD param smoothlen = 5 (50ms)
            FVAD param threshold = 0.50
            long-term DC removal = off
            level scaling factor = 1.00 (disabled)
              reject short input = < 800 msec
              reject  long input = off

----------------------- System Information end -----------------------

Notice for feature extraction (01),
        *************************************************************
        * Cepstral mean normalization for real-time decoding:       *
        * NOTICE: The first input may not be recognized, since      *
        *         no initial mean is available on startup.          *
        *************************************************************

Stat: capture audio at 16000Hz
Stat: adin_alsa: latency set to 32 msec (chunk = 512 bytes)
Error: adin_alsa: unable to get pcm info from card control
Warning: adin_alsa: skip output of detailed audio device info
STAT: AD-in thread created
pass1_best:  今日 は 、
sentence1:  こんにちは 。
pass1_best:  これ は 、 と 人 です
sentence1:  これ は テスト です 。
pass1_best: <input rejected by short input>
<<< please speak >>>^C


「温度」、「湿度」みたいな単語だと、

pass1_best:  今度 、
sentence1:  本堂 。
pass1_best:  都度 、<input rejected by short input>
pass1_best:  都度 、<input rejected by short input>
pass1_best:  する と
sentence1:  する と 。

になります。活舌が悪いのか...orz

センサーと連携したいので、「現在の温度は?」「現在の湿度は?」と話してみました。
文章で、話すと精度があがるようです。
江戸っ子じゃないのに「し」と「ひ」の発音の違いができていないのかなぁ。

pass1_best:  現在 の 温度 は 、
sentence1:  現在 の 温度 は 。
pass1_best:  現在 の 人 と は 、
sentence1:  仙台 の 人 と は 。

ということで、先が長くなりそうなので、今回はここまで。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1