Browse Source

Latvian language improvements

master
Valdis Vitolins 7 years ago
parent
commit
eaeae0b855
3 changed files with 12 additions and 25 deletions
  1. 8
    2
      dictsource/lv_rules
  2. 2
    2
      espeak-ng-data/lang/bat/lv
  3. 2
    21
      phsource/ph_latvian

+ 8
- 2
dictsource/lv_rules View File

@@ -147,6 +147,7 @@

.group b
b b
l) b >b

.group c
c ts
@@ -686,11 +687,13 @@ L46L45L45) o (<< uo
orat) o o:
ort) o (@ o
osm) o o:
o (šanL04_+ uo
pant) o o
paran) o o
pērk) o (L80+ uo
pils) o (L80 uo // pilson
pir) o o
plēs) o (L80 uo
pneim) o o:
p) o (L51 o
_p) o (L77L02_+ uo // polis
@@ -1450,20 +1453,22 @@ L46L45L45) o (<< uo
k) ot (an ot
k) ot (L51 ot
k) ot (l ot
_L10pr) ot (L13_ uot // (ne|sa..)prot(i|u)
_L10pr) ot (L13_ uot // (ne|sa..)prot(i|u)
lin) ot (ip ot
l) ot (er ot
_l) ot (iņL04 ot // Lotiņa
l) ot (L05_ ot // ..lote
_l) oto (sL01_ oto // lotoss
mel) ot uot
m) ot (L52 ot
m) oto oto:
m) otō oto:
nepr) ot uot
_n) ot (L04_ ot // nota
n) ot (L50r ot
ot (āj uot
ot (k ot
m) otō oto:
ot (L01_+ uot
_) oto (C< oto
pil) ot ot
_p) ot (ašL04 ot // potaša
@@ -1588,6 +1593,7 @@ L46L45L45) o (<< uo

.group t
t t
l) t >t

.group u
u u

+ 2
- 2
espeak-ng-data/lang/bat/lv View File

@@ -9,5 +9,5 @@ breathw 20 42 85 200 500 1200
formant 0 95 100 100 -5
//tunes s5 c5 q5 e5
tone 150 220 450 255 750 20 3500 255
stressAmp 12 10 10 8 0 0 20 15
stressLength 160 180 180 140 0 0 250 180
stressAmp 12 10 8 8 0 0 18 15
stressLength 160 140 200 140 0 0 240 180

+ 2
- 21
phsource/ph_latvian View File

@@ -14,7 +14,7 @@ endphoneme

phoneme a:
vwl starttype #a endtype #a
length 300
length 310
lng
FMT(vwl_lv/aa, 90)
endphoneme
@@ -101,7 +101,7 @@ endphoneme

phoneme au
vwl starttype #a endtype #u
length 290
length 300
lng
FMT(vdiph/aau, 100)
endphoneme
@@ -171,25 +171,6 @@ phoneme tS
WAV(ustop/tsh,40)
endphoneme

phoneme h // more quiet version of standard h
vls glt apr
lengthmod 3
ipa h

IF nextPh(#a) THEN
WAV(h/ha, 20)
ELIF nextPh(#e) THEN
WAV(h/he, 20)
ELIF nextPh(#i) THEN
WAV(h/hi, 20)
ELIF nextPh(#o) THEN
WAV(h/ho, 20)
ELIF nextPh(#u) THEN
WAV(h/hu, 20)
ENDIF
WAV(h/h_, 30) // no vowel following
endphoneme

phoneme n- // more voiced variant of n
vwl starttype #a endtype #a
ipa nU+0329

Loading…
Cancel
Save