fr: remove the unused fr-CA phoneme table.

There is no fr-CA language dialect dialect file, nor has there
been in the espeak/espeak-ng history.

The fr-CA phoneme table defined the additional phonemes [U], [y"],
[E:], and [A]. The fr-FR phoneme table mapped these to [u], [y],
[E], and [a] respectively. This meant to describe the phonemes that
have not been merged in fr-CA, but have merged in fr-FR, as described
in https://en.wikipedia.org/wiki/Quebec_French_phonology.

The only use of these phonemes in the French dictionary was with
the word "tramway" using [E:]. This has been replaced with [E] to
match the rest of the dictionary file transcriptions, and those
phonemes for fr-CA have been removed.

If fr-CA is supported in the future, the French dictionary would
need to be modified to reverse the merger of the phonemes that are
not merged in fr-CA, with the merge logic being performed in the
fr-FR phoneme table like in the code being removed in this commit.
This commit is contained in:
Reece H. Dunn
2018-03-08 07:12:49 +00:00
parent c5f88c51dd
commit 6dc13c99a9
6 changed files with 5 additions and 117 deletions
+1 -22
View File
@@ -13,7 +13,7 @@ endphoneme
phoneme : // Lengthen previous vowel by "length"
virtual
length 40 // shorter than for fr-ca
length 40
endphoneme
phoneme #cFR virtual
@@ -592,27 +592,6 @@ endphoneme
// These vowels map to others in fr-fr, but are distinct in fr-ca
phoneme U // same as [u]
import_phoneme fr/u
endphoneme
phoneme y" // same as [y]
import_phoneme fr/y
endphoneme
phoneme E: // slightly longer than [E]
import_phoneme E
endphoneme
phoneme A // same as [a]
import_phoneme a
endphoneme
// CONSONANTS
//===========
// uses the consonants in file "phonemes", unless overridden here
-87
View File
@@ -1,87 +0,0 @@
//====================================================
// French - Canadian
//====================================================
// Based on French.
// This file redefines phonemes which differ from those in ph_french
phoneme : // Lengthen previous vowel by "length"
virtual
length 70
endphoneme
phoneme E
vwl starttype #e endtype #e
length 164
FMT(vowel/e_mid)
endphoneme
phoneme u
vwl starttype #u endtype #u
length 174
FMT(vowel/u_bck)
endphoneme
phoneme E~
vwl starttype #e endtype #e
length 192
FMT(vnasal/ee_n)
endphoneme
phoneme I
vwl starttype #i endtype #i
length 158
IfNextVowelAppend(;)
FMT(vowel/ii)
endphoneme
phoneme U
vwl starttype #u endtype #u
length 150
FMT(vowel/uu_bck)
endphoneme
phoneme y"
vwl starttype #u endtype #u
length 140
FMT(vowel/yy) // was sv_y2
endphoneme
phoneme E: // [ae] diphthong
vwl starttype #@ endtype #e
length 230
FMT(vdiph/ae)
endphoneme
phoneme A
vwl starttype #a endtype #a
length 166
FMT(vowel/aa)
endphoneme
// CONSONANTS
//===========
// uses the consonants in file "phonemes", unless overridden here
phoneme R
liquid trl
lengthmod 7
Vowelin f1=0 f2=1500 -400 400 f3=-400 80
IF nextPh(isNotVowel) THEN
ChangePhoneme(r/)
ENDIF
FMT(vwl_fr/@R2) addWav(r3/rx, 120)
endphoneme
-3
View File
@@ -1734,9 +1734,6 @@ include ph_estonian
phonemetable fr base1
include ph_french
phonemetable fr-ca fr
include ph_french_ca
phonemetable hak base1
include ph_hakka