From 1d9fbe1d6a0bce3db3079b838e86ac849b160b94 Mon Sep 17 00:00:00 2001 From: jonsd Date: Thu, 7 Aug 2008 17:00:01 +0000 Subject: [PATCH] [1.37.11] Changes to languages: pt, fr git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@183 d46cf337-b52f-0410-862d-fd96e6ae7743 --- dictsource/cs_rules | 3 + dictsource/dict_phonemes | 2 +- dictsource/en_list | 3 +- dictsource/en_rules | 5 +- dictsource/fr_list | 88 ++++++++++++++--------- dictsource/fr_rules | 146 +++++++++++++++++++++------------------ dictsource/pt_list | 4 +- dictsource/pt_rules | 10 ++- dictsource/sk_rules | 3 + phsource/compile_report | 31 +++++---- phsource/mbrola/ptbr | 7 ++ phsource/ph_french | 103 +++++++++++++-------------- phsource/vnasal/ee_n2 | Bin 1593 -> 1593 bytes phsource/vwl_en_us/a | Bin 6239 -> 6237 bytes phsource/vwl_en_us/ee | Bin 3352 -> 3352 bytes phsource/vwl_en_us/ii | Bin 6238 -> 6238 bytes src/synthdata.cpp | 2 +- src/tr_languages.cpp | 4 +- 18 files changed, 229 insertions(+), 182 deletions(-) diff --git a/dictsource/cs_rules b/dictsource/cs_rules index 7d7f40e9..fc8e3368 100644 --- a/dictsource/cs_rules +++ b/dictsource/cs_rules @@ -1,6 +1,9 @@ // translation rules for Czech // This file is UTF-8 encoded +// Letter groups: +// G voiced: bdgjlmnrvwzaeiouy + .group a a a au aU diff --git a/dictsource/dict_phonemes b/dictsource/dict_phonemes index 6589fecb..87cfc8cf 100644 --- a/dictsource/dict_phonemes +++ b/dictsource/dict_phonemes @@ -99,7 +99,7 @@ S s2 t v Z Dictionary fr_dict @ @- a A A~ e E E~ -i i: o O o- O2 O~ u +i i: o O O2 O~ u u: w W W2 w^i W~ y Y : ; b c d dZ f g diff --git a/dictsource/en_list b/dictsource/en_list index 20151f61..ca4217f9 100644 --- a/dictsource/en_list +++ b/dictsource/en_list @@ -631,7 +631,7 @@ bow boU bow baU $verb breakfast brEkf@st breath bri:D -breath brET $only +breath brET $onlys breath bri:D $verb breathless brETl@s brethren brEDr@n @@ -739,6 +739,7 @@ colonel k3:n@L ?5 colonel kVRn@L combat k0mbat // combating combo k0mboU +comer kVm3 comet k0mIt commence k@mEns commend k@mEnd diff --git a/dictsource/en_rules b/dictsource/en_rules index bf43a467..d85987d7 100644 --- a/dictsource/en_rules +++ b/dictsource/en_rules @@ -1712,7 +1712,7 @@ &x) e's (_$2i Iz &C) e's (_$2i z &Cr) e's (_ @z - e (tion i: + @) e (tio i: discr) e (tion E eu ju: d) eu (ts OI @@ -1812,7 +1812,7 @@ h) ea (ther E th) ea (t i@ th) ea (tri i:a - l) ea (th E + l) eath ED br) ea (th E br) ea (the i: cr) ea (t i:'eI @@ -1849,6 +1849,7 @@ @t) ed (_$2vdei I2d ?8 @t) ed (_$2vdei Ed @fr) ed (_$2v Id + yw) ed (_ Ed @x) ed (_$2vi t y) ed (_$2v d edly (_ IdlI2 diff --git a/dictsource/fr_list b/dictsource/fr_list index 71235e91..edd2f3d6 100755 --- a/dictsource/fr_list +++ b/dictsource/fr_list @@ -3,7 +3,7 @@ // 2006-11-18 Gilles Casse // -// Updated 2008-07-26 Michel Such +// Updated 2008-08-07 Michel Such // // * Numbers, a few abbreviations and exceptions. // @@ -42,6 +42,7 @@ m Em o o _ô $accent ö $accent +œ o||@||lie p pe q ky r ER @@ -118,7 +119,7 @@ _} f'ERm_akOl'ad _0 zeRo _1 W~ _2 dYz2 -_3 tRo-az2 +_3 tRwaz2 _4 katR _5 sE~k _6 siz3 @@ -138,7 +139,7 @@ _19 diznWf _20 vE~ _21 vE~te:W~ _22 vE~tdYz2 -_23 vE~t:tRo-az2 +_23 vE~t:tRwaz2 _24 vE~tkatR _25 vE~tsE~k _26 vE~tsiz3 @@ -151,18 +152,18 @@ _4X kaRA~t _41 kaRA~te:W~ _5X sE~kA~t _51 sE~kA~te:W~ -_6X so-asA~t -_61 so-asA~te:W~ -_7X so-asA~t:diz3 -_71 so-asA~te:O~z -_72 so-asA~t:duz -_73 so-asA~t:tREz -_74 so-asA~t:katORz -_75 so-asA~t:kE~z -_76 so-asA~t:sEz -_77 so-asA~t:dis:Et -_78 so-asA~t:diz'w^it -_79 so-asA~t:diznWf +_6X swasA~t +_61 swasA~te:W~ +_7X swasA~t:diz3 +_71 swasA~te:O~z +_72 swasA~t:duz +_73 swasA~t:tREz +_74 swasA~t:katORz +_75 swasA~t:kE~z +_76 swasA~t:sEz +_77 swasA~t:dis:Et +_78 swasA~t:diz'w^it +_79 swasA~t:diznWf _8X katR@vE~ _80 katR@vE~z2 _9X katR@vE~diz3 @@ -188,7 +189,7 @@ _dpt virgyl (31 ème) trA~te:yniEm (41 ème) karA~te:yniEm (51 ème) sE~kA~te:yniEm -(61 ème) so-asA~te:yniEm +(61 ème) swasA~te:yniEm (81 ème) katr@vE~:yniEm // ABBREVIATIONS @@ -208,15 +209,22 @@ cio $abbrev ctrl kO~tRol $pause dept depaRt@mA~ etc etseteRa +ghz ZigaErts hmm h@m +hz _!Erts ibm $abbrev ide $abbrev ip $abbrev jaws Z'owz kde $abbrev +kg kilogram +khz kiloErts +km kilomEtr +kw kilowat m. m@sjY mbrola Em'bRola -mlle mad@mo-azEl +mhz megaErts +mlle mad@mwazEl mme madam mr m@sjY nsi $abbrev @@ -273,11 +281,16 @@ toutefois $brk avant $u+ $brk après $u+ $brk alors alOr $u+ +depuis $u+ +ainsi $u+ +aussi $u+ dont dO~t2 $u lorsque $u -parce pars@- $u +puisque $u +presque $u+ +(parce que) parsk@ $u+ que $u $verbf qui $u+ $verbf quoique $u @@ -303,6 +316,10 @@ lui $u+ $verbf ça $u+ $verbf ce $u+ $nounf +ceci $u+ $verbf +cela $u+ $verbf +voici $u+ +voilà $u+ cette $u $nounf ces sez2 $u $nounf ceci $u+ $verbf @@ -313,6 +330,7 @@ cela $u+ $verbf (ceux là) sY||la $verbf (celles ci) sEl||si $verbf (celles là) sEl||la $verbf +plupart $u+ // possessives ma $u $nounf @@ -345,8 +363,9 @@ des dez2 $u $nounf à a $u au $u +aux $u -autour otur +autour otur $u+ dans $u+ en $u+ en $u+ $verb $verbextend @@ -357,19 +376,25 @@ pour $u+ tant tA~t2 $u+ entre $u+ contre $u+ - +plusieurs $u+ durant $u+ +avec $u+ +sans $u+ // negative ne $u $verbf pas $u+ plus $u+ guère $u+ +jamais $u+ // questions quand kA~t2 $u+ quoi $u+ où $brk $u+ +comment $u+ +pourquoi $u+ +pourtant $u+ // auxillary verbs (be, have, can, etc) suis $u+ $verb @@ -415,6 +440,7 @@ d'est d'Est // some common adjectives and adverbs quelque $u+ +quelques $u+ tout t'ut2 $u+ toute t'ut $u+ toutes t'utz2 $u+ @@ -442,6 +468,8 @@ poing pwE~ ressent r@s'A~t2 riz ri sphincter sfE~ktEr +sous $u+ +sur $u+ tunis tynis @@ -456,6 +484,7 @@ tunis tynis monsieur m@sjY +messieurs mesjYz2 montréal mO~Real (n'est ce pas) n'Es@-||p'az2 (qu'est ce que) kEsk@ $u @@ -474,7 +503,9 @@ cocus coky dernier dErnier2 estomac Estoma éloquent ElokA~t2 +fier fier2 $verb fils fis +fuel fjul gars ga hélas elas iris iris @@ -498,7 +529,6 @@ gens ZA~ mens mA~z2 sens sA~s sens sA~z2 $verb -qu'à ka (sud est) sydEst (nord est) nOREst @@ -508,12 +538,7 @@ azimut azim'yt brut bR'yt but by $verb but byt -club klWb -(le pub) l@||p'Wb -(un pub) W~||p'Wb -(du pub) dy||p'Wb cut cWt -hub _|Wb mazout mazut michael mikaEl out aut @@ -569,13 +594,12 @@ and _^_en amazon amaz'On apple _^_en at _^_en -(audible manager) odibl||manadZWr +(audible manager) od,ibl||manadZ'Wr bit _^_en bluetooth blut'us computer _^_en (cyber link) _^_en debian dEbjAn -driver _^_en edit _^_en emacs Emaks emacspeak Emakspi:k @@ -603,13 +627,13 @@ logon _^_en (mac os x) makoEsiks made _^_en media medja -messenger _^_en +messenger mesEnZWr my _^_en not _^_en null _^_en ok oke open Op'Wn -outlook autluk +outlook autlu:k paint _^_en paper _^_en people _^_en @@ -618,7 +642,7 @@ same _^_en sametime _^_en schubert SubER sun _^_en -(text aloud) tEkst||@lawd +(text aloud) tEkst||@la=wd ubuntu ubuntu up _^_en yacht jot @@ -634,7 +658,7 @@ discutions diskytjO~z2 débutions debytjO~z2 désertions dezERtjO~z2 $verb détentions detA~tjO~z2 -exploitions Eksplo-atjO~z2 +exploitions EksplwatjO~z2 exportions EkspORtjO~z2 heurtions _!WRtjO~z2 limitions limitjO~z2 diff --git a/dictsource/fr_rules b/dictsource/fr_rules index 939a47b9..7b9cdb64 100755 --- a/dictsource/fr_rules +++ b/dictsource/fr_rules @@ -23,7 +23,7 @@ // 2006-11-18 Gilles Casse // -// Updated: 2008-07-26 Michel Such +// Updated: 2008-08-07 Michel Such // // Letter classes: @@ -32,7 +32,6 @@ // Y front vowels: e i y é ê è î // K not a vowel (i.e. consonant, space, ) -.L01 e é ê ë è i î ï y .group a ae (_ e // reggae vitae @@ -41,8 +40,7 @@ aî E // maître aim (K W~ // faim ain (K E~ // pain - CC) ain (_A E~n2 // prochain arret - CC) ain (_h W~n2 // prochain hiver + CC) ain (_ E~n2 // prochain arret ai (_ e // dirai ferai... CC) ai (_ E // vrai ais (_ Ez2 // dirais ferais... @@ -58,7 +56,7 @@ am (p A~ // camp am (m a // programmation _) am (n am // amnistie - am (n a // amnistie + am (n a // condamner _) arché (@P5 arke // archéologue _) archéo (@P6 arkeo // archéologue @@ -70,17 +68,20 @@ an (C A~ // ancien an (_ A~ // élan _C) aon (_ A~ // faon, paon, taon - s) aoul (_ u // saoul - aoû ut // août - au (l_ O // Paul + s) aoul (_ u // saoul + s) aou (le u // saoule + août ut // août + août (i aus // aoûtien au o // autruche + au (l_ O // Paul + au (re O // dinosaure _) audio (@P5 odio _) auto (@P4 oto _) autom (n otO p) ay (s Ei // pays paysage ay (C E // aymé ay Ej // paye - Xl) ayer (X 'Ej@r // player, layer + Xl) ayer (X EjWr // player, layer a a // bateau // group a: English section @@ -99,7 +100,6 @@ bird _^_en // bird board _^_en // board, keyboard box (_ _^_en // box, inbox, outbox - bug (_ _^_en // bug, debug bug (g _^_en // debugger _) by _^_en // by, bye, bypass @@ -117,6 +117,7 @@ or) ch (iC k // orchidée _) ch (ao k // chaos, chaotique _) ch (or k // chorale + te) ch (_ k ch (r k // chrétien _) chrono (@P6 krono ch (l k @@ -129,7 +130,7 @@ cq k // pecq s) c (Y // x) c (Y - c (L01 s // cède + c (Y s // cède _) cyber (P5 sibEr ban) c (_ // banc blan) c (_ // blan @@ -142,12 +143,12 @@ s) cien (t jA~ // conscient scientifique cien (t_ si // ils appr�ient, remercient. - effi) cien (t_ sjA~ // coefficient - défi) cien (t_ sjA~ // déficient + effi) cien (t sjA~ // coefficient + défi) cien (t sjA~ // déficient // group c: English section cast (_ _^_en // broadcast - C) ch (_ _^_en // french + n) ch (_ _^_en // french cut (_ _^_en // cut, shortcut @@ -190,14 +191,18 @@ // Define use of the final 'e' in french e (_ qu) e (_ =@- - elqu) e =@ + qu) e (s_ =@- + elqu) e =@- uisqu) e =@ - rsqu) e =@ + rsqu) e =@ _C) e (_ @ // je te -c) e (_ @- -j) e (_ @- e (Ce_ E + ack) er (K Wr + ock) er (K Er + rock) er (K Wr eau o // bateau cheveaux g) ea (s_ a // mangeas j) e (a // Jean Jeanne @@ -205,10 +210,8 @@ ect (_ Ekt // direct pi) ed (_ e // pied _cl) ef (_ e // clef - ein (C E~ // peindre - ein (_ E~ - CC) ein (_A E~n2 // plein emploi - CC) ein (_h E~n2 // plein hiver + ein (K E~ // peindre + CC) ein (_ E~n2 // plein emploi eint (_ E~t2 e (il E // vieille ei E // neige @@ -216,6 +219,7 @@ el (C El // celsius el (_ El // caramel _f) em (me a // femme + i) e (ment // remerciement, d‚ploiement @) em (me a // patiemment em (b A~ // décembre em (mACC A~ // emmancher @@ -343,6 +347,7 @@ éCid) en (t_ A~ VéCid) en (t_ Xtrid) en (t_ A~ + _flor) en (t_ A~ _laur) en (t_ A~ _mécont) en (t_ A~ _cont) en (t_ A~ @@ -359,15 +364,13 @@ en (t_ // étaient mangent A) en (t_ // étaient mangent - Ci) en (_ E~ // viendra - Ci) en (C E~ // viendra + Ci) en (K E~ // rien, lien Ci) en (c A~ // science AA) en (_ E~ C) en (_ En // amen, abdomen, golden xam) en (_ E~ // examen - CA) en (_ E~ // rien en (s_ A~ en (CA A~ // pentathlon @@ -379,7 +382,8 @@ _Ch) er (_ ER // cher _env) er (_ ER _hi) er (_ ER // hier - _hiv) er (_ ER // hiver + _fi) er (_ ER // fier + _hiv) er (X ER // hiver _ti) er (_ ER @@ -429,13 +433,15 @@ eû Y // jeûne e (x E // exact - ey (_ e // dahomey + ey (_ E // dahomey ey (C e // ceylan ey Ej // asseye ez (_ ez2 // nez mangez chez g) e (A // mangeons + g) eu W // vengeur + g) eu (re y // gageure _d) e (ch @ _r) e (ch @ // recherche @@ -455,28 +461,31 @@ e (rC E es (_ z2 - ll) e (m // actuellement guillemets - C) e (ment @- // vitement sûrement + %C) e (CA @- + %C) e (Ce // actuellement guillemets + %C) e (xA E // actuellement guillemets + %C) e (mA // actuellement guillemets + ct) e (ment @ + rC) e (ment @ + AC) e (ment u) e (ment @- As) e (gA As) e (pA - Ass) e (gA - Ass) e (pA // passeport Av) e (gA // sauvegarde Av) e (pA e @ // menue _) e (CA e _) e (xA E + Cr) eamer i:mWr + Cl) eaner i:nWr // group e: English section eac _^_en C) ead _^_en // read, head eak _^_en // break, speak - Cr) eam _^_en // stream - Cl) ean _^_en // clean ear _^_en // ear, search eas _^_en // please eave _^_en // leave @@ -517,12 +526,12 @@ // group f: English section _) fire _^_en fly _^_en - _) frame _^_en + _) frame _^_en .group g g g - g (L01 Z + g (Y Z su) gg (Y gZ // suggérer suggestif gg g // agglomérer @@ -545,7 +554,6 @@ gt (_ // vingt doigts gt t // vingtaine doigté - gua gua // anguille gui gi // anguille ai) gu (il gy // aiguillage in) gu (is gy // linguiste @@ -562,7 +570,6 @@ _) game (X _^_en @@) gate (X _^_en girl _^_en // girl - give (X _^_en gy (_ _^_en @@ -585,7 +592,7 @@ _) h (iber // hibernation _) h (ippo // hippodrome _) h (iro // hirondelle _) h (ist // histoire -_) h (ive // hiver +_) h (iv // hiver _) h (omm // homme _) h (onn // honneur _) h (ôp // hôpital @@ -621,10 +628,12 @@ _) half _^_en _f) i (a i: l) i (a i: Cr) i (a i: + _Cr) i (A i: Cr) i (é i: Cr) i (er_ i: + dr) iver ajvWr + i (eur j i (o j - ie (ment i // remerciement balbutiement C) ien (t_ i dév) ien (t_ i t) ient (_ jE~t2 // tient @@ -637,11 +646,11 @@ _) half _^_en or) ien (t jA~ // orient, orienter ot) ien (t_ jA~ // quotient - i (es_ i // parties i (e_ i _) ill ill // illégal aigu) ill ij // aiguille - anqu) ill ill // tranquille + anqu) ill il // tranquille + dist) ill il // distiller _m) ill il // mille v) ill il // village qu) ill ij // cuillière cueillir @@ -655,8 +664,9 @@ _) half _^_en im (_ im // karim im (C E~ // timbre w) in in // winrar - in (h in // inhumain inct (_ E~ // distinct + in (h in // inhumain + in (kX in // link in (n in // innombrable in (C E~ // vingt in (_ W~ // vin @@ -677,8 +687,8 @@ _) half _^_en _C) ind (er_ _^_en // finder, reminder _AC) ind (er_ _^_en // finder, reminder ing (_ _^_en // parking - ink _^_en // link - ize _^_en // realize +// ink _^_en // link + ize (X _^_en // realize .group î @@ -713,7 +723,7 @@ _) half _^_en ll l // aller _) l' (P2 l au) lt // hérault - outi) l (_ // outil + uCi) l (_ // outil, fusil ui) ll j // juillet // group l: English section @@ -725,6 +735,7 @@ _) half _^_en m m // film mm m // pomme _) m' (P2v m + _) ms (P2 Em_!Es // group m: English section _) mail (_ _^_en // mailer @@ -748,6 +759,7 @@ _) half _^_en .group o br) oc (_ o // broc cr) oc (_ o // escroc + o (ckK O2 o (lC O2 on (n O on (nerA O2 @@ -761,7 +773,7 @@ _) half _^_en o (t_ o o (tre_ O2 - oe (ll o-a // moelleux + oe (ll wa // moelleux _) oe (C Y // oesophage _ph) oe (C e // phoetus oeu W // soeur coeur @@ -770,10 +782,9 @@ _) half _^_en _) oi (gnon o // oignons oin (C wE~ oin (_ wE~ // coin - oi o-a // poil - oie (m o-a // d‚ploiement - oê (l o-a // poêle - oî o-a // boîte + oi wa // poil + oê (l wa // poêle + oî wa // boîte om (C O~ // bombe om (m O // nommer _) om (n O2m // omnibus @@ -785,10 +796,8 @@ _) half _^_en onh (A On // bonhomme _) on (z _!O~ // onze, onziŠme - _b) on (_A On // liaison: bon élève - _b) on (_h O~n2 // liaison: bon hiver - _C) on (_ O~n2 // mon appui, mon histoire, mon havre _c) on (_ O~ // no comment + _C) on (_ O~n2 // mon appui, mon histoire, mon havre alc) oo (l O // alcool z) oo o // zoo @@ -807,9 +816,9 @@ _) half _^_en ou u // hibou brouillard où u // où oû u // coûter - oyes (_ o-a // troyes - oy (A o-aj // noyer voyelles - oy o-a // roy + oyes (_ wa // troyes + oy (A waj // noyer voyelles + oy wa // roy o (_ o // zorro allégro o (z_ o // berlioz o O @@ -876,6 +885,7 @@ C) oing (_ _^_en // going .group q q k // coq + _) qu' (AP3 k _a) qu (a kw // aquarium _a) qu (if kw // aquifère _A) qu (idist ky // équidistant @@ -886,7 +896,6 @@ C) oing (_ _^_en // going _) qu (artz kw // quartz qu k // quatre _) que (_ k@ // que - _) qu' (P3 k // qu'il n) q (_ k // cinq cent // group q: English section @@ -902,7 +911,6 @@ mou) rr RR // mourrai _) radio (@P5 radio // group r: English section - AC) ram (_ _^_en _) real _^_en rese _^_en rst (_ _^_en @@ -916,7 +924,7 @@ mou) rr RR // mourrai _) s' (P2v s // s'amène sç s // immisça sch (ie sk // schierzo - sch (iz sk // schizophrène + sch (iz sk // schizophrène sch (ol sk sch (oo sk @@ -928,12 +936,12 @@ mou) rr RR // mourrai ai) s (em s // vraisemblable ub) s (is z // subsister - han) s (on s // chanson + tran) s (A z // transition + tran) s (e s // transe + tran) s (ub s // transubstantiation A) s (A z // baiser A) s (oft s // microsoft - y) s (A z // paysage - CCan) s (A z // transition - xpan) s (A s // expansion + _anti) s (A s // antisocial _) socio (@P5 sosio _) super (@P5 sypEr _) super (_ sypEr @@ -1069,11 +1077,9 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe ni) tien (t_ si bu) tien (t_ si - cra) t (ie_ s // démocratie - cra) t (ies_ s + cra) t (ieX s // démocratie - ner) t (ie_ s // inertie - ner) t (ies_ s + ner) t (ie s // inertie _ce) t (_ t @@ -1104,6 +1110,8 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe g) ueil (_ Wj // orgueil + C) u (bX W // hub, club + C) u (gX W // bug, mug um (_ Om // album f) um (_ W~ // parfum um (b W~ // humble @@ -1143,7 +1151,7 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe .group v v v - vers (_S4 vErz2 + vers (_ vErz2 // goup v: English section voice (X _^_en @@ -1164,7 +1172,7 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe _) wir _^_en // wire winn _^_en // winner wise _^_en - wor _^_en // word, world + wor _^_en .group x @@ -1195,6 +1203,8 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe .group y y i // cryogénique myope + _) y (A _!i // yak, yacht + _) y (eu i // yak, yacht _) yahoo (P5 ia'u // symbolique ym (b E~ // symbolique @@ -1235,7 +1245,7 @@ n) t (- t2 // silent at end of verb unless next word starts with a vowe , (D pilk:u ! Eksklamasj'O~ $ dOlaR - @ aRobas + @ aRobaz % puRsA~ & _e + plys diff --git a/dictsource/pt_list b/dictsource/pt_list index 691f3443..6dc1052e 100755 --- a/dictsource/pt_list +++ b/dictsource/pt_list @@ -243,7 +243,7 @@ o $u+ $nounf a $u+ $nounf os $u+ as $u+ -?1 a & $u+ +?1 a & $u+ $nounf um $u uma $u @@ -338,8 +338,6 @@ pelo $u $brk pelos $u $brk ?2 pelas $u $brk p'el&s -a $u $brk // to,at -?1 a & $u $brk ao $u $brk à ,a: $brk aos $u $brk diff --git a/dictsource/pt_rules b/dictsource/pt_rules index d7cbcde6..e1d5190d 100755 --- a/dictsource/pt_rules +++ b/dictsource/pt_rules @@ -103,6 +103,7 @@ b b b (b ?3 b (B bI +?3 b (s b ?3 b (_C b_ @@ -111,6 +112,8 @@ c k c (Y s // ce ci ?3 c (B kI +?3 c (s k +?3 c (t k ?3 c (_C k_ ch S ck k @@ -453,6 +456,8 @@ k k k (k ?3 k (B kI +?3 k (s k +?3 k (t k ?3 k (_C k_ @@ -577,7 +582,7 @@ o (tA_ O o (tAm_ O -?2 ox (_ Oks +?2 o (x_ O ?1 oz (_ Os# ?2 oz (_ Oz o (zes_ O @@ -632,6 +637,8 @@ p p p (p ?3 p (B pI +?3 p (s p +?3 p (t p ?3 p (_C p_ ?1 ph f //Didn’t use in European Portuguese (eg: English) ?1 ple (_ _^_EN @@ -770,7 +777,6 @@ .group x x (A S A) x (A ks -?4 A) x (A S _e) x (A z e) x (A ks ?1 e) x (CA S diff --git a/dictsource/sk_rules b/dictsource/sk_rules index b09462e2..c69a34f4 100644 --- a/dictsource/sk_rules +++ b/dictsource/sk_rules @@ -1,6 +1,9 @@ // translation rules for Slovak // This file is UTF-8 encoded +// Letter groups: +// G voiced: bdgjlmnrvwzaeiouy + .group a a a diff --git a/phsource/compile_report b/phsource/compile_report index c28d28f0..566bfc31 100644 --- a/phsource/compile_report +++ b/phsource/compile_report @@ -337,10 +337,8 @@ l/_l [l] base [l;] ro [l] zh l/l_ [l/] base - [l] fr [l/] fr l/l@ [(@)] base - [l] fr l/L1_aL [(a)] base l/L1_eL [(e)] base l/L1_iL [(i)] base @@ -360,13 +358,10 @@ l/L2_uL [(u)] base [u:] en_rp l/l_3 [l/] de l/la [(a)] base - [l] fr l/le [(e)] base - [l] fr l/L_eL_af [&] af [&:] af l/li [(i)] base - [l] fr [l] zh l/l_long [l] base [l] fr @@ -374,10 +369,8 @@ l/l_long [l] base [l] la [l;] ro l/lo [(o)] base - [l] fr l^/l_rfx [l.] hi l/lu [(u)] base - [l] fr l/tl [l] base [l] en [l] en_wi @@ -470,7 +463,7 @@ r2/r2o [(o)] base r2/r2u [(u)] base r3/r_ [r/] base [r/] af - [r] fr + [r/] fr [r/] ru r3/r_@ [(@)] base r3/r#_ [r#] is @@ -478,6 +471,7 @@ r3/r_a [(a)] base r3/r_e [(e)] base r3/r_i [(i)] base r3/r_n [r/] base + [r/] fr [r/] ru r3/r_o [(o)] base r3/r_ru [R4] ru @@ -506,6 +500,10 @@ r3/r_u [(u)] base r3/rx [*] base [r/] base [r/] af + [R] fr + [r] fr + [r/] fr + [r2] fr [R] fr_ca [r/] ru [x] pt_pt @@ -522,12 +520,14 @@ r/r [r] base [r-] base [r] en_sc [r] de + [r2] fr r/_r [r] base [r] en_sc r/r_ [r] base [r] en_sc [r] de [r] fi + [r] fr [r2] nl [r] ru [r] ro @@ -541,6 +541,7 @@ r/rr [r/] base [r/] af [r] de [r] fi + [r/] fr [r2] nl [r] ru [r/] ru @@ -554,6 +555,7 @@ r/trr [r/] base [r/] af [r] de [r] fi + [r/] fr [r2] nl [r] ru [r/] ru @@ -766,8 +768,6 @@ ustop/q [q] base ustop/q_u [q] base ustop/t [t] base [t2] en - [t] fr - [t2] fr [t.h] hi [t] zhy ustop/t_ [t] base @@ -801,7 +801,6 @@ ustop/t_pzd [t;] pl ustop/tr [t] base [t[] base [t2] en - [t] fr [t.h] hi [t] ru ustop/ts [ts] base2 @@ -819,7 +818,9 @@ ustop/tsh_ [tS] base [c] zhy ustop/tsh2 [tS] hr [dZ] hr -ustop/t_short [t.] hi +ustop/t_short [t] fr + [t2] fr + [t.] hi [t] sk [t] el ustop/tsh_pzd [tS;] zh @@ -1220,7 +1221,6 @@ vowel/a [a] en_n [aa] en_wm [a] cy [a] de - [a] fr [a] ta [a:] hu [a:] nl @@ -1553,7 +1553,6 @@ vowel/o-_2 [V] en_n [V] en_wm vowel/o_3 [oU] en_sc [o] fr - [o-] fr vowel/o-_3 [U] en_rp vowel/o_4 [oU] en_n vowel/o-_4 [o] ro @@ -1570,6 +1569,7 @@ vowel/oe_2 [W] no vowel/oe_4 [W] sv vowel/o_mid [O] fr [O2] fr + [O~] fr [o] hu [o] tr vowel/oo [O:] en_sc @@ -1684,6 +1684,7 @@ vowel/u_bck [u] base2 [u#] rw [u] ko vowel/u_bck2 [u] fr + [u:] fr [u:] la vowel/u_fnt [u:] en_rp vowel/uu [U] en @@ -1817,7 +1818,6 @@ vwl_en_us/or [O:] en_us vwl_en_us/ur [U@] en_us vwl_fr/@R [R] fr [r] fr - [r/] fr [r2] fr [x] pt_pt vwl_fr/@R2 [R] fr_ca @@ -1889,6 +1889,7 @@ w/_w [w] base w/w_ [w/] base w/w@ [(@)] base w/w2 [w2] base2 + [w] fr [w] pl [w] sk [w] pt_pt diff --git a/phsource/mbrola/ptbr b/phsource/mbrola/ptbr index 82557914..73694e65 100644 --- a/phsource/mbrola/ptbr +++ b/phsource/mbrola/ptbr @@ -35,6 +35,13 @@ 0 R NULL 0 r 0 j NULL 0 y +// consonant combinations which are OK for br4 voice, but need epenthetic [i] for br1 br3 +0 k s 90 k i +0 k t 90 k i +0 p s 90 p i +0 p t 90 p i +0 b s 90 b i + 0 a/ NULL 0 a 0 A NULL 0 a 0 & NULL 0 a diff --git a/phsource/ph_french b/phsource/ph_french index da228a3a..0c3da091 100644 --- a/phsource/ph_french +++ b/phsource/ph_french @@ -1,4 +1,3 @@ - //==================================================== // French //==================================================== @@ -20,7 +19,6 @@ phoneme a vowel starttype (a) endtype (a) length 170 formants vowel/a_3 - after w vowel/a endphoneme @@ -74,13 +72,6 @@ phoneme o endphoneme -phoneme o- - vowel starttype (o) endtype (o) - length 100 - formants vowel/o_3 -endphoneme - - phoneme O vowel starttype (o) endtype (o) length 170 @@ -104,8 +95,15 @@ phoneme u endphoneme +phoneme u: // slitely longer than u + vowel starttype (u) endtype (u) + length 220 + formants vowel/u_bck2 +endphoneme + + phoneme y - vowel starttype (e) endtype (u) + vowel starttype (u) endtype (u) length 170 formants vowel/y_2 endphoneme @@ -119,12 +117,13 @@ endphoneme phoneme w - vowel starttype (o) endtype w - length 120 + vowel starttype (u) endtype (@) + length 80 beforenotvowel w/ lengthmod 7 - formants w/w + formants w/w2 after _ w/_w + after (r) w/w endphoneme @@ -171,6 +170,7 @@ phoneme O~ vowel starttype (o) endtype (o) length 200 formants vnasal/o_n3 + before n2 vowel/o_mid endphoneme @@ -225,17 +225,17 @@ endphoneme phoneme b vcd blb stop vowelout f1=0 f2=1000 -500 -300 f3=-300 80 brk - formants b/b+x/b + formants b/b+x/b%50 before _ b/b_+x/b_ - before (a) b/ba+x/b - before (@) b/b@+x/b - before (e) b/be+x/b - before (i) b/bi+x/b - before (o) b/bo - before (u) b/bu - before @- b/b@2+x/b + before (a) b/ba+x/b%50 + before (@) b/b@+x/b%40 + before (e) b/be+x/b%50 + before (i) b/bi+x/b%50 + before (o) b/bo+x/b%25 + before (u) b/bu+x/b%40 + before @- b/b@2+x/b%50 after _ NULL - after @ b/xb + after @ b/xb%50 lengthmod 5 switchvoicing p endphoneme @@ -246,7 +246,7 @@ phoneme d vowelout f1=0 f2=1700 -300 300 f3=-100 80 formants d/d+x/d%40 before _ d/d_+x/d_%50 - before r d/dr+x/d%50 + before (r) d/dr+x/d%50 after _ d/d+x/d%50 after @ d/xd lengthmod 5 @@ -272,9 +272,9 @@ phoneme k vowelin f1=0 f2=2300 200 400 f3=-100 80 vowelout f1=0 f2=2300 300 400 f3=-100 80 rms=20 lengthmod 2 - wave ustop/k%45 // reduce strength of noise burst + wave ustop/k%40 // reduce strength of noise burst before _ ustop/k_ - before r ustop/kr%45 + before (r) ustop/kr%45 before l ustop/kl%45 before (i) ustop/ki%45 switchvoicing g @@ -290,13 +290,6 @@ phoneme l after _ l/_l after t l/tl after l/ l/l_long // double l, make it longer - before (a) l/la - before (e) l/le - before (i) l/li - before (o) l/lo - before (u) l/lu - before (@) l/l@ - before _ l/l_ endphoneme @@ -330,8 +323,7 @@ phoneme p wave ustop/p%45 before _ ustop/p_%70 after _ ustop/p%70 - before r ustop/pr%60 - before R ustop/pr%60 + before (r) ustop/pr%60 before @- ustop/p_unasp%60 before l ustop/pl%60 switchvoicing b @@ -350,50 +342,53 @@ endphoneme phoneme r - vcd rfx frc starttype r endtype r + vcd rfx frc starttype (r) endtype (r) vowelin f1=0 f2=800 -50 50 f3=-100 100 len=0 rms=30 vowelout f1=0 f2=800 -50 50 f3=-100 100 len=0 brk length 100 lengthmod 3 beforenotvowel r/ - formants vwl_fr/@R + formants vwl_fr/@R+r3/rx%25 after t r/tr after k r/tr after p r/tr - before _ r3/r_ + before _ r/r_ endphoneme phoneme r2 // silent unless followed by vowel - vcd rfx frc starttype r endtype r - vowelin f1=0 f2=800 -50 50 f3=-100 100 + vcd rfx frc starttype (r) endtype (r) + vowelin f1=0 f2=800 -50 50 f3=-100 100 len=0 rms=30 vowelout f1=0 f2=600 -100 100 f3=-100 100 len=0 brk length 100 lengthmod 3 beforenotvowel NULL - formants vwl_fr/@R - before _ vwl_fr/@R + formants vwl_fr/@R+r3/rx%25 + before _ r/r endphoneme phoneme R - vcd rfx frc starttype r endtype r + vcd rfx frc starttype (r) endtype (r) vowelin f1=0 f2=800 -50 50 f3=-100 100 len=0 rms=30 length 100 lengthmod 3 beforenotvowel r/ - formants vwl_fr/@R + formants vwl_fr/@R+r3/rx%25 // after r r/rr endphoneme phoneme r/ // variant of [r] when not preceding a vowel - vcd rfx frc starttype r endtype r - vowelout f1=0 f2=800 -50 50 f3=-100 100 len=0 rms=20 + vcd rfx frc starttype (r) endtype (r) + vowelout f1=0 f2=800 -50 50 f3=-100 100 len=0 brk length 100 lengthmod 2 - formants NULL - before j vwl_fr/@R - before l vwl_fr/@R + formants r3/r_+r3/rx%25 + before n r3/r_n+r3/rx%50 + after _ r/rr + after t r/trr + after p r/trr + after k r/trr endphoneme @@ -429,11 +424,9 @@ phoneme t vowelin f1=0 f2=1700 -100 100 f3=-100 80 vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 lengthmod 2 - wave ustop/t%30 - before _ ustop/t_%60 - before @- ustop/t%30 - before r ustop/tr%30 - before R ustop/tr%30 + wave ustop/t_short%30 + before _ ustop/t_%40 + before (r) ustop/t_short%30 switchvoicing d endphoneme @@ -444,8 +437,8 @@ phoneme t2 // silent unless followed by vowel 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%30 - before _ ustop/t_%45 + wave ustop/t_short%30 + before _ ustop/t_%40 endphoneme diff --git a/phsource/vnasal/ee_n2 b/phsource/vnasal/ee_n2 index 4ac4dd22475b255dd47cda0297744139129f696e..e0c32a2bac82a3f9d87484c6fcf88f28264e7527 100644 GIT binary patch delta 30 lcmdnVvy*3nFB1drMt==PAT`n7Z1Q@>2aGJ6CorvK1^|Yg2;Kky delta 30 lcmdnVvy*3nFVjt)js6;pKx(4D+2r+%4;Yy@PheWf3;?Hr3XK2& diff --git a/phsource/vwl_en_us/a b/phsource/vwl_en_us/a index 0967515e701b103e025044c218240b945114ff92..d4a00885092abeb79566cdb0f1ee19b7a8c9b6c9 100644 GIT binary patch delta 50 zcmca_aMyr0IKb68B-k~Ok%56BaU;J63!}s42o`P-mBPWp!pO6^kcSJzs}Xq24ggUA B41@px delta 52 zcmca>aNmGGIKb68B-k~OnSp^JG2Un+uLlbw!{#s+ZV;8k!NbDHy*ZzU3&g7uc+3s} DV51C9 diff --git a/phsource/vwl_en_us/ee b/phsource/vwl_en_us/ee index faa06f94ed95b0e157863689b482e78bbf3fbc64..59a9042f2decbf878bfd07bf1779aa61f22685d0 100644 GIT binary patch delta 79 zcmbOsHA8B{6DG!n%}<$Tf~b1dnM`U8+!L8)m|inhGFUK)iKH=IVEW3onLC1wL9~J? fg2|hG4}%C7gTQ7xjuN1j$(y;9nSi_-Tnlangopts.length_mods0 = tr->langopts.length_mods; // don't lengthen vowels in the last syllable -// tr->langopts.vowel_pause = 1; tr->langopts.stress_rule = 3; // stress on final syllable tr->langopts.stress_flags = 0x6 | 0x10 | 0x20000; tr->langopts.numbers = 0x269 + 0x2000 + NUM_ROMAN; SetLetterVowel(tr,'y'); + ResetLetterBits(tr,0x2); SetLetterBits(tr,1,"bcdfgjkmnpqstvxz"); // B hard consonants, excluding h,l,r,w,y } break; @@ -666,7 +666,7 @@ SetLengthMods(tr,3); // all equal SetLetterVowel(tr,'y'); SetLetterVowel(tr,'r'); - ResetLetterBits(tr,0x2); + ResetLetterBits(tr,0x20); SetLetterBits(tr,5,sk_voiced); } break;