From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25821 invoked by alias); 4 Jan 2010 06:47:32 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 27554 Received: (qmail 14644 invoked from network); 4 Jan 2010 06:47:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.2.5 Received-SPF: softfail (ns1.primenet.com.au: transitioning SPF record at netwood.net does not designate 132.239.0.176 as permitted sender) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEACoeQUuE7wEx/2dsb2JhbACDXsFXjDyBLIIuVgQ X-IronPort-AV: E=Sophos;i="4.47,497,1257148800"; d="scan'208";a="154586886" X-Authentication-Warning: smtp.ucsd.edu: Host dyn128-54-169-243.ucsd.edu [128.54.169.243] claimed to be localhost Subject: [PATCH] espeak completion From: Jesse Weinstein To: zsh-workers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 03 Jan 2010 22:47:16 -0800 Message-ID: <1262587636.24526.8.camel@zareason> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Pretty basic, so far -- but it does include and describe the options. Jesse ---------- #compdef espeak #TODO: complete arguments to -v #TODO: complete non-existing filenames for -w and --phonout #TODO: describe special cases for -k #TODO: complete --punct better? #TODO: complete language code for --voices, etc. local expl _arguments \ '-h[help]' \ '-f[file to speak]:text file:_files' \ '--stdin[speak from stdin]' \ '-q[quiet, no sound output]' \ '-a[aplitude]:integer:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20)' \ '-l[line length]:integer: ' \ '-p[pitch]:integer:(0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99)' \ '-s[speed]:words per minute: ' \ '-v[voice]:voice name: ' \ '-b[8-bit text]' \ '-m[SSML or other XML text]' \ '-w[wav output]:filename: ' \ '-x[output phoneme mnemonics]' \ '-X[output phoneme mnemonics and translation trace]' \ '--stdout[output speech to stdout]' \ '-k[captial letter indication]:integer:' \ '--punct=3D-::characters: ' \ '--voices=3D-[list available voices]::language code: ' \ '--path=3D-[espeak-data path]:path:_files -/' \ '--compile=3D-[compile]::voicename or debug: ' \ '--phonout=3D-[output filename for -x/-X]:filename: '=20