[1.24.12] Produce dictsource/dict_phonemes, a list of which phonemes are used by each language's *_rules and *_list files.

Fix crash with -X option when spelling words (acronyms).
Rules files: added special character X meaning "no vowel until the word boundary". Used for lang=no.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@14 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-05-18 10:52:23 +00:00
parent 50136a6da2
commit f65bf2072b
26 changed files with 266 additions and 110 deletions
+6 -7
View File
@@ -14,13 +14,13 @@
fi 40 123
fr 33 115
fr_ca 11 115
hi 50 128
hi 49 127
hu 24 109
nl 25 112
pl 17 103
sk 25 120
cs 5 120
hr 23 129
hr 24 130
ru 36 120
it 28 112
es 6 112
@@ -233,7 +233,6 @@
2 ufric/x base vi
4 ufric/x2 af nl pt
1 ufric/x_hr hr
1 ufric/xx hr
1 ustop/c base
5 ustop/k base en fr hi sw
9 ustop/k_ base en fi fr hi hu it el sw
@@ -346,6 +345,7 @@
1 vdiph/u-i vi
1 vdiph/ui_2 af
2 vdiph/ui_3 cy
1 vdiph/ui_4 hr
1 vdiph/Vi vi
1 vdiph/Vu af
2 vdiph/Vu_2 en_us en_wm
@@ -411,9 +411,9 @@
1 vowel/3_3 en_rp
3 vowel/3_en en en_wm af
2 vowel/@_4 nl hr
2 vowel/8_2 en_us sv
3 vowel/8_2 en_us hr sv
1 vowel/8_3 zh_yue
10 vowel/a en_n cy de hu nl pl sk hr
11 vowel/a en_n cy de hu nl pl sk hr
4 vowel/a# en_sc it pt
5 vowel/a_2 eo it pt_pt ro vi
4 vowel/a#_2 hr sv is sw
@@ -463,7 +463,6 @@
6 vowel/ii_en en en_n
5 vowel/@_low hi ro no
8 vowel/o en en_wm de hi it pt_pt sv
1 vowel/o- hr
4 vowel/o_2 cy hi hu no
2 vowel/o-_2 en_n en_wm
2 vowel/o_3 en_sc
@@ -487,7 +486,7 @@
3 vowelr/r-voc hi sk
2 vowelr/V3_r en en_sc
1 vowelr/V_r en
8 vowel/u en_n cy de eo fr hi cs
7 vowel/u en_n cy de eo fr cs
5 vowel/u# en en_sc
3 vowel/u_2 fi sk ro
1 vowel/u#_2 sv
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+18 -14
View File
@@ -25,6 +25,13 @@ phoneme a
endphoneme
phoneme A // 'a' before 'r', doesn't reduce to [&]
vowel starttype (a) endtype (a)
length 160
formants vowel/a
endphoneme
phoneme &
vowel starttype (a) endtype (a)
length 140
@@ -72,7 +79,7 @@ endphoneme
phoneme 8
vowel starttype (o) endtype (o)
length 140
formants vowel/o-
formants vowel/8_2
endphoneme
@@ -92,14 +99,14 @@ endphoneme
phoneme aI
vowel starttype (a) endtype (i)
length 230
length 250
formants vdiph/ai
endphoneme
phoneme eI
vowel starttype (e) endtype (i)
length 220
length 250
formants vdiph/ei_2
linkout ;
endphoneme
@@ -115,12 +122,19 @@ endphoneme
phoneme oI
vowel starttype (o) endtype (i)
length 220
length 250
formants vdiph/ooi_3
linkout ;
endphoneme
phoneme uI
vowel starttype (u) endtype (i)
length 250
formants vdiph/ui_4
linkout ;
endphoneme
phoneme p
vls blb stop
@@ -170,14 +184,4 @@ phoneme x
switchvoicing Q
endphoneme
phoneme x2 // TEST
vls vel frc
vowelin f1=0 f2=2300 200 400 f3=-100 80
vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20
length 100
lengthmod 3
wave ufric/xx%120
switchvoicing Q
endphoneme
+10 -16
View File
@@ -5,7 +5,7 @@
phoneme : // Lengthen the previous vowel by "length"
virtual
length 80
length 100
endphoneme
phoneme @
@@ -13,7 +13,7 @@ phoneme @
length 130
formants vowel/@_bck
before H vowel/@_low
reduceto NULL 0
reduceto @- 0
endphoneme
phoneme V
@@ -48,14 +48,14 @@ endphoneme
phoneme i:
vowel long starttype (i) endtype (i)
length 220
length 230
formants vowel/i_fnt
linkout ;
endphoneme
phoneme i // as [i:] but not marked as 'long'
vowel starttype (i) endtype (i)
length 220
length 230
formants vowel/i_fnt
linkout ;
endphoneme
@@ -69,7 +69,7 @@ endphoneme
phoneme e:
vowel long starttype (e) endtype (e)
length 210
length 220
formants vowel/e_2
endphoneme
@@ -81,7 +81,7 @@ endphoneme
phoneme E:
vowel long starttype (e) endtype (e)
length 210
length 220
formants vdiph/ee-e
endphoneme
@@ -100,7 +100,7 @@ endphoneme
phoneme &:
vowel long starttype (a) endtype (a)
length 210
length 220
formants vowel/&
endphoneme
@@ -120,7 +120,7 @@ endphoneme
phoneme o:
vowel long starttype (o) endtype (o)
length 210
length 220
formants vowel/o_2
endphoneme
@@ -132,7 +132,7 @@ endphoneme
phoneme O:
vowel long starttype (o) endtype (o)
length 200
length 210
formants vowel/oo_4
endphoneme
@@ -165,16 +165,10 @@ endphoneme
phoneme u:
vowel long starttype (u) endtype (u)
length 220
length 230
formants vowel/u_bck
endphoneme
phoneme u2:
vowel long starttype (u) endtype (u)
length 220
formants vowel/u
endphoneme
phoneme r-
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

BIN
View File
Binary file not shown.