sumom****@users*****
sumom****@users*****
2011年 5月 13日 (金) 17:38:33 JST
Index: julius4/adintool/adintool.c diff -u julius4/adintool/adintool.c:1.12 julius4/adintool/adintool.c:1.13 --- julius4/adintool/adintool.c:1.12 Wed May 11 10:35:19 2011 +++ julius4/adintool/adintool.c Fri May 13 17:38:33 2011 @@ -35,7 +35,7 @@ * @author Akinobu LEE * @date Wed Mar 23 20:43:32 2005 * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * */ /* @@ -102,7 +102,7 @@ fprintf(stderr, " file speech file (filename given from prompt)\n"); fprintf(stderr, " adinnet from adinnet client (I'm server)\n"); fprintf(stderr, " stdin standard tty input\n"); - fprintf(stderr, " (\"-input xxx\" can be used instead, as same as Julius)\n"); + fprintf(stderr, " (other input can be specified by \"-input xxx\" as in Julius)\n"); fprintf(stderr, "outputdev: output data to:\n"); fprintf(stderr, " file speech file (\"foo.0000.wav\" - \"foo.N.wav\"\n"); fprintf(stderr, " adinnet to adinnet server (I'm client)\n"); @@ -119,9 +119,11 @@ fprintf(stderr, " -startid id (file-out) recording start id (%04d)\n", startid); fprintf(stderr, "Recording and Pause segmentation options:\n"); - fprintf(stderr, "(input segmentation: on for file/mic/stdin, off for adinnet)\n"); + + fprintf(stderr, " (input segmentation: on for file/mic/stdin, off for adinnet)\n"); fprintf(stderr, " [-nosegment] not segment input speech\n"); fprintf(stderr, " [-segment] force segmentation of input speech\n"); + fprintf(stderr, " [-cutsilence] (same as \"-segment\")\n"); fprintf(stderr, " [-oneshot] record only the first segment\n"); fprintf(stderr, " [-freq frequency] sampling frequency in Hz (%ld)\n", jconf->am_root->analysis.para_default.smp_freq); fprintf(stderr, " [-48] 48000Hz recording with down sampling (16kHz only)\n"); @@ -129,12 +131,15 @@ fprintf(stderr, " [-zc zerocrossnum] silence cut zerocross num (%d)\n", jconf->detect.zero_cross_num); fprintf(stderr, " [-headmargin msec] head margin length (%d)\n", jconf->detect.head_margin_msec); fprintf(stderr, " [-tailmargin msec] tail margin length (%d)\n", jconf->detect.tail_margin_msec); + fprintf(stderr, " [-chunksize sample] chunk size for processing (%d)\n", jconf->detect.chunk_size); fprintf(stderr, " [-nostrip] do not strip zero samples\n"); fprintf(stderr, " [-zmean] remove DC by zero mean\n"); fprintf(stderr, " [-raw] output in RAW format\n"); fprintf(stderr, " [-autopause] automatically pause at each input end\n"); fprintf(stderr, " [-loosesync] loose sync of resume among servers\n"); fprintf(stderr, " [-rewind msec] rewind input if spoken while pause at resume\n"); + fprintf(stderr, " [-C jconffile] load jconf to set parameters (ignore other options\n"); + fprintf(stderr, "\nLibrary configuration: "); confout_version(stderr); confout_audio(stderr); @@ -1122,16 +1127,16 @@ /* interrupt handling */ /**********************/ if (signal(SIGINT, interrupt_record) == SIG_ERR) { - fprintf(stderr, "Warning: signal intterupt may collapse output\n"); + fprintf(stderr, "Warning: signal interruption may collapse output\n"); } if (signal(SIGTERM, interrupt_record) == SIG_ERR) { - fprintf(stderr, "Warning: signal intterupt may collapse output\n"); + fprintf(stderr, "Warning: signal interruption may collapse output\n"); } if (signal(SIGPIPE, interrupt_record) == SIG_ERR) { - fprintf(stderr, "Warning: signal intterupt may collapse output\n"); + fprintf(stderr, "Warning: signal interruption may collapse output\n"); } if (signal(SIGQUIT, interrupt_record) == SIG_ERR) { - fprintf(stderr, "Warning: signal intterupt may collapse output\n"); + fprintf(stderr, "Warning: signal interruption may collapse output\n"); } /***************************/