Browse Source

[1.37.02] Updates to languages: af, fr, pt, cs


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

+ 64
- 7
dictsource/af_list View File

@@ -11,12 +11,14 @@

// abbreviations
(http ://) hA:te@te@p'e@_
adv atfuk'A:t
bpk b@p&rk
bv beIf'o@rbe@lt $dot
dr d'Okt@r $dot
e.a _:En_'and@r
edms eI@ndOms
ens Enso@fo@rts $dot
genl x2@n@rA:l
insp InspEkt'Y@r $dot
isbn $abbrev
kapt kapt'eIn $dot
@@ -27,6 +29,7 @@ pres pr@s@d'Ent $dot
prof pruf'Es@r $dot
sabc $abbrev
sanrb $abbrev
sauk $abbrev
st s@nt $dot
supt suprEntEnd'Ent $dot

@@ -150,32 +153,43 @@ asië A:si@
babilon babilOn
bangladesh baNglad'ES
bastille bast'il
berlyn $2
bermuda $2
bethlehem bEt_liEm
boekarest bukarEst
bonnievale _^_EN
brittanje $2
brooklyn _^_EN
caledon kalidOn
carolina karul'ina
ceres se@r@s
ceylon s@lOn
china S'ina
clanwilliam kl&:nw'ili@m
colenso kul'E:ns@U
colesberg ko@lsb&rx2
constantia $2
christiana kr@stij'A:na
duitswes dYytsv'Es
ermelo &rm@lo@
franschhoek frA~nsh'uk
gadara x2@dA:ra
galilea x2al@l'i:a
gariep x2ar'ip
germiston _^_EN
getsémané x2Ets'e@mani
goudini $2
goodwood _^_EN
gordonsbaai gO:rd@nsb'AI
(graaff reinet) x2rA:f||r@n'Et
griekeland x2rik@lant
havana hav'ana
hermon $1
hirosjima hiruS'ima
israel IsraI:l
italië it'A:li;@
kanada kanad%a
kanaän kA:nA:an
kaïro ka_'iru
kenia ki:nia
kimberley kimb@rli
kongo kONgu
@@ -184,6 +198,7 @@ lesotho l@sutu
limpopo l@mpo@po@
macedonië mas@d'o@ni@
majuba maj'uba
malmesbury mA:msb@ri
mauritius mOr'iSjWs
milaan $2
mesopotamië mEsuput'A:mi@
@@ -192,13 +207,17 @@ moorreesburg mur'e@sbWrx2
mosambiek musamb'ik
(thaba nchu) tab'A:||ntSu
europa Y@r'o@pa
nigel _^_EN
outeniekwa @Ut@n'ikwa
pelindaba p&l@nd'A:ba
portugal $1
potchefstroom pOtSIfstr'o@m
pretoria prit'o@ria
robertson _^_EN
senekal se@n@kal
singapoer siNgapur
stellenbosch st%&l@mbOs
springs _^_EN $capital
sunnyside _^_EN
swellendam $3
tunisië $2
turkye $2
@@ -216,13 +235,16 @@ zimbabwe zI:mb'ab_wE
Abiméleg abin'e@lEx2
abraham A:bram
ackerman ak@rman
adriaan A:drijan
adrie A:dri
albertus alb'&rtWs
aletta al'Eta
alida al'ida
allah %alA:
André 'andreI
annette an'Et
antoinette antun'Et
barbara bA:b@ra
benjamin bEndZ@m@n
bester b'Est@r
beyers beI@rs
@@ -249,6 +271,7 @@ christine kr@st'i:n
cindy sIndi
coetzee kuts'e@
cronjé krOnj'e@
david _^_EN
debora d@bo@ra
debussy d@bus'i:
der d@r
@@ -264,6 +287,7 @@ elisabeth il'isabEt
elize il'i:z
elsabé &ls@bi
emmarentia Emar'e~nSja
erasmus $2
eségiël is'e@x2i_@l
estelle %ist&l
etienne Eti@n
@@ -271,12 +295,14 @@ eugene judZ'i:n
eugène yZ'En
farao fA:ro@
ferreira f@r&:r@
fischer fiS@r
fourie fur'i
francina $2
francois franSwa
françois frA~nsw'A:
freud frOId
gabriël x2A:bri@l
george _^_EN
georgina dZO:dZ'ina
gerhard x2&rart
gerhardus $2
gloria glO:ria
@@ -296,6 +322,7 @@ jacques ZA:k
james _^_EN
jane _^_EN
Jean ZA~n $capital
jimmy _^_EN
joan _^_EN
joey dZ@Ui
john _^_EN
@@ -317,6 +344,9 @@ mbeki mbE:ki
magdalena $3
malan mal'an
malherbe mal'&rb@
margaret _^_EN
margaretha marx2ar'e@ta
marguerite mA:g@r'i:t
marie mA:ri
marius mA:riWs
marlene marl'e@:n
@@ -324,6 +354,7 @@ marlise marl'i:s
martha marta
martin m'A:rt@n
matthéüs mat'i:Ws
mefistofeles mEfist'o@f@l@s
melanie m@lA:ni
meraai m@rAI
messias m@sijas
@@ -340,8 +371,9 @@ napoleon nap'o@liOn
natasha n%at'aSa
naudé nOd'e@
neil _^_EN
nelson _^_EN
niklaas niklA:s
ontong OntON
philip fIl@p
phillips fIl@ps
pierre p'e@r
petronella pe@trun'&la
@@ -351,10 +383,13 @@ rachmaninoff rax2m'aninOf
rebekka r@bEka
renée r@neI
retief r@tif
rhodes _^_EN
robert _^_EN
ronel run'&l
rousseau r@s@U
roux r'u
ruda ruda
rupert rup@rt
salomo sA:l@mo@
sandra sandra
schalk sk'alk
@@ -367,6 +402,8 @@ schutte skWt@
sebastian s@bastian
servaas s@rfA:s
shakespeare _^_EN
sophia suf'i:ja
sophie _^_EN
stephan ste@fan
stephanus st@fA:nWs
strauss straUs
@@ -375,11 +412,13 @@ suzette suz'Et
tania tanja
telemann te@l@man
terblanche t@rblA:nS
theo tiu
theron tr'On
thys teIs
toerien $2
trudie trudi
versfeld f&rsf&lt
victoria _^_EN
viljoen $2
villiers vIli@rs
vincent _^_EN
@@ -397,12 +436,14 @@ scarlatti $2
schalkwyk skalkveIk
schreiner SraIn@r
tony t@Uni
trichardt trix2A:rt
xhosa kO:za

khumalo kum'A:lu

// Other proper names
checkers tSEk@rs
chrysler kraIsl@r
wimpy wImpi

// article
@@ -542,6 +583,7 @@ adagio ad'A:dZi;%@U
africana $3
afkere afke@r@
agamemnon ax2am'EmnOn
aggressie $2
agterstevoor $4
agterweë $3
algaande $2
@@ -576,6 +618,8 @@ bewe be@v@
bewend be@v@nt
bewering b@ve@rIN
bostaande b'o@stA:nd@
bourgeois _^_FR
bourgeoisie _^_FR

cabernet kab@rn'eI
camembert kam@mb'&:r
@@ -591,16 +635,17 @@ dekade dEk'A:d@
deurentyd dy@r@nteIt
deurgaans $1
deurkruis $2
deurstaan $2
deurstraalde $2
dikwels dIkv@ls
diplomasie d@plo@mas'i
doktore $2
dusver dWsf&r

eenkeer $1
efesiër if'e@si@r
effense Ef@ns@
ekself %&ks'&lf
ekstra Ekstra
elders &ld@rs
elite il'i:t
encore A~NkO:r
@@ -653,13 +698,17 @@ hoewel huv'&l
hokaai hOkAI
hoofsaaklik $2
hosanna hus'ana
huigelary $4

ibis $1
idee $2
idilles id'Il@s
ignoreer ix2no@r'e@r
impromptu impr'Omptu
inagneming @nax2ne@m@N
indien Indin $verb
induna ind'u:na
ingevolge $3
inkatha iNk'A:ta
inkluis $2
insomnia @nsOmnija
@@ -686,16 +735,20 @@ kunsmatige kWnsm'A:t@x2@
kwansuis $2

libido l@bidu
londense lOnd@ns@

macaroni makar'o@ni
madame mad'A:m
malles mal@s
maskering mask'e@r@N $only
massaal $2
massale $2
meegee me@x2e@
memorabilia mEmOrab'ilija
memoriam mEm'o@riam
mercedes $2
merlot m&rl'o@
midwinter mIdv@nt@r
militêre mIl@t'&:r@
minister m@nIst@r
minute m@nyt@
@@ -725,7 +778,6 @@ neurone nY@r'o@n@
nikswerd nIksv&:rt
nimmermeer $1
nirvana n@rvA:na
nobelprys $2
normale nOrm'A:l@
numeri nWm@ri

@@ -739,6 +791,8 @@ onderweg $3
onderwerp $3 $verb
onderwyl $3
onderwyser $3
ondeug $1 $only
ondeugde $1 $only
onding $1
ongeag $1
ongeduld $1
@@ -752,7 +806,10 @@ ongewoons $1
onkunde $1
onmag $1
onmin $1
onomwonde $3
oorboord $2
oorleg $2
ooreenkomste $2
oorstroom $2
oorwaai $1
oplaas $2
@@ -815,10 +872,10 @@ sononder sOn_On@r
sonop sOn_Op
sonore sun'o@r@
sover so@f&r
stabiel stab'il
staccato $2
suburbia sWb'Wrbija

tenminste $2
terdeë $2
terug t@-rWx2
tesaam t@sA:m

+ 227
- 45
dictsource/af_rules
File diff suppressed because it is too large
View File


+ 2
- 1
dictsource/cs_rules View File

@@ -236,7 +236,7 @@

.group n
n n
nn n
n (n
n (g N
n (k N
n (ě n^
@@ -339,6 +339,7 @@ _mícha) ni n^i
pod) ni (k n^i
pro) ni (k n^i
ro) ni (c ni
synchro) ni ni
stoj) ni n^i
tago) ni (s ni
tu) ni (s ni

+ 7
- 5
dictsource/dict_phonemes View File

@@ -360,11 +360,13 @@ t tS v w x z Z

Dictionary ko_dict

a E i V
a e E i ji o u u-
V

- b c C d dZ g h
j J k l m n N p
r s S; t w
b c C c` ch d dZ g
h j J k k` kh l m
n N p p` ph r s S;
s` t t` th w


Dictionary hbs_dict
@@ -392,7 +394,7 @@ v w x z

Dictionary rw_dict

a e: i i: o: u:
a e i o u

* : b B c d dZ f
g h j J k l m n

+ 1
- 0
dictsource/en_list View File

@@ -2172,6 +2172,7 @@ Chile tSIlI2
Ceylon $2
Cologne k@loUn
Congo $1
Connecticut k@nEtIk@t
Copenhagen koUp@nh'eIg@n
Cruz kru:z
Cyprus saIpr@s

+ 5
- 8
dictsource/fr_rules View File

@@ -4,7 +4,7 @@

// 2006-11-18 Gilles Casse <[email protected]>
//
// Updated: 2008-03-19 Michel Such <[email protected]>
// Updated: 2008-05-27 Michel Such <[email protected]>
//
// * The rules are based on Cicero TTS.
// Y
@@ -649,9 +649,9 @@ _) half _^_en
anqu) ill ill // tranquille
_m) ill il // mille
v) ill il // village
u) ill ij // cuillière cueillir
qu) ill ij // cuillière cueillir
A) ill j // caillou
ill ij // famille
C) ill ij // famille
a) il (_ j // bail
e) il (_ j
u) il (_ j // deuil
@@ -778,11 +778,7 @@ _) half _^_en
_C) on (_ O~n2 // mon appui, mon histoire, mon havre
_c) on (_ O~ // no comment

z) o (ne_ o // amazone
c) o (ne_ o
h) o (ne_ o
ph) o (ne_ O // téléphone
r) o (ne_ o
o (re_ O

alc) oo (l O // alcool
z) oo o // zoo
@@ -1228,3 +1224,4 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe





+ 6
- 6
dictsource/jbo_list View File

@@ -18,25 +18,25 @@ _9 so
_dpt pi_


a abu
_a abu
b b@
c S@
d d@
e ebu
_e ebu
f f@
g g@
i ibu
_i ibu
j Z@
k k@
l l@
m m@
n n@
o obu
_o obu
p p@
r R@
s s@
t t@
u ubu
_u ubu
v v@
x x@
y '@bu
@@ -48,7 +48,7 @@ w v@bu


// stressed cmavo
cai k'aI_!
cai S'aI_!
cu'i S'uhi_!
pei p'eI_!
ru'e R'uhe_!

+ 1
- 1
dictsource/pt_list View File

@@ -278,7 +278,7 @@ aquele $u+ // that
aquela $u+

?1 que ky $u
?2 que $u $pause
?2 que ke $u $pause

// possessive adjectives
meu $u+

+ 1
- 0
dictsource/pt_rules View File

@@ -47,6 +47,7 @@

ai aI
ai (s aI
a (iu_ a // caiu
a (iCK a
ay aI
ao aU

+ 3734
- 3751
dictsource/zh_list
File diff suppressed because it is too large
View File


+ 4
- 0
dictsource/zh_rules View File

@@ -134,6 +134,10 @@ language).
ia (DnK iE
ia (DngK iA
iao jAu
ia1o jAu55
ia2o jAu35
ia3o jAu214
ia4o jAu51
ie iE
io (DngK y
q) io (DngK u

+ 37
- 3
phsource/compile_report View File

@@ -1,4 +1,4 @@
47 phoneme tables
49 phoneme tables
new total
base 98 98
base2 24 117
@@ -47,6 +47,8 @@
tr 18 122
ku 18 122
id 15 119
rw 15 124
ko 18 145

Data file Used by
b/b [b] base
@@ -193,6 +195,7 @@ dzh/xdzh [dZ] base
dzh/xdz_pzd [J] base
[J2] hi
envelope/i_risefall [11] zh
envelope/i_risefall2 [+2] rw
envelope/p_214 [214] zh
envelope/p_512 [8] vi
envelope/p_fall [2] vi
@@ -204,6 +207,7 @@ envelope/p_fall [2] vi
[22] zh
[33] zh
[53] zh
[+] rw
envelope/p_fallrise [4] vi
envelope/p_level [1] vi
[3] zhy
@@ -506,7 +510,9 @@ r3/rx [*] base
r3/rz_cs [R^] sk
[R^/] sk
r3/@tap [**] base
[r] ko
r3/@tap2 [**] base
[r] ko
r/r [r] base
[r-] base
[r] en_sc
@@ -575,6 +581,7 @@ ufric/s [s] base
[s] fr
[s] es
[s#] pt
[s`] ko
ufric/s_ [s] base
[z] base
[s2] fi
@@ -607,6 +614,7 @@ ufric/sh3 [S] hr
[Z] hr
ufric/sh_pzd [S;] base
[S;] ro
[s`] ko
ufric/sh_pzd_ [S;] base
[Z;] base
ufric/sh_pzd2 [S] sr
@@ -699,6 +707,7 @@ ustop/k_unasp [k] base
[k] sk
[k] el
[k] zhy
[k`] ko
ustop/k_unasp_ [k] zh
ustop/null [?] base
ustop/p [p] base
@@ -741,6 +750,7 @@ ustop/p_unasp [p] base
[p] la
[p;] ro
[p] zh
[p`] ko
ustop/p_unasp_ [p] base2
[p] fi
[p] hi
@@ -778,6 +788,7 @@ ustop/t_dnt [t] base
[t;] ro
[t[] vi
[t] sw
[t`] ko
ustop/t_dnt2 [t[] vi
ustop/t_hi [t] hi
[th] hi
@@ -818,6 +829,7 @@ ustop/ts_pzd_ [c] hi
[c] hu
ustop/ts_pzd2 [c] hi
[c] hu
[c`] ko
ustop/ts_pzd3 [tS;] hr
[dZ;] hr
ustop/t_sr [d] sr
@@ -1037,6 +1049,7 @@ vdiph/yi [yi] fi
vdiph/y#i [Yi] fi
vdiph/y#i_2 [Yy] is
vdiph/yi_fr [w^i] fr
[ji] ko
vdiph/y#y [Yy] fi
vdiph/y#y_2 [Yy] af
[eoi] zhy
@@ -1212,12 +1225,15 @@ vowel/a [a] en_n
[a] it
[a] zh
[a] id
[a] ko
vowel/a# [a/] base2
[a2] en_sc
[a2] en_wi
[&] sr
[&] pt
[&/] pt
[a#] rw
[a/] rw
vowel/a_2 [a] base2
[a] en_wi
[A:] en_wi
@@ -1228,6 +1244,7 @@ vowel/a_2 [a] base2
[a] pt_pt
[a] ro
[a:] vi
[a] rw
vowel/a#_2 [&] hr
[a2] sv
[&] is
@@ -1286,6 +1303,7 @@ vowel/aa_6 [A] de
vowel/aa_7 [A] nl
vowel/aa_8 [0] en_us
[A:] en_us
[V] ko
vowel/a_en [a] en
[aa] en
[A] fr
@@ -1312,6 +1330,9 @@ vowel/e [e] base2
[e] grc
[e] vi
[e] id
[e] rw
[e#] rw
[e] ko
vowel/e# [I] en_sc
[I2] en_sc
vowel/e_2 [eI] en_sc
@@ -1380,6 +1401,7 @@ vowel/e_mid2 [E] af
[e] el
[e] sw
[e] tr
[E] ko
vowel/@_fnt [@] en_wi
[@2] en_wi
[@2] hr
@@ -1405,6 +1427,9 @@ vowel/i [i] base2
[i] zhy
[i] zh
[i] sw
[i] rw
[i#] rw
[i] ko
vowel/i# [i] en_rp
[y:] cy
vowel/i_2 [i:] en_rp
@@ -1500,11 +1525,14 @@ vowel/o [o] base2
[o] grc
[o:] sv
[o] id
[o] rw
[o#] rw
vowel/o_2 [o:] cy
[o:] hi
[o:] hu
[o:] la
[o:] no
[o] ko
vowel/o-_2 [V] en_n
[V] en_wm
vowel/o_3 [oU] en_sc
@@ -1610,12 +1638,12 @@ vowel/u_6 [U] pt_pt
[u] pt_pt
[u] ku
vowel/u#_6 [u:] en_us
[y] ko
vowel/u_7 [u] vi
vowel/u#_7 [u#] tr
vowel/u_bck [u] base2
[U] cy
[u] fi
[u] fr
[u] fr_ca
[u:] hi
[u:] hu
@@ -1631,7 +1659,11 @@ vowel/u_bck [u] base2
[u] is
[u] zhy
[u] zh
vowel/u_bck2 [u:] la
[u] rw
[u#] rw
[u] ko
vowel/u_bck2 [u] fr
[u:] la
vowel/u_fnt [u:] en_rp
vowel/uu [U] en
[U] en_wm
@@ -1651,6 +1683,7 @@ vowel/uu_bck [U] en_n
[U] pt
[U] no
[u] zhy
vowel/u_unr [u-] ko
vowel/V [3] en_sc
vowel/V_2 [V] en
[a] af
@@ -1680,6 +1713,7 @@ vowel/y# [Y:] en
[Y] ro
[y] vi
[oe] zhy
[Y] ko
vowel/y## [y#] is
vowel/y_2 [y] fr
[y"] fr

+ 3
- 2
phsource/ph_french View File

@@ -71,8 +71,8 @@ endphoneme

phoneme u
vowel starttype (u) endtype (u)
length 160
formants vowel/u_bck
length 180
formants vowel/u_bck2
endphoneme


@@ -432,3 +432,4 @@ endphoneme





+ 6
- 0
phsource/phonemes View File

@@ -1275,3 +1275,9 @@ include ph_kurdish
phonemetable id base2
include ph_indonesian


phonemetable rw base2
include ph_kinyarwanda

phonemetable ko hi
include ph_korean

+ 5
- 3
src/compiledict.cpp View File

@@ -114,8 +114,10 @@ MNEM_TAB mnem_flags[] = {
};


#define LEN_GROUP_NAME 12

typedef struct {
char name[6];
char name[LEN_GROUP_NAME+1];
unsigned int start;
unsigned int length;
} RGROUP;
@@ -632,7 +634,7 @@ char rule_pre[80];
char rule_post[80];
char rule_match[80];
char rule_phonemes[80];
char group_name[12];
char group_name[LEN_GROUP_NAME+1];

#define N_RULES 2000 // max rules for each group

@@ -1338,7 +1340,7 @@ static int compile_dictrules(FILE *f_in, FILE *f_out, char *fname_temp)
p = (unsigned char *)&buf[6];
while((p[0]==' ') || (p[0]=='\t')) p++; // Note: Windows isspace(0xe1) gives TRUE !
ix = 0;
while((*p > ' ') && (ix<12))
while((*p > ' ') && (ix < LEN_GROUP_NAME))
group_name[ix++] = *p++;
group_name[ix]=0;

+ 1
- 1
src/fifo.cpp View File

@@ -62,7 +62,7 @@ static espeak_ERROR push(t_espeak_command* the_command);
static t_espeak_command* pop();
static void init();
static int node_counter=0;
enum {MAX_NODE_COUNTER=200,
enum {MAX_NODE_COUNTER=400,
INACTIVITY_TIMEOUT=50, // in ms, check that the stream is inactive
MAX_INACTIVITY_CHECK=2
};

+ 1
- 1
src/synthdata.cpp View File

@@ -35,7 +35,7 @@
#include "translate.h"
#include "wave.h"

const char *version_string = "1.37 16.Apr.08";
const char *version_string = "1.37.02 05.Jun.08";
const int version_phdata = 0x013400;

int option_device_number = -1;

Loading…
Cancel
Save