[1.29.18] Add data for Serbian voice ("sr").

Moved Croatian/Bosnian/Serbian dictionary source data to hbs_rules, hbs_list.
Added data for Ancient Greek voice ("grc").
In voice files, the attribute: word n  adds a short pause between words. n = 1 to 4 for increasing pause length.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@103 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-11-10 22:10:43 +00:00
parent c049552f9e
commit f9725f9f64
51 changed files with 1512 additions and 503 deletions
+79 -39
View File
@@ -21,9 +21,9 @@
pl 15 107
sk 29 125
cs 6 125
hr 19 129
mk 3 130
sr 2 129
hr 20 130
mk 3 131
sr 18 130
ru 38 126
it 17 118
la 21 114
@@ -95,6 +95,7 @@ d/d_ [d] base
[d;] ro
[d] el
[d] sw
d/d_dnt [d] sr
d/dr [*] base
[d] base
[d[] base
@@ -137,6 +138,8 @@ dzh/dzh [dZ] base
[dz;] base
[J] hi
[dZ;] mk
[dZ] sr
[dZ;] sr
[dZ;] ru
dzh/dzh_ [dZ] base
[dZ;] base
@@ -197,6 +200,42 @@ g/g_ [g] base
g/xg [g] base
[g] cy
[g] es
h/h_ [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
h/h@ [h] base
[h] fi
[H] hi
[h] hi
[th] hi
[h] sr
[<h>] la
h/ha [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
h/he [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
h/hi [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
h/ho [h] base
[H] hi
[h] hi
[<h>] la
h/hu [h] base
[H] hi
[h] hi
[<h>] la
h/hu_fi [h] fi
j2/_j2 [;] base
j2/j2@ [(@)] base
j2/j2a [(a)] base
@@ -302,10 +341,12 @@ l/xl [(@)] base
[(o)] base
[(u)] base
m/_m [m] base
[m] sr
[m;] ru
[m;] ro
[m] zh
m/m_ [m] base
[m] sr
[m;] ru
[m;] ro
m/m@ [(@)] base
@@ -314,18 +355,24 @@ m/ma [(a)] base
m/me [(e)] base
m/mi [(i)] base
m/mj [m] base
[m] sr
[m;] ru
[m;] ro
m/mo [(o)] base
m/m_sr.wav [m] sr
m/mu [(u)] base
n^/_n^ [n^] base
[n^] sr
n^/n^_ [n^] base
[n^] sr
n^/n^@ [(@)] base
n^/n^#_ [n^#] is
n/_n [n] base
[n] sr
[n;] ro
[n] zh
n/n_ [n] base
[n] sr
[n;] ro
[n] zh
n/n@ [(@)] base
@@ -342,12 +389,18 @@ nn/inn [(i)] base
n/nj [n] base
[n.] base
[n^] base
[n] sr
[n^] sr
[n;] ro
n^/nj_sr.wav [N] sr
[n^] sr
nn/_nn [N] base
[N] en
[N] sr
[N] zh
nn/nn_ [N] base
[N] en
[N] sr
[N] zh
nn/nn@ [(@)] base
nn/nn#_ [N#] is
@@ -355,12 +408,15 @@ nn/nna [(a)] base
nn/nne [(e)] base
nn/nni [(i)] base
nn/nnj [N] base
[N] sr
nn/nno [(o)] base
nn/nnu [(u)] base
n^/n^o [(o)] base
n/no [(o)] base
n/_nr [n.] base
n/nr_ [n.] base
n/n_sr.wav [N] sr
[n] sr
n^/n^u [(u)] base
n/nu [(u)] base
r2/_r2 [r-] base
@@ -382,12 +438,18 @@ r3/r_i [(i)] base
r3/r_n [r/] base
[r/] ru
r3/r_o [(o)] base
r3/r_sr.wav [R] sr
[r*] sr
[r-] sr
r3/r_trill [R2] base
[R3] base
[r] af
[r] cy
[r] nl
[R] sk
[R] sr
[r*] sr
[r-] sr
[x] pt
r3/r_trill2 [R] base
[R] hr
@@ -467,6 +529,8 @@ r/xr [(@)] base
[(u)] base
ufric/ch [C] base
[C2] de
ufric/ch_sr [h] sr
[x] sr
ufric/f [f] base
[pF] de
[f;] ro
@@ -474,41 +538,6 @@ ufric/f [f] base
[f] zh
ufric/f_ [f] base
[f;] ro
ufric/h_ [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
ufric/h@ [h] base
[h] fi
[H] hi
[h] hi
[th] hi
[<h>] la
ufric/ha [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
ufric/he [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
ufric/hi [h] base
[h] fi
[H] hi
[h] hi
[<h>] la
ufric/ho [h] base
[H] hi
[h] hi
[<h>] la
ufric/hu [h] base
[H] hi
[h] hi
[<h>] la
ufric/hu_fi [h] fi
ufric/ll [L] base
[l#] is
ufric/s [s] base
@@ -539,6 +568,9 @@ ufric/sh_pzd [S;] base
ufric/sh_pzd_ [S;] base
[Z;] base
ufric/sh_rfx [s.] base
ufric/sh_sr.wav [S] sr
[Z] sr
[dZ] sr
ufric/s_pzd [s;] base
[z;] base
[s;] ro
@@ -554,6 +586,8 @@ ufric/x2 [x2] af
[x2] nl
[x2] pt
ufric/x_hr [x] hr
ufric/x_sr [h] sr
[x] sr
ustop/c [c] base
ustop/k [k] base
[k] en
@@ -720,6 +754,7 @@ ustop/t_short [t.] hi
[t] el
ustop/tsh_pzd [tS;] zh
ustop/tsh_pzd_unasp [tS;] zh
ustop/tsh_sr.wav [tS] sr
ustop/ts_pzd [tS;] base
[ts;] base
[ch] hi
@@ -728,8 +763,12 @@ ustop/ts_pzd_ [c] hi
[c] hu
ustop/ts_pzd2 [c] hi
[c] hu
ustop/t_sr [d] sr
[t] sr
ustop/ts_rfx [ts.] zh
ustop/ts_rfx_unasp [ts.] zh
ustop/ts_sr.wav [tS;] sr
[dZ;] sr
ustop/ts_unasp [ts] zh
ustop/t_unasp [t] zh
vdiph/0i [OI] pt
@@ -1016,6 +1055,7 @@ voc/z_ [z] base
voc/zh [Z] base
[z.] base
[R^] sk
[Z] sr
[Z;] ro
voc/zh_ [Z] base
[z.] base
@@ -1036,6 +1076,7 @@ vowel/@ [@] base
[@4] hi
[@] hr
vowel/@- [@-] base
[r*] hr
vowel/& [a] en_rp
[&] fi
[&:] hi
@@ -1083,7 +1124,6 @@ vowel/a [a] en_n
[a:] sk
[A] hr
[a] hr
[a] sr
[a] it
[a:] la
[a] zh
+8
View File
@@ -146,4 +146,12 @@ phoneme R
lengthmod 6
endphoneme
phoneme r*
vowel nonsyllabic
starttype (@) endtype (@)
formants vowel/@-
unstressed
appendph *
length 50
endphoneme
+7 -7
View File
@@ -337,12 +337,12 @@ phoneme h
vls glt apr
length 100
lengthmod 3
wave ufric/h_%70 // no vowel following
before (@) ufric/h@
before (a) ufric/ha
before (e) ufric/he
before (i) ufric/hi
before (o) ufric/hu_fi%70
before (u) ufric/hu_fi%80
wave h/h_%70 // no vowel following
before (@) h/h@
before (a) h/ha
before (e) h/he
before (i) h/hi
before (o) h/hu_fi%70
before (u) h/hu_fi%80
endphoneme
+15 -15
View File
@@ -233,26 +233,26 @@ phoneme h // use with voiced aspirated conants [bh] [dh] etc
vls glt apr
length 100
lengthmod 3
wave ufric/h_%70 // no vowel following
before (@) ufric/h@+35
before (a) ufric/ha+35
before (e) ufric/he+35
before (i) ufric/hi+35
before (o) ufric/ho+35
before (u) ufric/hu+35
wave h/h_%70 // no vowel following
before (@) h/h@+35
before (a) h/ha+35
before (e) h/he+35
before (i) h/hi+35
before (o) h/ho+35
before (u) h/hu+35
endphoneme
phoneme H // use for full "h"
vls glt apr
length 100
lengthmod 3
wave ufric/h_%70 // no vowel following
before (@) ufric/h@
before (a) ufric/ha
before (e) ufric/he
before (i) ufric/hi
before (o) ufric/ho
before (u) ufric/hu
wave h/h_%70 // no vowel following
before (@) h/h@
before (a) h/ha
before (e) h/he
before (i) h/hi
before (o) h/ho
before (u) h/hu
endphoneme
@@ -345,7 +345,7 @@ phoneme th // dental variant of /t/ Same as [t] for now
vowelin f1=0 f2=1500 -300 300 f3=-100 80
vowelout f1=0 f2=1500 -300 250 f3=-100 80 rms=20
lengthmod 2
wave ustop/t_hi%50+ufric/h@
wave ustop/t_hi%50+h/h@
switchvoicing d
endphoneme
+7 -7
View File
@@ -149,13 +149,13 @@ phoneme <h>
vls glt apr
length 50
lengthmod 3
wave ufric/h_%70 // no vowel following
before (@) ufric/h@
before (a) ufric/ha
before (e) ufric/he
before (i) ufric/hi
before (o) ufric/ho
before (u) ufric/hu
wave h/h_%70 // no vowel following
before (@) h/h@
before (a) h/ha
before (e) h/he
before (i) h/hi
before (o) h/ho
before (u) h/hu
endphoneme
+220 -7
View File
@@ -1,9 +1,222 @@
// include any phonemes which are different from those
// which are inherited from the base language(s)
// ufric/x_sr
// ufric/ch_sr
// ufric/sh_sr
// ustop/t_sr
// ustop/ts_sr
// ustop/tsh_sr
// r3/r_sr
// m/m_sr
// n/n_sr
// n^/nj_sr
phoneme a
vowel starttype (a) endtype (a)
length 160
formants vowel/a
reduceto & 4
// This file inherits phonemes from ph_croatian
// Only phonemes which differ from the inherited phonemes need
// to be included here.
phoneme t // dental variant of /t/
vls dnt stop
vowelin f1=0 f2=1600 -300 300 f3=-100 80
vowelout f1=0 f2=1600 -300 250 f3=-100 80 rms=20
lengthmod 2
wave ustop/t_sr%50
before _ ustop/t_sr%35
switchvoicing d
endphoneme
phoneme d
vcd alv stop
vowelin f1=2 f2=1700 -300 300 f3=-100 80 amp=16
vowelout f1=2 f2=1700 -300 300 f3=-100 80
formants d/d_dnt+ustop/t_sr%50
before _ d/d_dnt+ustop/t_sr
before r d/d_dnt+ustop/t_sr%50
after _ d/d_dnt+ustop/t_sr
after @ d/d_dnt+ustop/t_sr
lengthmod 5
switchvoicing t
endphoneme
// This is for letter "h" at the beginning of a word
phoneme x
vls vel frc
lengthmod 3
wave ufric/x_sr%70 // no vowel following
before (a) ufric/x_sr
before (e) ufric/ch_sr
before (i) ufric/ch_sr
before (o) ufric/x_sr
before (u) ufric/x_sr
endphoneme
// This is for letter "h" not at the beginning of word
phoneme h
vls vel frc
lengthmod 3
wave ufric/x_sr%70 // no vowel following
before (@) h/h@
before (a) ufric/x_sr
before (e) ufric/ch_sr
before (i) ufric/ch_sr
before (o) ufric/x_sr
before (u) ufric/x_sr
endphoneme
phoneme R
liquid
vowelin f1=0 f2=1600 -300 300 f3=-200 80
vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
formants r3/r_trill+r3/r_sr.wav%65
after & r3/r_trill+r3/r_sr.wav
after e r3/r_trill+r3/r_sr.wav
after i r3/r_trill+r3/r_sr.wav
after o r3/r_trill+r3/r_sr.wav
after u r3/r_trill+r3/r_sr.wav
after y r3/r_trill+r3/r_sr.wav
trill
lengthmod 6
endphoneme
// This is "r" which doesn't follow a vowel
phoneme r*
liquid
vowelin f1=0 f2=1600 -300 300 f3=-200 80
vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
formants r3/r_trill+r3/r_sr.wav%65
trill
lengthmod 6
endphoneme
// This is "r" which doesn't have a vowel before or after it
phoneme r-
liquid
vowelin f1=0 f2=1600 -300 300 f3=-200 80
vowelout f1=2 f2=1600 -300 300 f3=-200 80 brk
formants r3/r_trill+r3/r_sr.wav%65
trill
lengthmod 6
endphoneme
phoneme dZ
vcd pla afr sibilant
vowelin f1=2 f2=2300 200 400 f3=100 80
vowelout f1=2 f2=2300 250 300 f3=100 80 brk
formants dzh/dzh+ufric/sh_sr.wav
before _ dzh/dzh+ufric/sh_sr.wav
after _ NULL
after @ dzh/dzh+ufric/sh_sr.wav
lengthmod 5
switchvoicing tS
endphoneme
phoneme dZ;
vcd pla afr sibilant palatal
vowelin f1=2 f2=2700 400 600 f3=300 80 rate len=70
formants dzh/dzh+ustop/ts_sr.wav
before _ dzh/dzh+ustop/ts_sr.wav
after _ NULL
after @ dzh/dzh+ustop/ts_sr.wav
lengthmod 5
switchvoicing tS;
endphoneme
phoneme tS
vls pla afr sibilant
vowelin f1=0 f2=2300 200 400 f3=-100 80
lengthmod 2
wave ustop/tsh_sr.wav
before _ ustop/tsh_sr.wav
switchvoicing dZ
endphoneme
phoneme tS;
vls pal afr sibilant palatal
vowelin f1=0 f2=2700 400 600 f3=300 80 rate len=70
lengthmod 2
wave ustop/ts_sr.wav
before _ ustop/ts_sr.wav
switchvoicing dZ;
endphoneme
phoneme Z
vcd pla frc sibilant
vowelin f1=0 f2=2000 0 300 f3=-200 80
vowelout f1=2 f2=2000 0 300 f3=-200 80 brk
formants voc/zh+ufric/sh_sr.wav
before _ voc/zh+ufric/sh_sr.wav
lengthmod 6
switchvoicing S
endphoneme
phoneme S
vls pla frc sibilant
vowelin f1=0 f2=2100 100 300 f3=-100 80
vowelout f1=0 f2=2100 100 300 f3=-100 80
length 100
lengthmod 3
wave ufric/sh_sr.wav
before _ ufric/sh_sr.wav
switchvoicing Z
endphoneme
phoneme m
vcd blb nasal
vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
length 100
lengthmod 4
formants NULL
after _ m/_m+m/m_sr.wav
before _ m/m_+m/m_sr.wav
before (r) m/mj+m/m_sr.wav
endphoneme
phoneme n
vcd alv nasal
vowelout f1=2 f2=1700 -300 250 f3=-100 80 rms=20 brk
length 100
lengthmod 4
formants NULL
after _ n/_n+n/n_sr.wav
after n n/_n+n/n_sr.wav // lengthen [nn]
before _ n/n_+n/n_sr.wav
before (r) n/nj+n/n_sr.wav
endphoneme
phoneme n^
vcd pal nasal palatal
vowelout f1=3 f2=2500 300 500 f3=100 80 len=45 brk rate
length 100
lengthmod 4
formants NULL
after _ n^/_n^+n^/nj_sr.wav
before _ n^/n^_+n^/nj_sr.wav
before (r) n/nj+n^/nj_sr.wav
endphoneme
phoneme N
vcd vel nasal
// vowelout brk
vowelout f1=3 f2=2300 300 400 f3=-200 80 len=40 rms=20 brk
length 100
formants NULL
after _ nn/_nn+n/n_sr.wav
before _ nn/nn_+n/n_sr.wav
before (r) nn/nnj+n^/nj_sr.wav
lengthmod 8 // longer than 'n'
endphoneme
+10 -8
View File
@@ -27,7 +27,8 @@ phonemenumber 20 - // syllabic consonant
phonemenumber 21 _^_ // Change language
phonemenumber 22 _X1 // a language specific action
phonemenumber 23 _| // very short pause
phonemenumber 24 t# // reduced version of [t]
phonemenumber 24 _:: // long pause
phonemenumber 25 t# // reduced version of [t]
// The base phoneme table contains the utility phonemes, the consonants,
// and a schwa. The vowels are defined in the language specific phoneme
@@ -148,6 +149,7 @@ phoneme ? // glottal stop
starttype _ endtype _
length 45
lengthmod 5 // ??
beforenotvowel _ // change to pause_short
nolink
endphoneme
@@ -1109,13 +1111,13 @@ phoneme h
vls glt apr
length 100
lengthmod 3
wave ufric/h_%70 // no vowel following
before (@) ufric/h@
before (a) ufric/ha
before (e) ufric/he
before (i) ufric/hi
before (o) ufric/ho
before (u) ufric/hu
wave h/h_%70 // no vowel following
before (@) h/h@
before (a) h/ha
before (e) h/he
before (i) h/hi
before (o) h/ho
before (u) h/hu
endphoneme
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.
Binary file not shown.