Debian Codegraph @

lang/cmu_indic_lang/cmu_indic_phoneset.c

raw
1 /*******************************************************/
2 /** Autogenerated phoneset trees for cmu_indic */
3 /*******************************************************/
4
5 #include "cst_string.h"
6 #include "cst_phoneset.h"
7 extern const cst_phoneset cmu_indic_phoneset;
8
9
10 static const char * const cmu_indic_featnames[] = {
11 "clst",
12 "vc",
13 "vlng",
14 "vheight",
15 "vfront",
16 "vrnd",
17 "ctype",
18 "cplace",
19 "cvox",
20 "asp",
21 "nuk",
22 NULL };
23
24 static const char * const cmu_indic_phonenames[] = {
25 "pau",
26 "A",
27 "A:",
28 "i",
29 "i:",
30 "u",
31 "uy",
32 "u:",
33 "9r=",
34 "lr=",
35 "E",
36 "e",
37 "e:",
38 "aI",
39 "o",
40 "o:",
41 "aU",
42 "M",
43 "h",
44 "ay",
45 "ow",
46 "k",
47 "kh",
48 "g",
49 "gh",
50 "N",
51 "c",
52 "ch",
53 "J",
54 "Jh",
55 "n~",
56 "tr",
57 "tR",
58 "dr",
59 "dR",
60 "nr",
61 "tB",
62 "tBh",
63 "dB",
64 "dBh",
65 "nB",
66 "n",
67 "p",
68 "ph",
69 "b",
70 "bh",
71 "m",
72 "j",
73 "9r",
74 "l",
75 "lr",
76 "zr",
77 "v",
78 "c}",
79 "sr",
80 "s",
81 "hv",
82 "q",
83 "x",
84 "G",
85 "z",
86 "rr",
87 "rrh",
88 "f",
89 "dh",
90 "B",
91 "nX",
92 "Anas",
93 "A:nas",
94 "inas",
95 "i:nas",
96 "unas",
97 "u:nas",
98 "enas",
99 "e:nas",
100 "aInas",
101 "onas",
102 "o:nas",
103 "aUnas",
104 "aynas",
105 "ownas",
106 "aa",
107 "ae",
108 "ah",
109 "ao",
110 "aw",
111 "ax",
112 "axr",
113 "d",
114 "eh",
115 "er",
116 "ey",
117 "hh",
118 "ih",
119 "iy",
120 "jh",
121 "ng",
122 "oy",
123 "r",
124 "sh",
125 "t",
126 "th",
127 "uh",
128 "uw",
129 "w",
130 "y",
131 "zh",
132 NULL };
133
134 static const int cmu_indic_fv_000[] = { 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, -1 };
135 static const int cmu_indic_fv_001[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
136 static const int cmu_indic_fv_002[] = { 0, 2, 5, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
137 static const int cmu_indic_fv_003[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
138 static const int cmu_indic_fv_004[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
139 static const int cmu_indic_fv_005[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
140 static const int cmu_indic_fv_006[] = { 0, 2, 3, 7, 6, 0, 1, 1, 1, 0, 1, -1 };
141 static const int cmu_indic_fv_007[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
142 static const int cmu_indic_fv_008[] = { 0, 2, 3, 7, 6, 0, 1, 1, 1, 0, 1, -1 };
143 static const int cmu_indic_fv_009[] = { 0, 2, 8, 4, 6, 0, 1, 1, 1, 0, 1, -1 };
144 static const int cmu_indic_fv_010[] = { 0, 2, 9, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
145 static const int cmu_indic_fv_011[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
146 static const int cmu_indic_fv_012[] = { 0, 2, 5, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
147 static const int cmu_indic_fv_013[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
148 static const int cmu_indic_fv_014[] = { 0, 2, 3, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
149 static const int cmu_indic_fv_015[] = { 0, 2, 5, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
150 static const int cmu_indic_fv_016[] = { 0, 2, 8, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
151 static const int cmu_indic_fv_017[] = { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, -1 };
152 static const int cmu_indic_fv_018[] = { 0, 0, 1, 1, 1, 1, 10, 11, 0, 2, 0, -1 };
153 static const int cmu_indic_fv_019[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
154 static const int cmu_indic_fv_020[] = { 0, 2, 5, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
155 static const int cmu_indic_fv_021[] = { 0, 0, 1, 1, 1, 1, 3, 11, 0, 0, 0, -1 };
156 static const int cmu_indic_fv_022[] = { 0, 0, 1, 1, 1, 1, 3, 11, 0, 2, 0, -1 };
157 static const int cmu_indic_fv_023[] = { 0, 0, 1, 1, 1, 1, 3, 11, 2, 0, 0, -1 };
158 static const int cmu_indic_fv_024[] = { 0, 0, 1, 1, 1, 1, 3, 11, 2, 2, 0, -1 };
159 static const int cmu_indic_fv_025[] = { 0, 0, 1, 1, 1, 1, 12, 11, 2, 0, 0, -1 };
160 static const int cmu_indic_fv_026[] = { 0, 0, 1, 1, 1, 1, 9, 13, 0, 0, 0, -1 };
161 static const int cmu_indic_fv_027[] = { 0, 0, 1, 1, 1, 1, 9, 13, 0, 2, 0, -1 };
162 static const int cmu_indic_fv_028[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 0, 0, -1 };
163 static const int cmu_indic_fv_029[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 2, 0, -1 };
164 static const int cmu_indic_fv_030[] = { 0, 0, 1, 1, 1, 1, 12, 13, 2, 0, 0, -1 };
165 static const int cmu_indic_fv_031[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 0, 0, -1 };
166 static const int cmu_indic_fv_032[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 2, 0, -1 };
167 static const int cmu_indic_fv_033[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 0, -1 };
168 static const int cmu_indic_fv_034[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 2, 0, -1 };
169 static const int cmu_indic_fv_035[] = { 0, 0, 1, 1, 1, 1, 12, 9, 2, 0, 0, -1 };
170 static const int cmu_indic_fv_036[] = { 0, 0, 1, 1, 1, 1, 3, 8, 0, 0, 0, -1 };
171 static const int cmu_indic_fv_037[] = { 0, 0, 1, 1, 1, 1, 3, 8, 0, 2, 0, -1 };
172 static const int cmu_indic_fv_038[] = { 0, 0, 1, 1, 1, 1, 3, 8, 2, 0, 0, -1 };
173 static const int cmu_indic_fv_039[] = { 0, 0, 1, 1, 1, 1, 3, 8, 2, 2, 0, -1 };
174 static const int cmu_indic_fv_040[] = { 0, 0, 1, 1, 1, 1, 12, 8, 2, 0, 0, -1 };
175 static const int cmu_indic_fv_041[] = { 0, 0, 1, 1, 1, 1, 12, 9, 2, 0, 0, -1 };
176 static const int cmu_indic_fv_042[] = { 0, 0, 1, 1, 1, 1, 3, 5, 0, 0, 0, -1 };
177 static const int cmu_indic_fv_043[] = { 0, 0, 1, 1, 1, 1, 3, 5, 0, 2, 0, -1 };
178 static const int cmu_indic_fv_044[] = { 0, 0, 1, 1, 1, 1, 3, 5, 2, 0, 0, -1 };
179 static const int cmu_indic_fv_045[] = { 0, 0, 1, 1, 1, 1, 3, 5, 2, 2, 0, -1 };
180 static const int cmu_indic_fv_046[] = { 0, 0, 1, 1, 1, 1, 12, 5, 2, 0, 0, -1 };
181 static const int cmu_indic_fv_047[] = { 0, 0, 1, 1, 1, 1, 14, 13, 2, 0, 0, -1 };
182 static const int cmu_indic_fv_048[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
183 static const int cmu_indic_fv_049[] = { 0, 0, 1, 1, 1, 1, 14, 8, 2, 0, 0, -1 };
184 static const int cmu_indic_fv_050[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
185 static const int cmu_indic_fv_051[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
186 static const int cmu_indic_fv_052[] = { 0, 0, 1, 1, 1, 1, 14, 5, 2, 0, 0, -1 };
187 static const int cmu_indic_fv_053[] = { 0, 0, 1, 1, 1, 1, 10, 13, 0, 2, 0, -1 };
188 static const int cmu_indic_fv_054[] = { 0, 0, 1, 1, 1, 1, 10, 9, 0, 2, 0, -1 };
189 static const int cmu_indic_fv_055[] = { 0, 0, 1, 1, 1, 1, 10, 8, 0, 2, 0, -1 };
190 static const int cmu_indic_fv_056[] = { 0, 0, 1, 1, 1, 1, 10, 11, 2, 2, 0, -1 };
191 static const int cmu_indic_fv_057[] = { 0, 0, 1, 1, 1, 1, 3, 15, 0, 0, 2, -1 };
192 static const int cmu_indic_fv_058[] = { 0, 0, 1, 1, 1, 1, 10, 15, 0, 0, 2, -1 };
193 static const int cmu_indic_fv_059[] = { 0, 0, 1, 1, 1, 1, 10, 15, 2, 0, 2, -1 };
194 static const int cmu_indic_fv_060[] = { 0, 0, 1, 1, 1, 1, 10, 8, 2, 0, 2, -1 };
195 static const int cmu_indic_fv_061[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 2, -1 };
196 static const int cmu_indic_fv_062[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 2, 2, -1 };
197 static const int cmu_indic_fv_063[] = { 0, 0, 1, 1, 1, 1, 10, 16, 0, 0, 2, -1 };
198 static const int cmu_indic_fv_064[] = { 0, 0, 1, 1, 1, 1, 10, 8, 2, 0, 2, -1 };
199 static const int cmu_indic_fv_065[] = { 0, 0, 1, 1, 1, 1, 10, 5, 2, 0, 2, -1 };
200 static const int cmu_indic_fv_066[] = { 0, 0, 1, 1, 1, 1, 12, 11, 2, 0, 0, -1 };
201 static const int cmu_indic_fv_067[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
202 static const int cmu_indic_fv_068[] = { 0, 2, 5, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
203 static const int cmu_indic_fv_069[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
204 static const int cmu_indic_fv_070[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
205 static const int cmu_indic_fv_071[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
206 static const int cmu_indic_fv_072[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
207 static const int cmu_indic_fv_073[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
208 static const int cmu_indic_fv_074[] = { 0, 2, 5, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
209 static const int cmu_indic_fv_075[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
210 static const int cmu_indic_fv_076[] = { 0, 2, 3, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
211 static const int cmu_indic_fv_077[] = { 0, 2, 5, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
212 static const int cmu_indic_fv_078[] = { 0, 2, 8, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
213 static const int cmu_indic_fv_079[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
214 static const int cmu_indic_fv_080[] = { 0, 2, 3, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
215 static const int cmu_indic_fv_081[] = { 0, 2, 5, 6, 6, 0, 1, 1, 1, 0, 1, -1 };
216 static const int cmu_indic_fv_082[] = { 0, 2, 3, 6, 7, 0, 1, 1, 1, 0, 1, -1 };
217 static const int cmu_indic_fv_083[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
218 static const int cmu_indic_fv_084[] = { 0, 2, 5, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
219 static const int cmu_indic_fv_085[] = { 0, 2, 8, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
220 static const int cmu_indic_fv_086[] = { 0, 2, 9, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
221 static const int cmu_indic_fv_087[] = { 0, 2, 9, 4, 4, 0, 14, 9, 2, 0, 1, -1 };
222 static const int cmu_indic_fv_088[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 1, -1 };
223 static const int cmu_indic_fv_089[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
224 static const int cmu_indic_fv_090[] = { 0, 2, 9, 4, 4, 0, 14, 1, 1, 0, 1, -1 };
225 static const int cmu_indic_fv_091[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
226 static const int cmu_indic_fv_092[] = { 0, 0, 1, 1, 1, 1, 10, 15, 0, 0, 1, -1 };
227 static const int cmu_indic_fv_093[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
228 static const int cmu_indic_fv_094[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
229 static const int cmu_indic_fv_095[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 0, 1, -1 };
230 static const int cmu_indic_fv_096[] = { 0, 0, 1, 1, 1, 1, 12, 11, 2, 0, 1, -1 };
231 static const int cmu_indic_fv_097[] = { 0, 2, 8, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
232 static const int cmu_indic_fv_098[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 1, -1 };
233 static const int cmu_indic_fv_099[] = { 0, 0, 1, 1, 1, 1, 10, 13, 0, 0, 1, -1 };
234 static const int cmu_indic_fv_100[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 0, 1, -1 };
235 static const int cmu_indic_fv_101[] = { 0, 0, 1, 1, 1, 1, 10, 8, 0, 0, 1, -1 };
236 static const int cmu_indic_fv_102[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
237 static const int cmu_indic_fv_103[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
238 static const int cmu_indic_fv_104[] = { 0, 0, 1, 1, 1, 1, 14, 5, 2, 0, 1, -1 };
239 static const int cmu_indic_fv_105[] = { 0, 0, 1, 1, 1, 1, 14, 13, 2, 0, 1, -1 };
240 static const int cmu_indic_fv_106[] = { 0, 0, 1, 1, 1, 1, 10, 13, 2, 0, 1, -1 };
241 static const int cmu_indic_fv_107[] = { 0 };
242
243 static const int * const cmu_indic_fvtable[] = {
244 cmu_indic_fv_000,
245 cmu_indic_fv_001,
246 cmu_indic_fv_002,
247 cmu_indic_fv_003,
248 cmu_indic_fv_004,
249 cmu_indic_fv_005,
250 cmu_indic_fv_006,
251 cmu_indic_fv_007,
252 cmu_indic_fv_008,
253 cmu_indic_fv_009,
254 cmu_indic_fv_010,
255 cmu_indic_fv_011,
256 cmu_indic_fv_012,
257 cmu_indic_fv_013,
258 cmu_indic_fv_014,
259 cmu_indic_fv_015,
260 cmu_indic_fv_016,
261 cmu_indic_fv_017,
262 cmu_indic_fv_018,
263 cmu_indic_fv_019,
264 cmu_indic_fv_020,
265 cmu_indic_fv_021,
266 cmu_indic_fv_022,
267 cmu_indic_fv_023,
268 cmu_indic_fv_024,
269 cmu_indic_fv_025,
270 cmu_indic_fv_026,
271 cmu_indic_fv_027,
272 cmu_indic_fv_028,
273 cmu_indic_fv_029,
274 cmu_indic_fv_030,
275 cmu_indic_fv_031,
276 cmu_indic_fv_032,
277 cmu_indic_fv_033,
278 cmu_indic_fv_034,
279 cmu_indic_fv_035,
280 cmu_indic_fv_036,
281 cmu_indic_fv_037,
282 cmu_indic_fv_038,
283 cmu_indic_fv_039,
284 cmu_indic_fv_040,
285 cmu_indic_fv_041,
286 cmu_indic_fv_042,
287 cmu_indic_fv_043,
288 cmu_indic_fv_044,
289 cmu_indic_fv_045,
290 cmu_indic_fv_046,
291 cmu_indic_fv_047,
292 cmu_indic_fv_048,
293 cmu_indic_fv_049,
294 cmu_indic_fv_050,
295 cmu_indic_fv_051,
296 cmu_indic_fv_052,
297 cmu_indic_fv_053,
298 cmu_indic_fv_054,
299 cmu_indic_fv_055,
300 cmu_indic_fv_056,
301 cmu_indic_fv_057,
302 cmu_indic_fv_058,
303 cmu_indic_fv_059,
304 cmu_indic_fv_060,
305 cmu_indic_fv_061,
306 cmu_indic_fv_062,
307 cmu_indic_fv_063,
308 cmu_indic_fv_064,
309 cmu_indic_fv_065,
310 cmu_indic_fv_066,
311 cmu_indic_fv_067,
312 cmu_indic_fv_068,
313 cmu_indic_fv_069,
314 cmu_indic_fv_070,
315 cmu_indic_fv_071,
316 cmu_indic_fv_072,
317 cmu_indic_fv_073,
318 cmu_indic_fv_074,
319 cmu_indic_fv_075,
320 cmu_indic_fv_076,
321 cmu_indic_fv_077,
322 cmu_indic_fv_078,
323 cmu_indic_fv_079,
324 cmu_indic_fv_080,
325 cmu_indic_fv_081,
326 cmu_indic_fv_082,
327 cmu_indic_fv_083,
328 cmu_indic_fv_084,
329 cmu_indic_fv_085,
330 cmu_indic_fv_086,
331 cmu_indic_fv_087,
332 cmu_indic_fv_088,
333 cmu_indic_fv_089,
334 cmu_indic_fv_090,
335 cmu_indic_fv_091,
336 cmu_indic_fv_092,
337 cmu_indic_fv_093,
338 cmu_indic_fv_094,
339 cmu_indic_fv_095,
340 cmu_indic_fv_096,
341 cmu_indic_fv_097,
342 cmu_indic_fv_098,
343 cmu_indic_fv_099,
344 cmu_indic_fv_100,
345 cmu_indic_fv_101,
346 cmu_indic_fv_102,
347 cmu_indic_fv_103,
348 cmu_indic_fv_104,
349 cmu_indic_fv_105,
350 cmu_indic_fv_106,
351 cmu_indic_fv_107 };
352
353 DEF_STATIC_CONST_VAL_STRING(featval_0,"-");
354 DEF_STATIC_CONST_VAL_STRING(featval_1,"0");
355 DEF_STATIC_CONST_VAL_STRING(featval_2,"+");
356 DEF_STATIC_CONST_VAL_STRING(featval_3,"s");
357 DEF_STATIC_CONST_VAL_STRING(featval_4,"2");
358 DEF_STATIC_CONST_VAL_STRING(featval_5,"l");
359 DEF_STATIC_CONST_VAL_STRING(featval_6,"3");
360 DEF_STATIC_CONST_VAL_STRING(featval_7,"1");
361 DEF_STATIC_CONST_VAL_STRING(featval_8,"d");
362 DEF_STATIC_CONST_VAL_STRING(featval_9,"a");
363 DEF_STATIC_CONST_VAL_STRING(featval_10,"f");
364 DEF_STATIC_CONST_VAL_STRING(featval_11,"v");
365 DEF_STATIC_CONST_VAL_STRING(featval_12,"n");
366 DEF_STATIC_CONST_VAL_STRING(featval_13,"p");
367 DEF_STATIC_CONST_VAL_STRING(featval_14,"r");
368 DEF_STATIC_CONST_VAL_STRING(featval_15,"g");
369 DEF_STATIC_CONST_VAL_STRING(featval_16,"b");
370
371 static const cst_val * const cmu_indic_featvals[] = {
372 (cst_val *)&featval_0,
373 (cst_val *)&featval_1,
374 (cst_val *)&featval_2,
375 (cst_val *)&featval_3,
376 (cst_val *)&featval_4,
377 (cst_val *)&featval_5,
378 (cst_val *)&featval_6,
379 (cst_val *)&featval_7,
380 (cst_val *)&featval_8,
381 (cst_val *)&featval_9,
382 (cst_val *)&featval_10,
383 (cst_val *)&featval_11,
384 (cst_val *)&featval_12,
385 (cst_val *)&featval_13,
386 (cst_val *)&featval_14,
387 (cst_val *)&featval_15,
388 (cst_val *)&featval_16,
389 NULL };
390
391 const cst_phoneset cmu_indic_phoneset = {
392 "cmu_indic",
393 cmu_indic_featnames,
394 cmu_indic_featvals,
395 cmu_indic_phonenames,
396 "pau",
397 107,
398 cmu_indic_fvtable,
399 0 /* not freeable */
400 };