by D.Leikin » Sun Mar 09, 2008 4:47 am
A regex of the form
Word: {{re=\bt'}}
(or {{re=\bt\x27}}, where 27 is apostrophe’s ansi code)
Pronunciation: tee<s>
or just the substitution
Word: t’&
Pronunciation: tee<s>
should translate phrases like “It’s T’anything.” into “ Its tee anything.”
If it doesn’t work, be sure to copy the apostrophe from your text and paste it into the expression used in pronunciation editor. (The problem is apostrophe’s code may not be unique. You can check the code in TextAloud by highlighting a character, right-clicking on it, and selecting “Display Character Codes” from the dropdown menu. So you might need to use a couple of edits simultaneously, e.g., {{re=\bt\x27}} -> tee<s> and {{re=\bt\x92}} -> tee<s>, where 92 is another ansi code of the apostrophe.)
*****
DicoEdit works only for acapela voices, but neospeech voices have their own proprietary lexicons, too.
Neospeech Paul lexicon file is
...\Program Files\NeoSpeech\Paul16\data-common\userdict\userdict_eng.csv
If you open this file with WordPad (be sure to first make a backup copy of the file and don’t use Word or Excel to edit the file!), add the following line
"yess","IY0 EH0 S S S S S S ","p","iFssssss"
followed by carriage return, and then save the file, Paul would start pronouncing “yess” as “yesssssss” (with prolonged s).
It should work for yessss’s with any number of s greater than one, since TextAloud would automatically translate them into ‘yess’ by using the regex from the previous post ( {{re=yess+}} -> yess )
Also, you can use neospeech proprietary phoneme editor
...\Program Files\NeoSpeech\Paul16\lib\UserDicEng.exe
to edit the lexicon file to try to get other interjections to work.
******
Proprietary lexicon files are voice-specific and any pronunciation edits therein take effect AFTER TextAloud sends text to the voice engine.
******
P.S. If you need the hmm interjection ONLY for Neospeech Paul, you can introduce the following edit with Basic Pronunciation editor in TextAloud:
Word: hmm
Pronunciation: <replace_this_text_with_the_line_below>;
pron sym="h m m "/
(Forum software breaks expressions inside the <_> braces.)
Please note, that semicolon after ">" is required! (Comma and full stop can also be used in this expression after the ">" sign.)
Also, please note that the above edit may not work properly with any other non-neospeech and non-us-english voices.