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 17:03] – 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: |
| - | + | ||
| - | 2010-11-13 | + | |
| - | + | ||
| - | currently, audio device is disabled. | + | |
| < | < | ||
| - | $ autoconf | + | $ ./ |
| - | $ sh configure | + | |
| </ | </ | ||
| - | Makefile should be modified as follows: | + | and type "set Text = 123" (enter) "set Speak = NOW" (enter). |
| - | < | + | You will hear "hyaku niju san" |
| - | CFLAGS | + | |
| - | lk\ 1.5.1\" | + | |
| - | _DA=1 -DWORDS_LITTLEENDIAN=1 -arch i386 -g | + | |
| - | </code> | + | ===== 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 | ||
| + | $ 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 | ||
| + | |||
| + | https:// | ||
| + | |||
| + | currently, audio device is disabled. | ||
| + | |||
| + | < | ||
| + | $ autoconf | ||
| + | $ sh configure | ||
| + | </ | ||
| < | < | ||
| - | $ ./ | + | $ make -f Makefile.MACOSX |
| - | 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. | + | < |
| + | $ 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 | ||
| + | </ | ||
| < | < | ||
| - | $ gdb jagtalk | + | $ echo " |
| - | GNU gdb 6.3.50-20050815 (Apple version gdb-1461) (Wed Dec 23 06:11:18 UTC 2009) | + | <S> |
| - | 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" | + | <W1 orth=" |
| - | This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ... done | + | </ |
| + | </ | ||
| + | </ | ||
| + | </ | ||
| - | (gdb) run -C jagtalk-macosx.conf | + | < |
| - | Starting program: / | + | $ sh test-jagtalk-macosx.sh |
| - | Reading symbols for shared libraries ++. done | + | * chasen start. |
| + | # of phonemes: 42 | ||
| rep Run = LIVE | rep Run = LIVE | ||
| - | set Text = 111 | + | (omitted) |
| - | rep Speak.stat = PROCESSING | + | |
| - | Program received signal EXC_BAD_ACCESS, | + | $ ls _out.* |
| - | Reason: KERN_PROTECTION_FAILURE at address: 0x00000010 | + | _out.wav _out.wav.info |
| - | 0x0000a35f in make_breath () at make_breath.c:103 | + | |
| - | 103 hinshi = aphrase-> | + | |
| - | (gdb) | + | |
| - | (gdb) bt | + | |
| - | #0 0x0000a35f in make_breath () at make_breath.c:103 | + | |
| - | #1 0x000143e2 in text_analysis (text=0x2340b " | + | |
| - | #2 0x00007694 in setText (rel=0x23409 " | + | |
| - | #3 0x000085fe in main (argc=0, argv=0xbffff9f8) at main.c:994 | + | |
| </ | </ | ||
project/jagtalk.1289635413.txt.gz · Last modified: 2010/11/13 17:03 by nishimotz
