This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
julius [2012/03/25 13:21] – nishimotz | julius [2012/03/25 20:33] – nishimotz | ||
---|---|---|---|
Line 10: | Line 10: | ||
Reference (in Japanese) : http:// | Reference (in Japanese) : http:// | ||
+ | |||
+ | http:// | ||
< | < | ||
- | $ curl http:// | + | $ curl http:// |
$ tar xvfz pa.tar.gz | $ tar xvfz pa.tar.gz | ||
$ cd portaudio | $ cd portaudio | ||
Line 20: | Line 22: | ||
</ | </ | ||
- | download julius-4.2.tar.gz from http:// | + | download julius-4.2.1.tar.gz from http:// |
< | < | ||
- | $ tar xvfz julius-4.2.tar.gz | + | $ tar xvfz julius-4.2.1.tar.gz |
- | $ cd julius-4.2 | + | $ cd julius-4.2.1 |
$ CFLAGS=' | $ CFLAGS=' | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | **************************************************************** | ||
+ | Julius/ | ||
+ | |||
+ | - Audio I/O | ||
+ | primary mic device API : libportaudio (PortAudio library (external)) | ||
+ | available mic device API : | ||
+ | supported audio format | ||
+ | NetAudio support | ||
+ | - Language Modeling | ||
+ | class N-gram support | ||
+ | - Libraries | ||
+ | file decompression by : zlib library | ||
+ | - Process management | ||
+ | fork on adinnet input : no | ||
+ | |||
+ | Note: compilation time flags are now stored in " | ||
+ | If you link this library, please add output of | ||
+ | " | ||
+ | " | ||
+ | **************************************************************** | ||
+ | </ | ||
+ | |||
+ | < | ||
$ make | $ make | ||
$ sudo make install | $ sudo make install | ||
Line 37: | Line 65: | ||
< | < | ||
$ julius | $ julius | ||
- | Julius rev.4.1.5 - based on | + | Julius rev.4.2.1 - based on |
- | JuliusLib rev.4.1.5 (fast) | + | JuliusLib rev.4.2.1 (fast) |
- | Copyright (c) 1991-2009 Kawahara Lab., Kyoto University | + | Copyright (c) 1991-2011 Kawahara Lab., Kyoto University |
Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan | Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan | ||
Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology | Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology | ||
- | Copyright (c) 2005-2009 Julius project team, Nagoya Institute of Technology | + | Copyright (c) 2005-2011 Julius project team, Nagoya Institute of Technology |
Try ' | Try ' | ||
Line 52: | Line 80: | ||
</ | </ | ||
+ | ==== julius-simple ==== | ||
+ | |||
+ | since 2012-03-25 | ||
+ | |||
+ | < | ||
+ | $ cd julius-4.2.1/ | ||
+ | $ make CFLAGS=' | ||
+ | gcc -arch i386 -I../ | ||
+ | $ file ./ | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | === charconv=no === | ||
+ | |||
+ | since 2012-03-25 | ||
+ | |||
+ | On Snow Lerpard, this option makes error as follows: | ||
+ | |||
+ | < | ||
+ | CFLAGS=' | ||
+ | --disable-class-ngram \ | ||
+ | --with-mictype=auto \ | ||
+ | --disable-zlib \ | ||
+ | --without-sndfile \ | ||
+ | --disable-pthread \ | ||
+ | --disable-plugin \ | ||
+ | --enable-charconv=no | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | Undefined symbols: | ||
+ | " | ||
+ | _main in main.o | ||
+ | " | ||
+ | _main in main.o | ||
+ | ld: symbol(s) not found | ||
+ | collect2: ld returned 1 exit status | ||
+ | make[1]: *** [julius] Error 1 | ||
+ | </ | ||
+ | |||
+ | workaround is here | ||
+ | |||
+ | * https:// |