cmu_indic_phoneset.c 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. /*******************************************************/
  2. /** Autogenerated phoneset trees for cmu_indic */
  3. /*******************************************************/
  4. #include "cst_string.h"
  5. #include "cst_phoneset.h"
  6. extern const cst_phoneset cmu_indic_phoneset;
  7. static const char * const cmu_indic_featnames[] = {
  8. "clst",
  9. "vc",
  10. "vlng",
  11. "vheight",
  12. "vfront",
  13. "vrnd",
  14. "ctype",
  15. "cplace",
  16. "cvox",
  17. "asp",
  18. "nuk",
  19. NULL };
  20. static const char * const cmu_indic_phonenames[] = {
  21. "pau",
  22. "A",
  23. "A:",
  24. "i",
  25. "i:",
  26. "u",
  27. "u:",
  28. "9r=",
  29. "lr=",
  30. "E",
  31. "e",
  32. "e:",
  33. "aI",
  34. "o",
  35. "o:",
  36. "aU",
  37. "M",
  38. "h",
  39. "ay",
  40. "ow",
  41. "k",
  42. "kh",
  43. "g",
  44. "gh",
  45. "N",
  46. "c",
  47. "ch",
  48. "J",
  49. "Jh",
  50. "n~",
  51. "tr",
  52. "tR",
  53. "dr",
  54. "dR",
  55. "nr",
  56. "tB",
  57. "tBh",
  58. "dB",
  59. "dBh",
  60. "nB",
  61. "p",
  62. "ph",
  63. "b",
  64. "bh",
  65. "m",
  66. "j",
  67. "9r",
  68. "l",
  69. "lr",
  70. "v",
  71. "c}",
  72. "sr",
  73. "s",
  74. "hv",
  75. "q",
  76. "x",
  77. "G",
  78. "z",
  79. "rr",
  80. "rrh",
  81. "f",
  82. "Anas",
  83. "A:nas",
  84. "inas",
  85. "i:nas",
  86. "unas",
  87. "u:nas",
  88. "enas",
  89. "e:nas",
  90. "aInas",
  91. "onas",
  92. "o:nas",
  93. "aUnas",
  94. "aynas",
  95. "ownas",
  96. NULL };
  97. static const int cmu_indic_fv_000[] = { 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, -1 };
  98. static const int cmu_indic_fv_001[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
  99. static const int cmu_indic_fv_002[] = { 0, 2, 5, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
  100. static const int cmu_indic_fv_003[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
  101. static const int cmu_indic_fv_004[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
  102. static const int cmu_indic_fv_005[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
  103. static const int cmu_indic_fv_006[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
  104. static const int cmu_indic_fv_007[] = { 0, 2, 3, 7, 6, 0, 1, 1, 1, 0, 1, -1 };
  105. static const int cmu_indic_fv_008[] = { 0, 2, 8, 4, 6, 0, 1, 1, 1, 0, 1, -1 };
  106. static const int cmu_indic_fv_009[] = { 0, 2, 9, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  107. static const int cmu_indic_fv_010[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  108. static const int cmu_indic_fv_011[] = { 0, 2, 5, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  109. static const int cmu_indic_fv_012[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  110. static const int cmu_indic_fv_013[] = { 0, 2, 3, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
  111. static const int cmu_indic_fv_014[] = { 0, 2, 5, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
  112. static const int cmu_indic_fv_015[] = { 0, 2, 8, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
  113. static const int cmu_indic_fv_016[] = { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, -1 };
  114. static const int cmu_indic_fv_017[] = { 0, 0, 1, 1, 1, 1, 10, 11, 0, 2, 0, -1 };
  115. static const int cmu_indic_fv_018[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
  116. static const int cmu_indic_fv_019[] = { 0, 2, 5, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
  117. static const int cmu_indic_fv_020[] = { 0, 0, 1, 1, 1, 1, 3, 11, 0, 0, 0, -1 };
  118. static const int cmu_indic_fv_021[] = { 0, 0, 1, 1, 1, 1, 3, 11, 0, 2, 0, -1 };
  119. static const int cmu_indic_fv_022[] = { 0, 0, 1, 1, 1, 1, 3, 11, 2, 0, 0, -1 };
  120. static const int cmu_indic_fv_023[] = { 0, 0, 1, 1, 1, 1, 3, 11, 2, 2, 0, -1 };
  121. static const int cmu_indic_fv_024[] = { 0, 0, 1, 1, 1, 1, 12, 11, 2, 0, 0, -1 };
  122. static const int cmu_indic_fv_025[] = { 0, 0, 1, 1, 1, 1, 9, 13, 0, 0, 0, -1 };
  123. static const int cmu_indic_fv_026[] = { 0, 0, 1, 1, 1, 1, 9, 13, 0, 2, 0, -1 };
  124. static const int cmu_indic_fv_027[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 0, 0, -1 };
  125. static const int cmu_indic_fv_028[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 2, 0, -1 };
  126. static const int cmu_indic_fv_029[] = { 0, 0, 1, 1, 1, 1, 12, 13, 2, 0, 0, -1 };
  127. static const int cmu_indic_fv_030[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 0, 0, -1 };
  128. static const int cmu_indic_fv_031[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 2, 0, -1 };
  129. static const int cmu_indic_fv_032[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 0, -1 };
  130. static const int cmu_indic_fv_033[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 2, 0, -1 };
  131. static const int cmu_indic_fv_034[] = { 0, 0, 1, 1, 1, 1, 12, 9, 2, 0, 0, -1 };
  132. static const int cmu_indic_fv_035[] = { 0, 0, 1, 1, 1, 1, 3, 8, 0, 0, 0, -1 };
  133. static const int cmu_indic_fv_036[] = { 0, 0, 1, 1, 1, 1, 3, 8, 0, 2, 0, -1 };
  134. static const int cmu_indic_fv_037[] = { 0, 0, 1, 1, 1, 1, 3, 8, 2, 0, 0, -1 };
  135. static const int cmu_indic_fv_038[] = { 0, 0, 1, 1, 1, 1, 3, 8, 2, 2, 0, -1 };
  136. static const int cmu_indic_fv_039[] = { 0, 0, 1, 1, 1, 1, 12, 8, 2, 0, 0, -1 };
  137. static const int cmu_indic_fv_040[] = { 0, 0, 1, 1, 1, 1, 3, 5, 0, 0, 0, -1 };
  138. static const int cmu_indic_fv_041[] = { 0, 0, 1, 1, 1, 1, 3, 5, 0, 2, 0, -1 };
  139. static const int cmu_indic_fv_042[] = { 0, 0, 1, 1, 1, 1, 3, 5, 2, 0, 0, -1 };
  140. static const int cmu_indic_fv_043[] = { 0, 0, 1, 1, 1, 1, 3, 5, 2, 2, 0, -1 };
  141. static const int cmu_indic_fv_044[] = { 0, 0, 1, 1, 1, 1, 12, 5, 2, 0, 0, -1 };
  142. static const int cmu_indic_fv_045[] = { 0, 0, 1, 1, 1, 1, 14, 13, 2, 0, 0, -1 };
  143. static const int cmu_indic_fv_046[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
  144. static const int cmu_indic_fv_047[] = { 0, 0, 1, 1, 1, 1, 14, 8, 2, 0, 0, -1 };
  145. static const int cmu_indic_fv_048[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
  146. static const int cmu_indic_fv_049[] = { 0, 0, 1, 1, 1, 1, 14, 5, 2, 0, 0, -1 };
  147. static const int cmu_indic_fv_050[] = { 0, 0, 1, 1, 1, 1, 10, 13, 0, 2, 0, -1 };
  148. static const int cmu_indic_fv_051[] = { 0, 0, 1, 1, 1, 1, 10, 9, 0, 2, 0, -1 };
  149. static const int cmu_indic_fv_052[] = { 0, 0, 1, 1, 1, 1, 10, 8, 0, 2, 0, -1 };
  150. static const int cmu_indic_fv_053[] = { 0, 0, 1, 1, 1, 1, 10, 11, 2, 2, 0, -1 };
  151. static const int cmu_indic_fv_054[] = { 0, 0, 1, 1, 1, 1, 3, 15, 0, 0, 2, -1 };
  152. static const int cmu_indic_fv_055[] = { 0, 0, 1, 1, 1, 1, 3, 15, 0, 2, 2, -1 };
  153. static const int cmu_indic_fv_056[] = { 0, 0, 1, 1, 1, 1, 3, 15, 2, 0, 2, -1 };
  154. static const int cmu_indic_fv_057[] = { 0, 0, 1, 1, 1, 1, 10, 8, 2, 0, 2, -1 };
  155. static const int cmu_indic_fv_058[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 2, -1 };
  156. static const int cmu_indic_fv_059[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 2, 2, -1 };
  157. static const int cmu_indic_fv_060[] = { 0, 0, 1, 1, 1, 1, 10, 16, 0, 0, 2, -1 };
  158. static const int cmu_indic_fv_061[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
  159. static const int cmu_indic_fv_062[] = { 0, 2, 5, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
  160. static const int cmu_indic_fv_063[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
  161. static const int cmu_indic_fv_064[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
  162. static const int cmu_indic_fv_065[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
  163. static const int cmu_indic_fv_066[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
  164. static const int cmu_indic_fv_067[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  165. static const int cmu_indic_fv_068[] = { 0, 2, 5, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  166. static const int cmu_indic_fv_069[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
  167. static const int cmu_indic_fv_070[] = { 0, 2, 3, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
  168. static const int cmu_indic_fv_071[] = { 0, 2, 5, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
  169. static const int cmu_indic_fv_072[] = { 0, 2, 8, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
  170. static const int cmu_indic_fv_073[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
  171. static const int cmu_indic_fv_074[] = { 0, 2, 3, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
  172. static const int cmu_indic_fv_075[] = { 0 };
  173. static const int * const cmu_indic_fvtable[] = {
  174. cmu_indic_fv_000,
  175. cmu_indic_fv_001,
  176. cmu_indic_fv_002,
  177. cmu_indic_fv_003,
  178. cmu_indic_fv_004,
  179. cmu_indic_fv_005,
  180. cmu_indic_fv_006,
  181. cmu_indic_fv_007,
  182. cmu_indic_fv_008,
  183. cmu_indic_fv_009,
  184. cmu_indic_fv_010,
  185. cmu_indic_fv_011,
  186. cmu_indic_fv_012,
  187. cmu_indic_fv_013,
  188. cmu_indic_fv_014,
  189. cmu_indic_fv_015,
  190. cmu_indic_fv_016,
  191. cmu_indic_fv_017,
  192. cmu_indic_fv_018,
  193. cmu_indic_fv_019,
  194. cmu_indic_fv_020,
  195. cmu_indic_fv_021,
  196. cmu_indic_fv_022,
  197. cmu_indic_fv_023,
  198. cmu_indic_fv_024,
  199. cmu_indic_fv_025,
  200. cmu_indic_fv_026,
  201. cmu_indic_fv_027,
  202. cmu_indic_fv_028,
  203. cmu_indic_fv_029,
  204. cmu_indic_fv_030,
  205. cmu_indic_fv_031,
  206. cmu_indic_fv_032,
  207. cmu_indic_fv_033,
  208. cmu_indic_fv_034,
  209. cmu_indic_fv_035,
  210. cmu_indic_fv_036,
  211. cmu_indic_fv_037,
  212. cmu_indic_fv_038,
  213. cmu_indic_fv_039,
  214. cmu_indic_fv_040,
  215. cmu_indic_fv_041,
  216. cmu_indic_fv_042,
  217. cmu_indic_fv_043,
  218. cmu_indic_fv_044,
  219. cmu_indic_fv_045,
  220. cmu_indic_fv_046,
  221. cmu_indic_fv_047,
  222. cmu_indic_fv_048,
  223. cmu_indic_fv_049,
  224. cmu_indic_fv_050,
  225. cmu_indic_fv_051,
  226. cmu_indic_fv_052,
  227. cmu_indic_fv_053,
  228. cmu_indic_fv_054,
  229. cmu_indic_fv_055,
  230. cmu_indic_fv_056,
  231. cmu_indic_fv_057,
  232. cmu_indic_fv_058,
  233. cmu_indic_fv_059,
  234. cmu_indic_fv_060,
  235. cmu_indic_fv_061,
  236. cmu_indic_fv_062,
  237. cmu_indic_fv_063,
  238. cmu_indic_fv_064,
  239. cmu_indic_fv_065,
  240. cmu_indic_fv_066,
  241. cmu_indic_fv_067,
  242. cmu_indic_fv_068,
  243. cmu_indic_fv_069,
  244. cmu_indic_fv_070,
  245. cmu_indic_fv_071,
  246. cmu_indic_fv_072,
  247. cmu_indic_fv_073,
  248. cmu_indic_fv_074,
  249. cmu_indic_fv_075 };
  250. DEF_STATIC_CONST_VAL_STRING(featval_0,"-");
  251. DEF_STATIC_CONST_VAL_STRING(featval_1,"0");
  252. DEF_STATIC_CONST_VAL_STRING(featval_2,"+");
  253. DEF_STATIC_CONST_VAL_STRING(featval_3,"s");
  254. DEF_STATIC_CONST_VAL_STRING(featval_4,"2");
  255. DEF_STATIC_CONST_VAL_STRING(featval_5,"l");
  256. DEF_STATIC_CONST_VAL_STRING(featval_6,"3");
  257. DEF_STATIC_CONST_VAL_STRING(featval_7,"1");
  258. DEF_STATIC_CONST_VAL_STRING(featval_8,"d");
  259. DEF_STATIC_CONST_VAL_STRING(featval_9,"a");
  260. DEF_STATIC_CONST_VAL_STRING(featval_10,"f");
  261. DEF_STATIC_CONST_VAL_STRING(featval_11,"v");
  262. DEF_STATIC_CONST_VAL_STRING(featval_12,"n");
  263. DEF_STATIC_CONST_VAL_STRING(featval_13,"p");
  264. DEF_STATIC_CONST_VAL_STRING(featval_14,"r");
  265. DEF_STATIC_CONST_VAL_STRING(featval_15,"g");
  266. DEF_STATIC_CONST_VAL_STRING(featval_16,"b");
  267. static const cst_val * const cmu_indic_featvals[] = {
  268. (cst_val *)&featval_0,
  269. (cst_val *)&featval_1,
  270. (cst_val *)&featval_2,
  271. (cst_val *)&featval_3,
  272. (cst_val *)&featval_4,
  273. (cst_val *)&featval_5,
  274. (cst_val *)&featval_6,
  275. (cst_val *)&featval_7,
  276. (cst_val *)&featval_8,
  277. (cst_val *)&featval_9,
  278. (cst_val *)&featval_10,
  279. (cst_val *)&featval_11,
  280. (cst_val *)&featval_12,
  281. (cst_val *)&featval_13,
  282. (cst_val *)&featval_14,
  283. (cst_val *)&featval_15,
  284. (cst_val *)&featval_16,
  285. NULL };
  286. const cst_phoneset cmu_indic_phoneset = {
  287. "cmu_indic",
  288. cmu_indic_featnames,
  289. cmu_indic_featvals,
  290. cmu_indic_phonenames,
  291. "pau",
  292. 75,
  293. cmu_indic_fvtable,
  294. 0 /* not freeable */
  295. };