This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
julius [2010/11/12 15:54] – nishimotz | julius [2012/03/25 20:27] – nishimotz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Julius ====== | ====== Julius ====== | ||
+ | |||
+ | Japanese page : http:// | ||
===== Mac OS X build ===== | ===== Mac OS X build ===== | ||
+ | |||
+ | * 2010-11-12: tested with julius-4.1.5 | ||
+ | * 2011-10-08: tested with julius-4.2 | ||
+ | * 2012-03-25: tested with julius-4.2.1 | ||
Reference (in Japanese) : http:// | Reference (in Japanese) : http:// | ||
+ | |||
+ | http:// | ||
< | < | ||
- | $ wget http:// | + | $ curl http:// |
- | $ tar xvfz pa_stable_v19_20071207.tar.gz | + | $ tar xvfz pa.tar.gz |
+ | $ cd portaudio | ||
$ CFLAGS=' | $ CFLAGS=' | ||
$ make | $ make | ||
Line 13: | Line 22: | ||
</ | </ | ||
- | download julius-4.1.5.tar.gz from http:// | + | download julius-4.2.1.tar.gz from http:// |
< | < | ||
- | $ tar xvfz julius-4.1.5.tar.gz | + | $ tar xvfz julius-4.2.1.tar.gz |
- | $ cd julius-4.1.5 | + | $ 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 26: | Line 61: | ||
$ which julius | $ which julius | ||
/ | / | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ julius | ||
+ | Julius rev.4.2.1 - based on | ||
+ | JuliusLib rev.4.2.1 (fast) | ||
+ | |||
+ | Copyright (c) 1991-2011 Kawahara Lab., Kyoto University | ||
+ | Copyright (c) 1997-2000 Information-technology Promotion Agency, Japan | ||
+ | Copyright (c) 2000-2005 Shikano Lab., Nara Institute of Science and Technology | ||
+ | Copyright (c) 2005-2011 Julius project team, Nagoya Institute of Technology | ||
+ | |||
+ | Try ' | ||
+ | Try ' | ||
+ | |||
+ | $ file / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== 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 | ||
</ | </ | ||