Browse Source

[1.25.10] lang=hu, remove regressive voiceing bwteeen words

phoneme [J], more glide from previous vowel.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@26 d46cf337-b52f-0410-862d-fd96e6ae7743
master
jonsd 18 years ago
parent
commit
e4ab27025d

+ 29
- 28
dictsource/hu_list View File

// Letters
_a A:
b be:
c tse:
d de:
f Ef
g ge:
h ha:
j je:
k ka:
l El
m Em
n En
p pe:
q ku:
r ER
s S_
s ES $atend
_s ES
v ve:
w duplAve:
x iks
y ipsilAn
z ze:
_. pont



// Numbers // Numbers




// Articles // Articles
a $u a $u
a A: $atend // letter "a"
az $u az $u
aki $u+ // that


ez $u // this
ez $u+ // this




// Pronouns // Pronouns
tudtok $u+ tudtok $u+
tudnak $u+ tudnak $u+


// Letters
_a A:
a A: $atend // letter "a"
b be:
c tse:
d de:
f Ef
g ge:
h ha:
j je:
k ka:
l El
m Em
n En
p pe:
q ku:
r ER
s S_
s ES $atend
_s ES
v ve:
w duplAve:
x iks
y ipsilAn
z ze:
_. pont



// Main Exceptions List // Main Exceptions List
//===================== //=====================

+ 25
- 1
dictsource/hu_rules View File

.group a .group a
a A a A


