project:jagtalk
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| project:jagtalk [2010/11/13 23:00] – nishimotz | project:jagtalk [2010/12/24 14:46] (current) – nishimotz | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== jagtalk ====== | ====== jagtalk ====== | ||
| + | |||
| + | Japanese: http:// | ||
| jagtalk is modified version of [[: | jagtalk is modified version of [[: | ||
| Line 8: | Line 10: | ||
| < | < | ||
| - | $ ./configure --enable-utf8 | + | $ autoconf |
| + | $ make clean | ||
| + | $ sh configure --enable-utf8 | ||
| $ make | $ make | ||
| - | $ ./ | + | $ sh test-jagtalk.sh |
| </ | </ | ||
| - | ===== Mac support ===== | + | or you can run: |
| - | see also [[: | + | < |
| + | $ ./jagtalk -C jagtalk.conf | ||
| + | </ | ||
| - | 2010-11-13 | + | and type "set Text = 123" (enter) "set Speak = NOW" (enter). |
| - | currently, audio device is disabled. | + | You will hear "hyaku niju san". |
| - | < | + | * log files and gtalk-eucjp.dic are still EUC-JP, currently. |
| - | $ autoconf | + | |
| - | $ sh configure | + | |
| - | </ | + | |
| - | Makefile should be modified as follows: | + | ===== PortAudio support ===== |
| - | < | + | since 2010-12-24 |
| - | CFLAGS | + | |
| - | lk\ 1.5.1\" -DPACKAGE_BUGREPORT=\" | + | unfinished. |
| - | _DA=1 -DWORDS_LITTLEENDIAN=1 -arch i386 -g | + | |
| - | </code> | + | * USE_PORTAUDIO macro is defined. |
| + | * do_output.c switches using the macro. | ||
| + | * do_output_portaudio.c is not implemented. | ||
| + | |||
| + | notes: | ||
| + | |||
| + | * [[http:// | ||
| < | < | ||
| + | $ autoconf | ||
| + | $ make clean | ||
| + | $ sh configure --enable-utf8 --enable-portaudio --enable-da=no | ||
| $ make | $ make | ||
| </ | </ | ||
| - | https:// | + | ===== Mac (Snow Leopard) support ===== |
| - | https:// | + | using unidic-chasen1312_utf8-x64. see [[: |
| - | < | + | 2010-11-14 |
| - | $ ./ | + | |
| - | rep Run = LIVE | + | |
| - | set Text = 123 | + | |
| - | rep Speak.stat = PROCESSING | + | |
| - | Bus error | + | |
| - | </ | + | |
| - | in the debug log below, "set Text = 111" is the input from console. | + | https:// |
| + | currently, audio device is disabled. | ||
| + | |||
| + | <del> | ||
| + | $ autoconf | ||
| + | $ sh configure --build=i386-apple-freebsd --enable-utf8 --enable-macosx | ||
| + | </ | ||
| < | < | ||
| - | $ gdb jagtalk | + | $ make -f Makefile.MACOSX |
| - | GNU gdb 6.3.50-20050815 (Apple version gdb-1461) (Wed Dec 23 06:11:18 UTC 2009) | + | </code> |
| - | Copyright 2004 Free Software Foundation, Inc. | + | |
| - | GDB is free software, covered by the GNU General Public License, and you are | + | |
| - | welcome to change it and/or distribute copies of it under certain conditions. | + | |
| - | Type "show copying" | + | |
| - | There is absolutely no warranty for GDB. Type "show warranty" | + | |
| - | This GDB was configured as " | + | |
| - | (gdb) run -C jagtalk-macosx.conf | + | < |
| - | Starting program: | + | $ cat run-chasen-macosx.sh |
| - | Reading symbols | + | #!/bin/sh |
| - | rep Run = LIVE | + | /opt/local/bin/nkf -wu | / |
| - | set Text = 111 | + | |
| - | rep Speak.stat = PROCESSING | + | $ head chasenrc-utf8-macosx |
| + | ;; | ||
| + | ;; chasenrc | ||
| + | ;; | ||
| + | (GRAMMAR / | ||
| + | (DADIC chadic) | ||
| + | omitted. | ||
| - | Program received signal EXC_BAD_ACCESS, | + | $ cat 00-testcmd |
| - | Reason: KERN_PROTECTION_FAILURE at address: 0x00000010 | + | set Text = 1 |
| - | 0x0000a35f in make_breath () at make_breath.c: | + | set SaveWAV |
| - | 103 hinshi | + | set Run = EXIT |
| - | (gdb) | + | |
| - | (gdb) bt | + | |
| - | #0 0x0000a35f in make_breath () at make_breath.c: | + | |
| - | #1 | + | |
| - | #2 0x00007694 in setText (rel=0x23409 " | + | |
| - | #3 0x000085fe in main (argc=0, argv=0xbffff9f8) at main.c:994 | + | |
| </ | </ | ||
| - | ==== using unidic-eucjp-x64 ==== | ||
| - | |||
| - | see [[: | ||
| < | < | ||
| - | $ echo " | + | $ echo " |
| <S> | <S> | ||
| - | <W1 orth=" | + | <AP orth=" |
| - | <W1 orth=" | + | <W2 orth=" |
| - | <W1 orth=" | + | |
| + | <W1 orth=" | ||
| + | <W1 orth=" | ||
| + | | ||
| + | </AP> | ||
| </S> | </S> | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | $ sh test-jagtalk-macosx.sh | ||
| + | * chasen start. | ||
| + | # of phonemes: 42 | ||
| + | rep Run = LIVE | ||
| + | (omitted) | ||
| + | |||
| + | $ ls _out.* | ||
| + | _out.wav | ||
| </ | </ | ||
project/jagtalk.1289656800.txt.gz · Last modified: 2010/11/13 23:00 by nishimotz
