From 718b955bfc36e322df741d05ef67d26d70f5e517 Mon Sep 17 00:00:00 2001
From: jonsd
Date: Tue, 23 Dec 2008 10:45:33 +0000
Subject: [PATCH] [1.40.01] Fix mbrola translation for "r" in Spanish and some
other languages.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@214 d46cf337-b52f-0410-862d-fd96e6ae7743
---
docs/add_language.html | 19 +--
docs/commands.html | 18 ++-
docs/dictionary.html | 10 +-
docs/index.html | 6 +-
docs/languages.html | 49 ++++---
docs/ssml.html | 16 +--
espeak-data/voices/{zhy => zh-yue} | 2 +
phsource/mbrola/cr1 | 1 +
phsource/mbrola/es | 1 +
phsource/mbrola/hu1 | 1 +
phsource/mbrola/id1 | 2 +
phsource/mbrola/pl1 | 1 +
platforms/riscos/copysource | 1 -
platforms/windows/espeakedit/espeakedit.dsp | 18 +--
platforms/windows/espeakedit/src/speech.h | 125 ++++++++---------
.../windows/espeakedit/src_copy/speech.h | 125 ++++++++---------
platforms/windows/make_espeak.iss | 109 ++++++++++++---
platforms/windows/make_espeakedit.iss | 6 +-
platforms/windows/windows_cmd/espeak.dsp | 16 +--
platforms/windows/windows_cmd/src/speech.h | 2 +-
platforms/windows/windows_sapi/src/speech.h | 130 +++++++++---------
platforms/windows/windows_sapi/ttseng.dsp | 16 +--
platforms/windows/windows_sapi/ttsengobj.cpp | 65 +++++++++
platforms/windows/windows_sapi/version.rc2 | 10 +-
src/extras.cpp | 2 +-
src/formantdlg.cpp | 2 +
src/spectseq.cpp | 5 +-
src/speech.h | 2 +-
src/synthdata.cpp | 2 +-
src/transldlg.cpp | 2 +
30 files changed, 473 insertions(+), 291 deletions(-)
rename espeak-data/voices/{zhy => zh-yue} (86%)
diff --git a/docs/add_language.html b/docs/add_language.html
index 7b400844..8bce53f4 100644
--- a/docs/add_language.html
+++ b/docs/add_language.html
@@ -22,15 +22,14 @@ syllables within words. Some languages are easier than others. I expect most are
Improve the sounds of the phonemes. It may be that a phoneme should sound different depending on adjacent sounds, or whether it's at the start or the end of a word, between vowels, etc. This may consist of making small adjustments to vowel and diphthong quality,
or adjusting the strength of consonants. Bigger changes may be recording new or replacement consonant
sounds, or even writing program code to implement new types of sounds.
-Marking some common words in the dictionary that should be unstressed (words such as "the", "is"), or should be preceded
-by a short pause (such as "and", "but"), or have other attributes, in order to make the speech flow better.
+Some common words should be added to the dictionary (the *_list file for the language) with an "unstressed" attribute (eg. in English, words such as "the", "is", "had", "my", "she", "of", "in", "some"), or should be preceded
+by a short pause (such as "and", "but", "which"), or have other attributes, in order to make the speech flow better.
Improve the rhythm of the speech by adjusting the relative lengths of vowels in different contexts, eg. stressed/unstressed syllable,
or depending on the following phonemes. This is important for making the speech sound good for the language.
Identify or implement new functions in the program to improve the speech, or to deal with
characteristics of the language which are not currently implemented. For example, a different intonation module.
-If you are interested in working on a language, please contact me to set up the initial data and to
-discuss the features of the language.
+If you are interested in working on a language, please contact me so that I can set up the initial data and discuss the features of the language.
For most of the eSpeak voices, I do not speak or understand the language, and I do not know how it should sound. I can only make improvements as a result of feedback from speakers of that language. If you want to help to improve a language, listen carefully and try to identify individual errors, either in the spelling-to-phoneme translation, the position of stressed syllables within words, or the sound of phonemes, or problems with rhythm and vowel lengths.
@@ -90,11 +89,11 @@ marked as "unstressed" in order to make the speech flow better.
These words generally include articles (eg: a, the, this, that),
auxillary verbs (eg: is, have, will, can, may), pronouns and
possessive adjectives (eg: he, his), some common prepositions (eg:
-of, to, in, of), some common conjunctions (eg. and, or, if)., some
+of, to, in, of), some common conjunctions (eg. and, or, if), some
common adverbs and adjectives (eg. any, already)
$pause Some words should be marked to have a short pause
before then, in order to produce natural pauses in long sentences.
-These include conjunctions (eg. and, or, but, however) and perhaps
+These include conjunctions (eg. and, or, but, however, which) and perhaps
some prepositions.
6.4 Voice File
@@ -122,12 +121,8 @@ language code and the required options in SetTranslator(). However, this
may not be necessary during testing because most of the options can also be
set from the voice file in
espeak-data/voices.
-If necessary, you can define a new
-translator class for a language, and select this in the
-SetTranslator() function. This inherits the standard functions
-from the base translator class, but allows you to replace these where
-needed by new functions which are written specially for this
-language.
+
+