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



.group b .group b
b b b b
l) b >b


.group c .group c
c ts c ts
orat) o o: orat) o o:
ort) o (@ o ort) o (@ o
osm) o o: osm) o o:
o (šanL04_+ uo
pant) o o pant) o o
paran) o o paran) o o
pērk) o (L80+ uo pērk) o (L80+ uo
pils) o (L80 uo // pilson pils) o (L80 uo // pilson
pir) o o pir) o o
plēs) o (L80 uo
pneim) o o: pneim) o o:
p) o (L51 o p) o (L51 o
_p) o (L77L02_+ uo // polis _p) o (L77L02_+ uo // polis
k) ot (an ot k) ot (an ot
k) ot (L51 ot k) ot (L51 ot
k) ot (l 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 lin) ot (ip ot
l) ot (er ot
_l) ot (iņL04 ot // Lotiņa _l) ot (iņL04 ot // Lotiņa
l) ot (L05_ ot // ..lote l) ot (L05_ ot // ..lote
_l) oto (sL01_ oto // lotoss _l) oto (sL01_ oto // lotoss
mel) ot uot mel) ot uot
m) ot (L52 ot m) ot (L52 ot
m) oto oto: m) oto oto:
m) otō oto:
nepr) ot uot nepr) ot uot
_n) ot (L04_ ot // nota _n) ot (L04_ ot // nota
n) ot (L50r ot n) ot (L50r ot
ot (āj uot ot (āj uot
ot (k ot ot (k ot
m) otō oto:
ot (L01_+ uot
_) oto (C< oto _) oto (C< oto
pil) ot ot pil) ot ot
_p) ot (ašL04 ot // potaša _p) ot (ašL04 ot // potaša


.group t .group t
t t t t
l) t >t


.group u .group u
u u u u

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

formant 0 95 100 100 -5 formant 0 95 100 100 -5
//tunes s5 c5 q5 e5 //tunes s5 c5 q5 e5
tone 150 220 450 255 750 20 3500 255 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



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


phoneme au phoneme au
vwl starttype #a endtype #u vwl starttype #a endtype #u
length 290
length 300
lng lng
FMT(vdiph/aau, 100) FMT(vdiph/aau, 100)
endphoneme endphoneme
WAV(ustop/tsh,40) WAV(ustop/tsh,40)
endphoneme 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 phoneme n- // more voiced variant of n
vwl starttype #a endtype #a vwl starttype #a endtype #a
ipa nU+0329 ipa nU+0329

Loading…
Cancel
Save