Chris Brannon <firstname.lastname@example.org> writes: > Here are some proposed solutions. Can you specify custom pronunciations > within ESpeak itself? Actually easier than one might believe. 1. Create a file in the dictsource directory called en_extra The file needs to be UTF-8 and should contain the following lines: // cut here // // compile with // dictsource$ ../speak --compile=en _( 'lEftpe@rIn _) 'raItpe@rIn //cut here // It is very important that the characters in the above are transcribed exactly or the phonemes will not be correct. 2. Save the file and compile the dictionary files with the command: ../speak --compile=en this needs to be done in the dictsource directory. 3. Compile and install. If this is a new version, don't forget to run ldconfig and build the server in the servers/linux-espeak directory. This process can also be used with other languages. Replace en_extra with xx_extra where xx is your language code. Also replace en in the command line to compile the dictionary files. > If so, then tell it to pronounce ( and ) as "left paren" and "right > paren". If that can't be done right now, then we might consider > asking the author of ESpeak for such a feature. A second possibility > is to escape parentheses. This could be done in one of two places: > dtk-fix-brackets, or the "clean" procedure from servers/espeak. These might be better solutions in the end. My solution requires source installation. How does this work in other languages? Do German speakers have to hear "Left Bracket" while everything else is in German? > PS. I can't really test the ESpeak server these days, as I just switched > distributions. I don't have a usable tclx package. So I'm back to > using the trusty eflite server. Thanks very much to Mike Gorse, Lukas > Loehrer, and anyone else who has worked on eflite. I am planning an upgrade tomorrow. If that pans out, I'll let you know what I had to patch to get the server built. Last time there were some patches that still needed to be applied. Thanks, rdc -- Robert D. Crawford email@example.com "It's curtains for you, Mighty Mouse! This gun is so futuristic that even *I* don't know how it works!" -- from Ralph Bakshi's Mighty Mouse ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "firstname.lastname@example.org" with a subject of "unsubscribe" or "help"
If you have questions about this archive or had problems using it, please send mail to:email@example.com No Soliciting!
Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998
Emacspeak Files | Emacspeak Blog | Search the archive