mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 05:35:35 +00:00
It: improvements tested on june 2016
Phonemes: fixed bad phoneme a before vowels, improved unstressed a, unstressed o, set length for phoneme i Added exceptions and review it_rules
This commit is contained in:
+11
-4
@@ -1,6 +1,6 @@
|
||||
|
||||
// This file is UTF-8 encoded
|
||||
// Updated 2016 june 4 by Chris, Christian Leo M, <llajta2012@gmail.com>
|
||||
// Updated 2016 july 6 by Christian Leo M, <llajta2012@gmail.com>
|
||||
|
||||
// $alt change [e] or [o] in the stressed syllable to [E] or [O]
|
||||
// $alt2 change [E] or [O] in the stressed syllable to [e] or [o]
|
||||
@@ -1530,7 +1530,6 @@ regine $2
|
||||
remore $1
|
||||
repubblicano $4
|
||||
restio @-*est'io
|
||||
retino $2
|
||||
revoche $1
|
||||
riavvia @-*iav:'i#a
|
||||
riavvio @-*iav:'IO
|
||||
@@ -1660,7 +1659,7 @@ vent'anni vent'an:I
|
||||
(principi attivi) p@-*intS'i:pI||at:'ivI
|
||||
(principi morali) p@-*intS'i:pI||moR'alI
|
||||
(principi sociali) p@-*intS'i:pI||sotS'alI
|
||||
(ciao ciao) tS,a/o||tSao
|
||||
(ciao ciao) tS,a/o||tS'a:o
|
||||
(un turbine) un||_t'u@-*bine
|
||||
(gli auguri) l^iaw2g'u:RI
|
||||
(pro capite) p@-*ok'a:pIte
|
||||
@@ -1769,9 +1768,11 @@ caucas $1
|
||||
cazzano $2
|
||||
ceca $alt
|
||||
champs S'amps
|
||||
chambery Samber'i
|
||||
chernobyl tS'E@-*nobil
|
||||
chianciano $2
|
||||
chicago tSikago
|
||||
chorzow x'OZuf
|
||||
cicciano $2
|
||||
cilentano $3
|
||||
ciociaria $3
|
||||
@@ -1867,6 +1868,7 @@ kazakistan $2
|
||||
kenia k'E:nia
|
||||
kosovo $1
|
||||
kuwait kw2'E:it[
|
||||
kurdistan $1
|
||||
labrador $1
|
||||
laconi $1
|
||||
langarolo $3 $alt2
|
||||
@@ -2046,8 +2048,9 @@ selvazzano $3
|
||||
seui $2
|
||||
seul $2 $only
|
||||
seychelles seIS'El
|
||||
siberia s,ib'E:Ri;a
|
||||
siberia s,ib'ERi;a
|
||||
simpliciano $3
|
||||
siniscola $3 $alt2
|
||||
sinnai $1
|
||||
sinai s'i:naI
|
||||
sizzano $2
|
||||
@@ -2200,6 +2203,7 @@ buffon $2 $only
|
||||
caino ka'i:no/
|
||||
caligola $2
|
||||
camilleri $3
|
||||
Cancelleri $3 $only
|
||||
carey _^_en
|
||||
carmel $2
|
||||
cassano $2
|
||||
@@ -2885,6 +2889,7 @@ chiacchierino $1
|
||||
chiamano $1
|
||||
chiamino $1
|
||||
chiudano $1
|
||||
cibano $1
|
||||
circolano $1
|
||||
circolino $1
|
||||
circondino $2
|
||||
@@ -4611,9 +4616,11 @@ carical $1
|
||||
causatoci $3
|
||||
cercal $1
|
||||
cercasi $1
|
||||
chiediti $1
|
||||
chiuditi kj'uditI
|
||||
cliccal $1
|
||||
cliccaci $1
|
||||
compiersi $1
|
||||
compil $2
|
||||
comunicacel $2
|
||||
comunical $2
|
||||
|
||||
+6
-14
@@ -831,12 +831,10 @@ celadon $1 $alt2
|
||||
celebre$1
|
||||
celiachia $4
|
||||
celibe $1
|
||||
celine $alt2
|
||||
cellole $alt2
|
||||
cembal $1
|
||||
cembr $alt
|
||||
cen $alt2
|
||||
cene $alt2
|
||||
cened $1 $alt
|
||||
cenerentol $alt
|
||||
cenn $alt2
|
||||
@@ -862,10 +860,8 @@ cerc $alt2
|
||||
cerchi $alt2
|
||||
cerchia $alt2
|
||||
cercine $alt2
|
||||
cercoceb $alt
|
||||
cercol $alt2
|
||||
cercopitec $alt
|
||||
cerei $1
|
||||
cernita $1
|
||||
cernobbi $alt
|
||||
cerveteri $2 $alt
|
||||
ces $alt
|
||||
@@ -877,8 +873,6 @@ cest $alt2
|
||||
cet $alt
|
||||
cetnici $alt
|
||||
cetr $alt2
|
||||
cezanne $1 $alt2
|
||||
chambery $alt2
|
||||
cheliceri $2
|
||||
cheope $1
|
||||
cheradi $1
|
||||
@@ -893,9 +887,6 @@ chioccolio $4
|
||||
chiod $2 $alt
|
||||
chirogaleo $3
|
||||
chiropote $alt
|
||||
chiudiletter $alt
|
||||
chiusavecchia $alt
|
||||
chorzow $2
|
||||
ciane tS'iane
|
||||
ciano tS'iano
|
||||
cicalio $3
|
||||
@@ -931,7 +922,6 @@ cismon $2
|
||||
cistifellea $3
|
||||
citoscheletr $3
|
||||
cittadine $3
|
||||
cittanov $alt
|
||||
civit $1
|
||||
clamidofor $3
|
||||
clausol $1
|
||||
@@ -2078,7 +2068,7 @@ juventin juvent'in
|
||||
kairos $2
|
||||
kampuchea $alt2
|
||||
kapok $2 $alt
|
||||
karate $3 $alt
|
||||
karate $3
|
||||
kayak $2
|
||||
kea $alt2
|
||||
kefir $alt
|
||||
@@ -3277,8 +3267,10 @@ resia $1
|
||||
residue $2
|
||||
resin $1
|
||||
respons $alt
|
||||
rete $alt2
|
||||
retin $1
|
||||
ret $alt2
|
||||
retin $1
|
||||
retino $2
|
||||
retini $2
|
||||
retinol $3
|
||||
retorbid $alt2
|
||||
retore $1
|
||||
|
||||
+68
-70
@@ -1,7 +1,7 @@
|
||||
|
||||
// Italian translation rules
|
||||
// This file is UTF-8 encoded
|
||||
// Last update: 2016 june 1 by Chris <llajta2012@gmail.com>
|
||||
// Last update: 2016 july 6 by Chris <llajta2012@gmail.com>
|
||||
// letter groups
|
||||
// A any vowel
|
||||
// C any consonant
|
||||
@@ -168,11 +168,11 @@
|
||||
e (vi_ E
|
||||
e (vo_ E
|
||||
@) e (volA_ 'e
|
||||
e (zA E
|
||||
CC) eggia (no_ 'EdZ:a
|
||||
e (zA E
|
||||
CC) eggia (no_ 'EdZ:a
|
||||
C) ender (L04_ 'ende@-* // Pron.s verbs
|
||||
C) erder (L04_ 'E@-*de@-*
|
||||
esser (L04_ 'EsseR
|
||||
esser (L04_ 'EsseR
|
||||
_) ecco (L04 'Ek:o
|
||||
ete (L04_ 'ete
|
||||
fl) etter (L04_ 'Et:e@-*
|
||||
@@ -184,8 +184,8 @@
|
||||
e (lano_ 'e
|
||||
|
||||
.group f
|
||||
f f
|
||||
ff f:
|
||||
f f
|
||||
ff f:
|
||||
@A) f (ilo_ =f
|
||||
i) f (erA_ =f
|
||||
fobi (A_ fob'i;
|
||||
@@ -194,40 +194,40 @@
|
||||
ferma (L07_ f'e@-*ma/
|
||||
|
||||
.group g
|
||||
g g
|
||||
gg g:
|
||||
gh g
|
||||
g (Y dZ
|
||||
gi (A dZ
|
||||
gi (a_ dZ'i# // [i] only if stressed
|
||||
gì (a_ dZ'i# // [i] only if stressed
|
||||
g g
|
||||
gg g:
|
||||
gh g
|
||||
g (Y dZ
|
||||
gi (A dZ
|
||||
gi (a_ dZ'i# // [i] only if stressed
|
||||
gì (a_ dZ'i# // [i] only if stressed
|
||||
al) gie (_ dZ'iE
|
||||
@Ar) gie (_ dZ'iE
|
||||
fa) gie (_ dZ'iE
|
||||
go) gie (_ dZ'iE
|
||||
ple) gie (_ dZ'iE
|
||||
rra) gie (_ dZ'iE
|
||||
lo) gi (e_ dZ'i#
|
||||
lo) gi (e_ dZ'i#
|
||||
n) gi (a_ dZ
|
||||
gg (Y dZ:
|
||||
ggi (A dZ:
|
||||
@) gger (L04_ =dZ:e@-* // Pron.s verbs
|
||||
gg (Y dZ:
|
||||
ggi (A dZ:
|
||||
@) gger (L04_ =dZ:e@-* // Pron.s verbs
|
||||
AC) ger (L04_ =dZe@-*
|
||||
esi) ger (L04_ =dZe@-*
|
||||
eri) ger (L04_ =dZe@-*
|
||||
_) giura (L07_ dZ'URa
|
||||
_) giura (L07_ dZ'URa
|
||||
godi (L04_ g'Odi
|
||||
gl (i l^
|
||||
gl (ì l^
|
||||
gli (A l^
|
||||
gl (i l^
|
||||
gl (ì l^
|
||||
gli (A l^
|
||||
_) gl gl
|
||||
@) glier (L04_ =l^E@-*
|
||||
@) guer (L04_ =gUe@-*
|
||||
gn n^
|
||||
gn n^
|
||||
@) gn (A_ n^;
|
||||
a) gn (A_ n^:
|
||||
gu (A gw
|
||||
guono (_ =gw2ono / verbs
|
||||
gu (A gw
|
||||
guono (_ =gw2ono // verbs
|
||||
o) gnano (_ =n^ano
|
||||
A) gnano (_ n^'ano // exceptions
|
||||
@) ginano(_ =dZinano // verbs
|
||||
@@ -239,68 +239,66 @@
|
||||
guai (scA_ gw2a'i:
|
||||
|
||||
.group h
|
||||
h
|
||||
h
|
||||
_) ha h'a
|
||||
_) hà h'a
|
||||
_) hà h'a
|
||||
|
||||
.group i
|
||||
i i
|
||||
i (A j
|
||||
zz) ia (@ ia
|
||||
i i
|
||||
i (A j
|
||||
@) ii (_ 'I:j
|
||||
l) i (A %i
|
||||
l) i (A %i
|
||||
r) i (A %i
|
||||
_C) ie (_ 'ie
|
||||
i (o i
|
||||
i (ò i
|
||||
i (ó i
|
||||
@) ia (_ =i%a
|
||||
@) ià (_ i'a
|
||||
X) ia (_ 'ia
|
||||
af) ia (_ 'ia
|
||||
af) ie (_ 'ie
|
||||
fon) ia (_ 'ia
|
||||
scop) ia (_ 'ia
|
||||
i (o i
|
||||
i (ò i
|
||||
i (ó i
|
||||
@) ia (_ =i%a
|
||||
@) ià (_ j'a
|
||||
X) ia (_ 'ia
|
||||
af) ia (_ 'ia
|
||||
af) ie (_ 'ie
|
||||
fon) ia (_ 'ia
|
||||
scop) ia (_ 'ia
|
||||
scop) ie (_ 'ie
|
||||
er) ia (_ 'ia
|
||||
er) ie (_ 'ie
|
||||
gor) ia (_ 'ia
|
||||
metr) ia (_ 'ia
|
||||
metr) ie (_ 'ie
|
||||
t) ia (_ 'ia
|
||||
er) ia (_ 'ia
|
||||
er) ie (_ 'ie
|
||||
gor) ia (_ 'ia
|
||||
metr) ia (_ 'ia
|
||||
metr) ie (_ 'ie
|
||||
t) ia (_ 'ia
|
||||
t) ie (_ 'ie
|
||||
@) io (_S1q =i%o
|
||||
a) i (+ j
|
||||
à) i (+ j
|
||||
@) io (_S1q =i%o // ?
|
||||
a) i (+ j
|
||||
à) i (+ j
|
||||
o) i (+ j
|
||||
@C) i (_S1q i // lookup it_list without suffix
|
||||
@) i (Ante_ i
|
||||
i (acA_ 'i
|
||||
@C) i (_S1q i // lookup it_list without suffix
|
||||
@) i (Ante_ i
|
||||
i (acA_ 'i
|
||||
i (ache_ 'i
|
||||
i (asi_ 'i
|
||||
@) i (bile_ 'i
|
||||
@) i (cA_ =i
|
||||
i (asi_ 'i
|
||||
@) i (bile_ 'i
|
||||
@) i (cA_ =i
|
||||
ele%tr) ici (_ =itSi
|
||||
centr) ici (_ =itSi
|
||||
metr) ici (_ =itSi
|
||||
tr) i (cY_ i
|
||||
tr) i (cY_ // ?i
|
||||
if) ici (_ 'itSi
|
||||
@) i (chA_ =i
|
||||
@) i (dA_ =i
|
||||
@) i (dere_ 'i
|
||||
@) ie (rA_ i'E
|
||||
@) ié (rA_ i'E
|
||||
i (genA_ 'i
|
||||
c) i (lA_ =i
|
||||
g) i (lA_ =i
|
||||
ss) i (lA_ =i
|
||||
b) i (le_ =i
|
||||
m) i (le_ =i
|
||||
i (lA_ =i
|
||||
@) i (chA_ =i
|
||||
@) i (dA_ =i
|
||||
@) i (dere_ 'i
|
||||
@) ie (rA_ i'E
|
||||
i (genA_ 'i
|
||||
c) i (lA_ =i
|
||||
g) i (lA_ =i
|
||||
ss) i (lA_ =i
|
||||
b) i (le_ =i
|
||||
m) i (le_ =i
|
||||
i (lA_ =i
|
||||
@) i (mA_ =i
|
||||
laCr) i (mA_ =i
|
||||
pr) i (mA_ 'i
|
||||
inas (_ 'inas
|
||||
inas (_ 'inas
|
||||
@g) in (Y_ =in
|
||||
c) ine (_ =ine
|
||||
d) ine (_ =ine
|
||||
@@ -309,7 +307,7 @@
|
||||
im) in (Y_ =in
|
||||
@) issim (A_ 'issim
|
||||
@) issero(_S6q 'isse*o
|
||||
ip) i (te_ =i
|
||||
ip) i (te_ =i
|
||||
C) iad (Y_ 'iad
|
||||
@) iono (_ =iono
|
||||
ite (L04_ 'ite // Pron.s verbs
|
||||
|
||||
+20
-20
@@ -1,6 +1,6 @@
|
||||
|
||||
//====================================================
|
||||
// Italian, last update 4 june 2016 by Chris <llajta2012@gmail.com>
|
||||
// Italian, last update 5 july 2016 by Chris <llajta2012@gmail.com>
|
||||
//====================================================
|
||||
|
||||
phoneme : // Lengthen previous vowel by "length"
|
||||
@@ -16,22 +16,25 @@ phoneme a
|
||||
IF thisPh(isWordEnd) AND prevPhW(t) AND thisPh(isStressed) THEN
|
||||
FMT(vowel/a)
|
||||
ENDIF
|
||||
IF nextPhW(o/) THEN
|
||||
FMT(vowel/a_2)
|
||||
ENDIF
|
||||
IF prevPhW(isVowel) OR prevPhW(j) THEN
|
||||
FMT(vowel/a, 90)
|
||||
IF nextPhW(o/) OR prevPhW(isVowel) OR prevPhW(j) THEN
|
||||
FMT(vowel/a)
|
||||
ENDIF
|
||||
FMT(vwl_it/a)
|
||||
endphoneme
|
||||
|
||||
phoneme a/
|
||||
vowel starttype #a endtype #a
|
||||
length 145
|
||||
IF thisPh(isWordEnd) THEN
|
||||
FMT(vowel/a_7, 75)
|
||||
length 150
|
||||
IF prevPhW(l) THEN
|
||||
FMT(vowel/a_7, 80)
|
||||
ENDIF
|
||||
FMT(vowel/a_8)
|
||||
IF thisPh(isWordEnd) THEN
|
||||
FMT(vowel/a_8, 70)
|
||||
ENDIF
|
||||
IF thisPh(isWordStart) THEN
|
||||
FMT(vwl_it/a, 85)
|
||||
ENDIF
|
||||
FMT(vowel/a_8, 80)
|
||||
endphoneme
|
||||
|
||||
|
||||
@@ -39,7 +42,7 @@ phoneme e
|
||||
vowel starttype #e endtype #e
|
||||
length 155
|
||||
ChangeIfNotStressed(e/)
|
||||
FMT(vowel/e_2, 80)
|
||||
FMT(vowel/e_2)
|
||||
endphoneme
|
||||
|
||||
phoneme e/
|
||||
@@ -63,16 +66,14 @@ endphoneme
|
||||
|
||||
phoneme i
|
||||
vowel starttype #i endtype #i
|
||||
length 145
|
||||
length 155
|
||||
IfNextVowelAppend(;)
|
||||
|
||||
IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND NOT prevPhW(E) THEN
|
||||
ChangePhoneme(I)
|
||||
ENDIF
|
||||
IF thisPh(isWordEnd) AND thisPh(isNotStressed) AND NOT prevPhW(E) THEN
|
||||
ChangePhoneme(I)
|
||||
ENDIF
|
||||
FMT(vwl_it/i)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme i# // Used for 'gia_' where [i] is only spoken if stressed
|
||||
vowel starttype #i endtype #i
|
||||
length 145
|
||||
@@ -80,7 +81,6 @@ phoneme i# // Used for 'gia_' where [i] is only spoken if stressed
|
||||
ChangePhoneme(i)
|
||||
endphoneme
|
||||
|
||||
|
||||
phoneme I
|
||||
vowel starttype #i endtype #i
|
||||
length 140
|
||||
@@ -102,10 +102,10 @@ phoneme o/
|
||||
IF nextPhW(isNasal) OR nextPhW(isLiquid) THEN
|
||||
FMT(vwl_it/o_open, 80)
|
||||
ENDIF
|
||||
IF thisPh(isWordEnd) THEN
|
||||
IF thisPh(isWordEnd) AND NOT prevPhW(a) THEN
|
||||
FMT(vwl_it/o, 65)
|
||||
ENDIF
|
||||
FMT(vowel/o)
|
||||
FMT(vowel/o, 90)
|
||||
endphoneme
|
||||
|
||||
phoneme O
|
||||
|
||||
Reference in New Issue
Block a user