diff --git a/dictsource/lv_list b/dictsource/lv_list index 9365c8d1..bb633f78 100644 --- a/dictsource/lv_list +++ b/dictsource/lv_list @@ -465,7 +465,7 @@ vismaz $2 // Abbreviations // /////////////////// as $abbrev -asv ,a:_:,ess_!v'e:_: +asv ,a:_:,ess_!v'e:_: $allcaps ano 'ano: ba $abbrev bba $abbrev @@ -475,7 +475,7 @@ dz $abbrev eest $abbrev est $abbrev eur 'euR -lnnk 'ell_,en_,en_k'a: $pause +lnnk $abbrev $pause lp $abbrev ls $abbrev lu $abbrev @@ -483,7 +483,7 @@ lvu $abbrev na $abbrev nra $abbrev nr $abbrev -pctvl p'e:_ts,e:_t,e:_v,e:_'ell_ $pause +pctvl $abbrev $pause prks $abbrev psrs $abbrev rpi $abbrev @@ -493,11 +493,11 @@ sv $abbrev šķ $abbrev tjpr $abbrev $u $pause tml $abbrev $u $pause -tp t,e:_p'e: $pause +tp $abbrev $pause utjpr $abbrev $u $pause utml $abbrev $u $pause utt $abbrev $u $pause -zzs z'e:_z,e:_'ess $pause +zzs $abbrev $pause /////////////////////////// // other exception words // diff --git a/dictsource/lv_rules b/dictsource/lv_rules index cea7bc17..5bb9c6db 100644 --- a/dictsource/lv_rules +++ b/dictsource/lv_rules @@ -164,7 +164,7 @@ .group e e e // Default as narrow e ee e_|e // internationalisms, prefix: ne-e... - ei (+ ei + ei (++ ei // narrow e ---------------------------------------------------------------------- // a) e (ro e // internationalisms @@ -216,7 +216,7 @@ e (L25L01_ E e (L25L25L01_ E e (Jam E - L25) e (L18_+ E // vareni etc. + L25) e (CJL18_ E // vareni etc. // specific words ----------------------------------------------------------------- // b) e (dL82L05_ e // bedre @@ -292,7 +292,7 @@ _v) e (ntL04_ E // Venta _v) e (ntsp E // Ventspils _z) e (lmL04_ e // Zelma - _z) e (m e + z) e (m+ e .group ē ē e: // Default as narrow ē @@ -346,7 +346,7 @@ ē (L25L25L25L25L24 E: // widening endings ē (L01_ E: - ē (L25L01_ E: + ē (L25L01_+ E: ē (L25L25L01_ E: // 5. dec. words ē (CL05_ e: @@ -369,6 +369,7 @@ ē (rkšķ e: ē (tā_ E: ē (tL55_ E: + gr) ē (kL01_ E: izp) ē (t e: _kāp) ē (c_ e: // kāpēc m) ēne (L83 e:ne @@ -393,6 +394,7 @@ t) ē (L90 e: t) ē (mL04_ e: // ..tēma t) ērē e:Re: + t) ē (zL05_ e: // ..tēze _v) ē (l_ e: // vēl _v) ē (lL01_ E: // vēls _v) ē (rā_ e: // vērā @@ -421,7 +423,7 @@ ī i: .group j - A) j (@ :j +// A) j (@ :j j j _) jebk j%ebk // stress on 2nd syllable @@ -455,6 +457,7 @@ C) n (C n- // more voiced variant between consonants L59) n (@ :n n (d N + ne (vienl+ n'e // nevienlīdzība _) ne (vien n%e // stress on 2nd syllable n (g N n (k N @@ -1353,8 +1356,8 @@ L46L45L45) o (<< uo .group os ap) ostrof ostRo:f atm) os os - b) os (L01_ os // boss _blont) os (_ uos // Blontos + b) os (L01_ os // boss _cit) os (_ uos // citos _dat) os (_ uos _d) osto (jevskL02_ osto // Dostojevskis @@ -1362,6 +1365,7 @@ L46L45L45) o (<< uo f) osfo osfo: _gr) osto (nL04_ osto: // Grostona iz) os uos + kāp) os (t uos k) os (in os k) os (m os _k) osmo (sL01_ osmo // kosmoss @@ -1376,14 +1380,13 @@ L46L45L45) o (<< uo osto (L65 uostuo os (t_ uos p) os (m uos + p) os (tC@ os p) os (te os p) os (ter os p) os (tī uos - p) os (tL56m os - p) os (tm os - p) os (tk os + p) os (tL01 uos + p) os (tL55m os p) os (to uos - p) os (tso os p) os (tul os pr) os (p os pr) os (t os diff --git a/espeak-ng-data/lang/bat/lv b/espeak-ng-data/lang/bat/lv index 32e66412..7bbbd4ce 100644 --- a/espeak-ng-data/lang/bat/lv +++ b/espeak-ng-data/lang/bat/lv @@ -4,10 +4,10 @@ maintainer Valdis Vitolins status mature words 0 2 pitch 64 118 -breath 5 2 0 0 0 1 -breathw 20 40 500 1200 -formant 1 95 100 100 -5 +breath 10 2 1 0 0 0 +breathw 20 42 85 200 500 1200 +formant 0 95 100 100 -5 //tunes s5 c5 q5 e5 -tone 150 220 450 255 850 10 3500 255 +tone 150 220 450 255 750 20 3500 255 stressAmp 12 10 10 8 0 0 18 15 stressLength 180 180 180 160 0 0 240 180 diff --git a/phsource/ph_latvian b/phsource/ph_latvian index 6663e4af..87e079ab 100644 --- a/phsource/ph_latvian +++ b/phsource/ph_latvian @@ -52,7 +52,7 @@ endphoneme phoneme i: vwl starttype #i endtype #i length 300 - FMT(vwl_lv/ii, 100) // was i_7 + FMT(vwl_lv/ii, 90) // was i_7 endphoneme @@ -335,3 +335,32 @@ phoneme s WAV(ufric/s,60) endphoneme +phoneme j // **y**es + liquid pal starttype #i + + IF nextPhW(isVowel) THEN + NextVowelStarts + VowelStart(j/j@) + VowelStart(j/ja) + VowelStart(j/je) + VowelStart(j/ji) + VowelStart(j/jo) + VowelStart(j/ju) + EndSwitch + + IF prevPhW(e) THEN + VowelEnding(j/xj, 10) // + ELSE + VowelEnding(j/xj, 127) // In difference with English, vowel is lengthened, not shortened + ENDIF + + IF prevPh(isPause) THEN + FMT(j/_j) + ENDIF + ELSE + // no vowel follows + Vowelout len=127 + FMT(j/xj) + ENDIF +endphoneme +