_) a (_ %A

.group á .group á
á a: á a:


b b b b
bb b: bb b:


bizal (mát b'iz'Al // TEST

.group c .group c
c ts c ts
cc ts: cc ts:
pszi) ch C pszi) ch C
pszy) ch C pszy) ch C
mün) ch (en C mün) ch (en C
maso) ch (istA C

_sto) ck (holm k




.group d .group d


.group é .group é
é e: é e:
éi (é e::i:


.group ë .group ë
ë e ë e
C) gyj J C) gyj J
A) gyj (A J: A) gyj (A J:


_e) gy (es J:
_e) gy (ik J:
_minde) gy (ik J:


.group h .group h
h h h h
h (_ h (_
ny n^ ny n^
nny n^n^ nny n^n^
nj n^ nj n^
nyj n^


ny (k N ny (k N
ny (g N ny (g N
sz s sz s
ssz ss2 ssz ss2


sz (öld Sz


.group t .group t
_) t (_ te: _) t (_ te:
-) t (_ t -) t (_ t
t t t t
tt t: tt t:
ty c ty c
s) ty c: //
z) ty c: // keztyű
tty c: tty c:


ts tS ts tS
zs Z zs Z
zzs Z: zzs Z:


ga) zs (ág zS
_ví) zsz (int zs:
_gá) zsz (ámla zs:
_gá) zsz (ámlá zs:
_ré) zs (ó zS
_há) zs (or zS
_vá) zs (or zS


.group .group
% sa:zAle:k % sa:zAle:k

+ 8
- 8
phsource/compile_report View File

ru 36 122 ru 36 122
it 28 115 it 28 115
es 6 115 es 6 115
pt 28 132
pt_pt 20 132
pt 34 138
pt_pt 20 138
ro 36 139 ro 36 139
el 8 115 el 8 115
sv 25 116 sv 25 116
2 vowel/@_4 nl hr 2 vowel/@_4 nl hr
3 vowel/8_2 en_us hr sv 3 vowel/8_2 en_us hr sv
1 vowel/8_3 zh_yue 1 vowel/8_3 zh_yue
11 vowel/a en_n cy de hu nl pl sk hr
12 vowel/a en_n cy de hu nl pl sk hr pt
4 vowel/a# en_sc it pt 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
6 vowel/a_3 en_sc cs is
6 vowel/a_2 eo it pt pt_pt ro vi
5 vowel/a#_2 hr pt sv is sw
7 vowel/a_3 en_sc cs pt is
12 vowel/a#_3 en en_n en_us en_wm de hi ru pt_pt vi zh_yue 12 vowel/a#_3 en en_n en_us en_wm de hi ru pt_pt vi zh_yue
4 vowel/a_4 en_wm el vi 4 vowel/a_4 en_wm el vi
2 vowel/a_5 sv sw
3 vowel/a_5 pt sv sw
7 vowel/aa en_us fi fr_ca no zh_yue 7 vowel/aa en_us fi fr_ca no zh_yue
1 vowel/aa# fi 1 vowel/aa# fi
3 vowel/aa_2 en cy 3 vowel/aa_2 en cy
2 vowel/V en en_sc 2 vowel/V en en_sc
3 vowel/V_2 af ru 3 vowel/V_2 af ru
3 vowel/V_3 en_rp hi vi 3 vowel/V_3 en_rp hi vi
1 vowel/V_4 en_sc
2 vowel/V_4 en_sc pt
6 vowel/y en de fi hu nl zh_yue 6 vowel/y en de fi hu nl zh_yue
10 vowel/y# en en_wm de fi fr hu nl ro vi zh_yue 10 vowel/y# en en_wm de fi fr hu nl ro vi zh_yue
1 vowel/y## is 1 vowel/y## is

BIN
phsource/dzh/dz_pzd_ View File


BIN
phsource/dzh/xdz_pzd View File


+ 2
- 4
phsource/ph_hungarian View File

vowel starttype (i) endtype (i) vowel starttype (i) endtype (i)
length 200 length 200
formants vowel/i formants vowel/i
linkout ;
// linkout ;
endphoneme endphoneme


phoneme E phoneme E


phoneme A phoneme A
vowel starttype (o) endtype (o) vowel starttype (o) endtype (o)
length 140
length 150
formants vowel/0_3 formants vowel/0_3
endphoneme endphoneme










phoneme s2 // second part of geminated [s:] phoneme s2 // second part of geminated [s:]
vls alv frc sibilant vls alv frc sibilant
vowelin f1=0 f2=1700 -300 300 f3=-100 80 vowelin f1=0 f2=1700 -300 300 f3=-100 80

phsource/ph_portuguese → phsource/ph_portugual View File

formants vnasal/ee_n2 formants vnasal/ee_n2
endphoneme endphoneme


phoneme &U~
vowel starttype (@) endtype (u)
length 240
formants vnasal/a#u_n
endphoneme





phoneme E phoneme E
endphoneme endphoneme




phoneme R
liquid starttype r endtype r
length 100
lengthmod 7
beforenotvowel r/
trill
formants r/r
after _ r/_r t r/tr p r/tr k r/tr
before _ r/r_
endphoneme


phoneme s# // This is [s] for Brazi;, [S] for Portugal
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
before _ ufric/sh_
switchvoicing Z
endphoneme





+ 37
- 1
phsource/ph_pt_brazil View File





phoneme A // for "al" in European Portuguese phoneme A // for "al" in European Portuguese
vowel starttype (a) endtype (a)
length 200
formants vowel/a_3
endphoneme

phoneme A2 // for "al" in European Portuguese
vowel starttype (a) endtype (a) vowel starttype (a) endtype (a)
length 200 length 200
formants vowel/aa_7 formants vowel/aa_7
// reduceto & 4
endphoneme endphoneme


phoneme A3 // for "al" in European Portuguese
vowel starttype (a) endtype (a)
length 200
formants vowel/a_5
endphoneme

phoneme A4 // for "al" in European Portuguese
vowel starttype (a) endtype (a)
length 200
formants vowel/a_2
endphoneme

phoneme A5 // for "al" in European Portuguese
vowel starttype (a) endtype (a)
length 200
formants vowel/a
endphoneme

phoneme A6 // for "al" in European Portuguese
vowel starttype (a) endtype (a)
length 200
formants vowel/V_4
endphoneme

phoneme A7 // for "al" in European Portuguese
vowel starttype (a) endtype (a)
length 200
formants vowel/a#_2
endphoneme




phoneme E phoneme E
vowel starttype (e) endtype (e) vowel starttype (e) endtype (e)

BIN
phsource/vowel/a_3 View File


BIN
phsource/vowel/aa_7 View File


+ 1
- 1
src/synthdata.cpp View File

#include "translate.h" #include "translate.h"
#include "wave.h" #include "wave.h"


const char *version_string = "1.25.09 26.May.07";
const char *version_string = "1.25.10 27.May.07";
const int version_phdata = 0x012501; const int version_phdata = 0x012501;


int option_device_number = -1; int option_device_number = -1;

+ 2
- 2
src/tr_languages.cpp View File

case L('h','u'): // Hungarian case L('h','u'): // Hungarian
{ {
static int stress_amps_hu[8] = {17,17, 19,19, 20,24, 24,22 }; static int stress_amps_hu[8] = {17,17, 19,19, 20,24, 24,22 };
static int stress_lengths_hu[8] = {190,190, 190,190, 0,0, 200,210};
static int stress_lengths_hu[8] = {185,190, 190,190, 0,0, 210,220};
// static int stress_lengths_hu[8] = {180,180, 200,190, 0,0, 210,225}; // static int stress_lengths_hu[8] = {180,180, 200,190, 0,0, 210,225};
static const wchar_t replace_chars_hu[] = {0xd4,0xf4,0xdb,0xfb,0}; static const wchar_t replace_chars_hu[] = {0xd4,0xf4,0xdb,0xfb,0};
static const unsigned int replacement_chars_hu[] = {0x150,0x151,0x170,0x171,0}; // allow o,u-circumflex for o,u-double-acute static const unsigned int replacement_chars_hu[] = {0x150,0x151,0x170,0x171,0}; // allow o,u-circumflex for o,u-double-acute
tr->langopts.stress_rule = 0; tr->langopts.stress_rule = 0;
tr->langopts.stress_flags = 0x36; tr->langopts.stress_flags = 0x36;
tr->langopts.unstressed_wd1 = 2; tr->langopts.unstressed_wd1 = 2;
tr->langopts.param[LOPT_REGRESSIVE_VOICING] = 0x2; // don't propagate over v
tr->langopts.param[LOPT_REGRESSIVE_VOICING] = 0x4; // don't propagate over word boundaries
tr->langopts.param[LOPT_IT_DOUBLING] = 1; tr->langopts.param[LOPT_IT_DOUBLING] = 1;
tr->langopts.long_stop = 130; tr->langopts.long_stop = 130;



Loading…
Cancel
Save