This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
project:jagtalk [2010/11/13 16:57] – nishimotz | project:jagtalk [2010/12/24 14:36] – nishimotz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== jagtalk ====== | ====== jagtalk ====== | ||
+ | |||
+ | Japanese: http:// | ||
jagtalk is modified version of [[: | jagtalk is modified version of [[: | ||
Line 10: | Line 12: | ||
$ ./configure --enable-utf8 | $ ./configure --enable-utf8 | ||
$ make | $ make | ||
- | $ ./gtalk -C jagtalk.conf | + | $ ./jagtalk |
</ | </ | ||
- | ===== Mac support ===== | + | Type "set Text = 123" (enter) "set Speak = NOW" (enter). |
+ | You will hear "hyaku niju san". | ||
- | 2010-11-13 | + | * log files and gtalk-eucjp.dic are still EUC-JP, currently. |
- | currently, audio device | + | ===== PortAudio support ===== |
+ | |||
+ | since 2010-12-24 | ||
+ | |||
+ | unfinished. | ||
+ | |||
+ | * USE_PORTAUDIO macro is defined. | ||
+ | * do_output.c switches using the macro. | ||
+ | * do_output_portaudio.c is not implemented. | ||
+ | |||
+ | notes: | ||
+ | |||
+ | * [[http:// | ||
< | < | ||
$ autoconf | $ autoconf | ||
- | $ sh configure --build=i386-apple-freebsd | + | $ make clean |
+ | $ sh configure --enable-utf8 --enable-portaudio | ||
+ | $ make | ||
</ | </ | ||
- | Makefile should be modified as follows: | + | ===== Mac (Snow Leopard) support ===== |
+ | |||
+ | using unidic-chasen1312_utf8-x64. see [[:galateatalk]] | ||
+ | |||
+ | 2010-11-14 | ||
+ | |||
+ | https:// | ||
+ | |||
+ | currently, audio device is disabled. | ||
+ | |||
+ | < | ||
+ | $ autoconf | ||
+ | $ sh configure --build=i386-apple-freebsd --enable-utf8 --enable-macosx | ||
+ | </ | ||
< | < | ||
- | CFLAGS | + | $ make -f Makefile.MACOSX |
- | lk\ 1.5.1\" | + | |
- | _DA=1 -DWORDS_LITTLEENDIAN=1 -arch i386 -g | + | |
</ | </ | ||
< | < | ||
- | $ make | + | $ cat run-chasen-macosx.sh |
+ | #!/bin/sh | ||
+ | / | ||
+ | |||
+ | $ head chasenrc-utf8-macosx | ||
+ | ;; | ||
+ | ;; chasenrc for unidic / chaOne | ||
+ | ;; | ||
+ | (GRAMMAR / | ||
+ | (DADIC chadic) | ||
+ | omitted. | ||
+ | |||
+ | $ cat 00-testcmd | ||
+ | set Text = 1 | ||
+ | set SaveWAV = _out.wav | ||
+ | set Run = EXIT | ||
</ | </ | ||
+ | |||
< | < | ||
- | $ ./jagtalk | + | $ echo " |
+ | <S> | ||
+ | <AP orth=" | ||
+ | <W2 orth=" | ||
+ | <W1 orth=" | ||
+ | <W1 orth=" | ||
+ | <W1 orth=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ sh test-jagtalk-macosx.sh | ||
+ | * chasen start. | ||
+ | # of phonemes: 42 | ||
rep Run = LIVE | rep Run = LIVE | ||
- | set Text = 123 | + | (omitted) |
- | rep Speak.stat = PROCESSING | + | |
- | Bus error | + | $ ls _out.* |
+ | _out.wav | ||
</ | </ | ||