Debian Codegraph @

phsource/ph_tatar

raw
1
2
3 // use 'flag1' for front vowels, 'flag2' for back vowels
4
5 phoneme i
6 vwl flag1 starttype #i endtype #i
7 length 180
8 FMT(vowel/i)
9 endphoneme
10
11 phoneme y
12 vwl flag1 starttype #u endtype #u
13 length 180
14 FMT(vowel/y)
15 endphoneme
16
17 phoneme u
18 vwl flag2 starttype #u endtype #u
19 length 180
20 FMT(vowel/u)
21 endphoneme
22
23
24 phoneme e
25 vwl flag1 starttype #@ endtype #@
26 length 110
27 FMT(vowel/ii#)
28 endphoneme
29
30
31 phoneme W
32 vwl flag1 starttype #@ endtype #@
33 length 110
34 FMT(vowel/oe)
35 endphoneme
36
37 phoneme o
38 vwl flag2 starttype #o endtype #o
39 length 110
40 FMT(vowel/o_mid)
41 endphoneme
42
43 phoneme V
44 vwl flag2 starttype #@ endtype #@
45 length 110
46 ipa ɯ
47 FMT(vowel/@_2)
48 endphoneme
49
50
51 phoneme &
52 vwl flag1 starttype #e endtype #e
53 length 180
54 FMT(vowel/ee)
55 endphoneme
56
57 phoneme A
58 vwl flag2 starttype #a endtype #a
59 length 180
60 IF NOT nextPhW(w) AND NOT thisPh(isTranslationGiven) THEN
61 IF thisPh(isFirstVowel) THEN
62 ChangePhoneme(0)
63 ENDIF
64 IF prevVowel(0) AND thisPh(isSecondVowel) THEN
65 ChangePhoneme(0)
66 ENDIF
67 ENDIF
68 FMT(vowel/aa_8)
69 endphoneme
70
71 phoneme 0
72 vwl flag2 starttype #o endtype #o
73 length 180
74 FMT(vowel/0_3)
75 endphoneme
76
77
78 phoneme e:
79 vwl flag1 starttype #e endtype #e
80 length 240
81 FMT(vowel/e_6)
82 endphoneme
83
84 phoneme I
85 vwl flag1 starttype #i endtype #i
86 length 110
87 FMT(vowel/ii)
88 endphoneme
89
90 phoneme a // letter 'я'
91 vwl starttype #a endtype #a
92 length 180
93 IF prevVowel(isFlag1) OR nextVowel(isFlag1) THEN // front vowels
94 ChangePhoneme(&)
95 ENDIF
96 ChangePhoneme(A)
97 endphoneme
98
99 phoneme u2 // letter 'ю'
100 vwl starttype #u endtype #u
101 length 180
102 IF prevVowel(isFlag1) OR nextVowel(isFlag1) THEN
103 ChangePhoneme(y)
104 ELSE
105 ChangePhoneme(u)
106 ENDIF
107 endphoneme
108
109 phoneme e2 // 'e' at start of word
110 vwl starttype #@ endtype #@
111 length 100
112 IF nextVowel(isFlag2) THEN
113 ChangePhoneme(V)
114 ELSE
115 ChangePhoneme(e)
116 ENDIF
117 endphoneme
118
119
120
121 // Consonants
122
123 phoneme r
124 import_phoneme base1/R2
125 endphoneme
126
127 phoneme t
128 import_phoneme base2/t
129 endphoneme
130
131 phoneme d
132 import_phoneme base1/d[
133 endphoneme
134
135 phoneme k
136 vls vel stp
137 IF prevVowel(isFlag2) OR nextVowel(isFlag2) THEN // back vowels
138 ChangePhoneme(q)
139 ENDIF
140 CALL base1/k
141 endphoneme
142
143 phoneme G
144 import_phoneme base1/Q"
145 endphoneme
146
147 phoneme g
148 vcd vel frc
149 IF prevVowel(isFlag2) OR nextVowel(isFlag2) THEN
150 ChangePhoneme(G)
151 ELSE
152 ChangePhoneme(Q)
153 ENDIF
154 endphoneme
155
156
157 phoneme l
158 liquid
159 IF prevVowel(isFlag2) OR nextVowel(isFlag2) THEN
160 ChangePhoneme(L)
161 ENDIF
162 CALL base1/l
163 endphoneme