Debian Codegraph @

phsource/ph_russian_lv

raw
1 phoneme l
2 liquid
3
4 IF nextPh(isNotVowel) THEN
5 PrevVowelEndings
6 VowelEnding(l/L1_@L)
7 VowelEnding(l/L1_aL)
8 VowelEnding(l/L1_eL)
9 VowelEnding(l/L1_iL)
10 VowelEnding(l/L1_oL)
11 VowelEnding(l/L1_uL)
12 EndSwitch
13
14 FMT(l/l_)
15 RETURN
16 ENDIF
17
18 CALL vowelstart_l
19
20 IF prevPh(isVowel) THEN
21 VowelEnding(l/xl, 10)
22 ENDIF
23
24 IF prevPh(isPause) THEN
25 FMT(l/_l)
26 ENDIF
27
28 IF prevPh(t) THEN
29 FMT(l/tl)
30 ENDIF
31
32 IF prevPh(l/) THEN
33 FMT(l/l_long) // double l, make it longer
34 ENDIF
35
36 FMT(l/l)
37 endphoneme
38
39 phoneme l^ // Latvian ļ, customized from standard l^
40 liquid
41 ipa ʎ
42 lengthmod 7
43 Vowelout len=60 lenadd rate
44 length 100
45
46 NextVowelStarts
47 VowelStart(l^/j2@)
48 VowelStart(l^/j2a)
49 VowelStart(l^/j2e)
50 VowelStart(l^/j2i)
51 VowelStart(l^/j2o)
52 VowelStart(l^/j2u)
53 EndSwitch
54
55 IF prevPh(isPause) THEN
56 FMT(l^/_l^)
57 ELSEIF nextPh(isPause) THEN
58 FMT(l^/l^_)
59 ENDIF
60
61 FMT(l^/l^)
62 endphoneme
63
64 phoneme o
65 vwl starttype #o endtype #o
66 length 100
67 IF thisPh(isUnstressed) THEN
68 FMT(vowel/aa_7)
69 ENDIF
70 FMT(vwl_ru/o)
71 endphoneme
72
73 phoneme 8
74 vwl starttype #o endtype #o
75 length 120
76 ChangeIfNotStressed(V)
77 FMT(vwl_ru/8)
78 endphoneme
79
80 phoneme e
81 vwl starttype #e endtype #e
82 length 100
83 IF prevPh(Z) THEN
84 ChangeIfNotStressed(y)
85 ChangePhoneme(E)
86 ENDIF
87 IF prevPh(S) THEN
88 ChangeIfNotStressed(y)
89 ChangePhoneme(E)
90 ENDIF
91 IF prevPh(ts) THEN
92 ChangeIfNotStressed(y)
93 ChangePhoneme(E)
94 ENDIF
95 FMT(vwl_ru/ee)
96 endphoneme
97