Browse Source

Latvian language improvements

master
Valdis Vitolins 8 years ago
parent
commit
dad8a3f2f9
3 changed files with 17 additions and 14 deletions
  1. 1
    0
      dictsource/lv_list
  2. 9
    7
      dictsource/lv_rules
  3. 7
    7
      phsource/ph_latvian

+ 1
- 0
dictsource/lv_list View File

/////////////////// ///////////////////
as $abbrev as $abbrev
asv ,a:_:,ess_!v'e:_: asv ,a:_:,ess_!v'e:_:
ano 'ano:
ba $abbrev ba $abbrev
bba $abbrev bba $abbrev
co $abbrev co $abbrev

+ 9
- 7
dictsource/lv_rules View File



.group d .group d
d d d d
dz Dz<
dž DZ<
dz Dz`
dž DZ`
dž (L61 DZ dž (L61 DZ


.group e .group e


.group k .group k
k k k k
k (ļ k} // tiny pause between k and ļ


.group ķ .group ķ
ķ c ķ c
ķ (L55 c. // tiny pause for sharper sound before short vowels
ķ (L55 c} // tiny pause for sharper sound before short vowels


.group l .group l
L56) l (@ >l // short vowels (or diphthongs) before L56) l (@ >l // short vowels (or diphthongs) before
o) l (@ :l // short vowels before o) l (@ :l // short vowels before
CL57) l (@ :l // long vowels before CL57) l (@ :l // long vowels before
l l l l
ll lll // espeak says doubled ll shorter than doubled ļļ
ll (++ ll // espeak says doubled ll shorter than doubled ļļ
C) l (C l- // more voiced variant between consonants C) l (C l- // more voiced variant between consonants


.group ļ .group ļ


.group o .group o
// default policy rules // default policy rules
_C) o (_+ uo< // shorter version of uo for particles
_C) o (_+ o` // shorter version of uo for particles
o) o o: // in ..oo.. second o is spelled as ō o) o o: // in ..oo.. second o is spelled as ō
o ($w_alt++ o // $alt words in lv_list are spelled as o o ($w_alt++ o // $alt words in lv_list are spelled as o
o (_$w_alt1+ o: // o at the end of internationalisms ($alt1) words is spelled as ō o (_$w_alt1+ o: // o at the end of internationalisms ($alt1) words is spelled as ō
o (L44+ uo // uo postfixes o (L44+ uo // uo postfixes


// Prefixes // Prefixes
_n) o uo< // shorter uo for prefix
_n) o o` // shorter uo for prefix


// international prefixes // international prefixes
_femt) o o _femt) o o
v) ol (u ol v) ol (u ol
z) ol (it ol z) ol (it ol
@z) ol (L01_ o:l // ..zols @z) ol (L01_ o:l // ..zols
z) ol (L05_ uo>l // ..zole
z) ol (L05_ uol // ..zole


.group om .group om
an) om om an) om om
daig) on uon daig) on uon
dail) on uon dail) on uon
dalt) on o:n dalt) on o:n
d) on (ald on
d) on (k oN d) on (k oN
_d) on (L04_ uon // dona _d) on (L04_ uon // dona
d) on (n onn d) on (n onn

+ 7
- 7
phsource/ph_latvian View File

FMT(vdiph2/uaa, 100) FMT(vdiph2/uaa, 100)
endphoneme endphoneme


phoneme uo< // shorter version of uo
phoneme o` // shorter version of uo
vowel starttype #u endtype #a vowel starttype #u endtype #a
length 180 length 180
long long
endphoneme endphoneme




phoneme z< // Shortened version of z for diphthong dz
phoneme z` // Shortened version of z for diphthong dz
vcd alv frc sibilant vcd alv frc sibilant
voicingswitch s voicingswitch s
length 10 length 10
FMT(voc/z, 110) addWav(ufric/s_, 100) FMT(voc/z, 110) addWav(ufric/s_, 100)
endphoneme endphoneme


phoneme Z< // Shortened version of Z for diphthong dZ
phoneme Z` // Shortened version of Z for diphthong dZ
vcd pla frc sibilant vcd pla frc sibilant
voicingswitch S voicingswitch S
length 30 length 30


phoneme > // lengthen previous vowel less than using ":" phoneme > // lengthen previous vowel less than using ":"
virtual virtual
length 20 // it actually seems working shorter as 20ms, but anyway...
length 30 // it actually seems working shorter, but anyway...
endphoneme endphoneme


phoneme . // Tiny, 5ms non-linked pause (used between phonemes in word)
phoneme } // Tiny, 5ms non-linked pause (used between phonemes in word)
pause pause
starttype _ endtype _
lengthmod 1
// starttype _ endtype _
// lengthmod 1
nolink nolink
length 5 length 5
endphoneme endphoneme

Loading…
Cancel
Save