| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- /*******************************************************/
- /** Autogenerated phoneset trees for cmu_indic */
- /*******************************************************/
- #include "cst_string.h"
- #include "cst_phoneset.h"
- extern const cst_phoneset cmu_indic_phoneset;
- static const char * const cmu_indic_featnames[] = {
- "clst",
- "vc",
- "vlng",
- "vheight",
- "vfront",
- "vrnd",
- "ctype",
- "cplace",
- "cvox",
- "asp",
- "nuk",
- NULL };
- static const char * const cmu_indic_phonenames[] = {
- "pau",
- "A",
- "A:",
- "i",
- "i:",
- "u",
- "u:",
- "9r=",
- "lr=",
- "E",
- "e",
- "e:",
- "aI",
- "o",
- "o:",
- "aU",
- "M",
- "h",
- "ay",
- "ow",
- "k",
- "kh",
- "g",
- "gh",
- "N",
- "c",
- "ch",
- "J",
- "Jh",
- "n~",
- "tr",
- "tR",
- "dr",
- "dR",
- "nr",
- "tB",
- "tBh",
- "dB",
- "dBh",
- "nB",
- "p",
- "ph",
- "b",
- "bh",
- "m",
- "j",
- "9r",
- "l",
- "lr",
- "v",
- "c}",
- "sr",
- "s",
- "hv",
- "q",
- "x",
- "G",
- "z",
- "rr",
- "rrh",
- "f",
- "Anas",
- "A:nas",
- "inas",
- "i:nas",
- "unas",
- "u:nas",
- "enas",
- "e:nas",
- "aInas",
- "onas",
- "o:nas",
- "aUnas",
- "aynas",
- "ownas",
- NULL };
- static const int cmu_indic_fv_000[] = { 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, -1 };
- static const int cmu_indic_fv_001[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_002[] = { 0, 2, 5, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_003[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_004[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_005[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_006[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_007[] = { 0, 2, 3, 7, 6, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_008[] = { 0, 2, 8, 4, 6, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_009[] = { 0, 2, 9, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_010[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_011[] = { 0, 2, 5, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_012[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_013[] = { 0, 2, 3, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_014[] = { 0, 2, 5, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_015[] = { 0, 2, 8, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_016[] = { 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_017[] = { 0, 0, 1, 1, 1, 1, 10, 11, 0, 2, 0, -1 };
- static const int cmu_indic_fv_018[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_019[] = { 0, 2, 5, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_020[] = { 0, 0, 1, 1, 1, 1, 3, 11, 0, 0, 0, -1 };
- static const int cmu_indic_fv_021[] = { 0, 0, 1, 1, 1, 1, 3, 11, 0, 2, 0, -1 };
- static const int cmu_indic_fv_022[] = { 0, 0, 1, 1, 1, 1, 3, 11, 2, 0, 0, -1 };
- static const int cmu_indic_fv_023[] = { 0, 0, 1, 1, 1, 1, 3, 11, 2, 2, 0, -1 };
- static const int cmu_indic_fv_024[] = { 0, 0, 1, 1, 1, 1, 12, 11, 2, 0, 0, -1 };
- static const int cmu_indic_fv_025[] = { 0, 0, 1, 1, 1, 1, 9, 13, 0, 0, 0, -1 };
- static const int cmu_indic_fv_026[] = { 0, 0, 1, 1, 1, 1, 9, 13, 0, 2, 0, -1 };
- static const int cmu_indic_fv_027[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 0, 0, -1 };
- static const int cmu_indic_fv_028[] = { 0, 0, 1, 1, 1, 1, 9, 13, 2, 2, 0, -1 };
- static const int cmu_indic_fv_029[] = { 0, 0, 1, 1, 1, 1, 12, 13, 2, 0, 0, -1 };
- static const int cmu_indic_fv_030[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 0, 0, -1 };
- static const int cmu_indic_fv_031[] = { 0, 0, 1, 1, 1, 1, 3, 9, 0, 2, 0, -1 };
- static const int cmu_indic_fv_032[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 0, -1 };
- static const int cmu_indic_fv_033[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 2, 0, -1 };
- static const int cmu_indic_fv_034[] = { 0, 0, 1, 1, 1, 1, 12, 9, 2, 0, 0, -1 };
- static const int cmu_indic_fv_035[] = { 0, 0, 1, 1, 1, 1, 3, 8, 0, 0, 0, -1 };
- static const int cmu_indic_fv_036[] = { 0, 0, 1, 1, 1, 1, 3, 8, 0, 2, 0, -1 };
- static const int cmu_indic_fv_037[] = { 0, 0, 1, 1, 1, 1, 3, 8, 2, 0, 0, -1 };
- static const int cmu_indic_fv_038[] = { 0, 0, 1, 1, 1, 1, 3, 8, 2, 2, 0, -1 };
- static const int cmu_indic_fv_039[] = { 0, 0, 1, 1, 1, 1, 12, 8, 2, 0, 0, -1 };
- static const int cmu_indic_fv_040[] = { 0, 0, 1, 1, 1, 1, 3, 5, 0, 0, 0, -1 };
- static const int cmu_indic_fv_041[] = { 0, 0, 1, 1, 1, 1, 3, 5, 0, 2, 0, -1 };
- static const int cmu_indic_fv_042[] = { 0, 0, 1, 1, 1, 1, 3, 5, 2, 0, 0, -1 };
- static const int cmu_indic_fv_043[] = { 0, 0, 1, 1, 1, 1, 3, 5, 2, 2, 0, -1 };
- static const int cmu_indic_fv_044[] = { 0, 0, 1, 1, 1, 1, 12, 5, 2, 0, 0, -1 };
- static const int cmu_indic_fv_045[] = { 0, 0, 1, 1, 1, 1, 14, 13, 2, 0, 0, -1 };
- static const int cmu_indic_fv_046[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
- static const int cmu_indic_fv_047[] = { 0, 0, 1, 1, 1, 1, 14, 8, 2, 0, 0, -1 };
- static const int cmu_indic_fv_048[] = { 0, 0, 1, 1, 1, 1, 14, 9, 2, 0, 0, -1 };
- static const int cmu_indic_fv_049[] = { 0, 0, 1, 1, 1, 1, 14, 5, 2, 0, 0, -1 };
- static const int cmu_indic_fv_050[] = { 0, 0, 1, 1, 1, 1, 10, 13, 0, 2, 0, -1 };
- static const int cmu_indic_fv_051[] = { 0, 0, 1, 1, 1, 1, 10, 9, 0, 2, 0, -1 };
- static const int cmu_indic_fv_052[] = { 0, 0, 1, 1, 1, 1, 10, 8, 0, 2, 0, -1 };
- static const int cmu_indic_fv_053[] = { 0, 0, 1, 1, 1, 1, 10, 11, 2, 2, 0, -1 };
- static const int cmu_indic_fv_054[] = { 0, 0, 1, 1, 1, 1, 3, 15, 0, 0, 2, -1 };
- static const int cmu_indic_fv_055[] = { 0, 0, 1, 1, 1, 1, 3, 15, 0, 2, 2, -1 };
- static const int cmu_indic_fv_056[] = { 0, 0, 1, 1, 1, 1, 3, 15, 2, 0, 2, -1 };
- static const int cmu_indic_fv_057[] = { 0, 0, 1, 1, 1, 1, 10, 8, 2, 0, 2, -1 };
- static const int cmu_indic_fv_058[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 0, 2, -1 };
- static const int cmu_indic_fv_059[] = { 0, 0, 1, 1, 1, 1, 3, 9, 2, 2, 2, -1 };
- static const int cmu_indic_fv_060[] = { 0, 0, 1, 1, 1, 1, 10, 16, 0, 0, 2, -1 };
- static const int cmu_indic_fv_061[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_062[] = { 0, 2, 5, 6, 4, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_063[] = { 0, 2, 3, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_064[] = { 0, 2, 5, 7, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_065[] = { 0, 2, 3, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_066[] = { 0, 2, 5, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_067[] = { 0, 2, 3, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_068[] = { 0, 2, 5, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_069[] = { 0, 2, 8, 4, 7, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_070[] = { 0, 2, 3, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_071[] = { 0, 2, 5, 4, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_072[] = { 0, 2, 8, 7, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_073[] = { 0, 2, 3, 4, 4, 0, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_074[] = { 0, 2, 3, 6, 6, 2, 1, 1, 1, 0, 1, -1 };
- static const int cmu_indic_fv_075[] = { 0 };
- static const int * const cmu_indic_fvtable[] = {
- cmu_indic_fv_000,
- cmu_indic_fv_001,
- cmu_indic_fv_002,
- cmu_indic_fv_003,
- cmu_indic_fv_004,
- cmu_indic_fv_005,
- cmu_indic_fv_006,
- cmu_indic_fv_007,
- cmu_indic_fv_008,
- cmu_indic_fv_009,
- cmu_indic_fv_010,
- cmu_indic_fv_011,
- cmu_indic_fv_012,
- cmu_indic_fv_013,
- cmu_indic_fv_014,
- cmu_indic_fv_015,
- cmu_indic_fv_016,
- cmu_indic_fv_017,
- cmu_indic_fv_018,
- cmu_indic_fv_019,
- cmu_indic_fv_020,
- cmu_indic_fv_021,
- cmu_indic_fv_022,
- cmu_indic_fv_023,
- cmu_indic_fv_024,
- cmu_indic_fv_025,
- cmu_indic_fv_026,
- cmu_indic_fv_027,
- cmu_indic_fv_028,
- cmu_indic_fv_029,
- cmu_indic_fv_030,
- cmu_indic_fv_031,
- cmu_indic_fv_032,
- cmu_indic_fv_033,
- cmu_indic_fv_034,
- cmu_indic_fv_035,
- cmu_indic_fv_036,
- cmu_indic_fv_037,
- cmu_indic_fv_038,
- cmu_indic_fv_039,
- cmu_indic_fv_040,
- cmu_indic_fv_041,
- cmu_indic_fv_042,
- cmu_indic_fv_043,
- cmu_indic_fv_044,
- cmu_indic_fv_045,
- cmu_indic_fv_046,
- cmu_indic_fv_047,
- cmu_indic_fv_048,
- cmu_indic_fv_049,
- cmu_indic_fv_050,
- cmu_indic_fv_051,
- cmu_indic_fv_052,
- cmu_indic_fv_053,
- cmu_indic_fv_054,
- cmu_indic_fv_055,
- cmu_indic_fv_056,
- cmu_indic_fv_057,
- cmu_indic_fv_058,
- cmu_indic_fv_059,
- cmu_indic_fv_060,
- cmu_indic_fv_061,
- cmu_indic_fv_062,
- cmu_indic_fv_063,
- cmu_indic_fv_064,
- cmu_indic_fv_065,
- cmu_indic_fv_066,
- cmu_indic_fv_067,
- cmu_indic_fv_068,
- cmu_indic_fv_069,
- cmu_indic_fv_070,
- cmu_indic_fv_071,
- cmu_indic_fv_072,
- cmu_indic_fv_073,
- cmu_indic_fv_074,
- cmu_indic_fv_075 };
- DEF_STATIC_CONST_VAL_STRING(featval_0,"-");
- DEF_STATIC_CONST_VAL_STRING(featval_1,"0");
- DEF_STATIC_CONST_VAL_STRING(featval_2,"+");
- DEF_STATIC_CONST_VAL_STRING(featval_3,"s");
- DEF_STATIC_CONST_VAL_STRING(featval_4,"2");
- DEF_STATIC_CONST_VAL_STRING(featval_5,"l");
- DEF_STATIC_CONST_VAL_STRING(featval_6,"3");
- DEF_STATIC_CONST_VAL_STRING(featval_7,"1");
- DEF_STATIC_CONST_VAL_STRING(featval_8,"d");
- DEF_STATIC_CONST_VAL_STRING(featval_9,"a");
- DEF_STATIC_CONST_VAL_STRING(featval_10,"f");
- DEF_STATIC_CONST_VAL_STRING(featval_11,"v");
- DEF_STATIC_CONST_VAL_STRING(featval_12,"n");
- DEF_STATIC_CONST_VAL_STRING(featval_13,"p");
- DEF_STATIC_CONST_VAL_STRING(featval_14,"r");
- DEF_STATIC_CONST_VAL_STRING(featval_15,"g");
- DEF_STATIC_CONST_VAL_STRING(featval_16,"b");
- static const cst_val * const cmu_indic_featvals[] = {
- (cst_val *)&featval_0,
- (cst_val *)&featval_1,
- (cst_val *)&featval_2,
- (cst_val *)&featval_3,
- (cst_val *)&featval_4,
- (cst_val *)&featval_5,
- (cst_val *)&featval_6,
- (cst_val *)&featval_7,
- (cst_val *)&featval_8,
- (cst_val *)&featval_9,
- (cst_val *)&featval_10,
- (cst_val *)&featval_11,
- (cst_val *)&featval_12,
- (cst_val *)&featval_13,
- (cst_val *)&featval_14,
- (cst_val *)&featval_15,
- (cst_val *)&featval_16,
- NULL };
- const cst_phoneset cmu_indic_phoneset = {
- "cmu_indic",
- cmu_indic_featnames,
- cmu_indic_featvals,
- cmu_indic_phonenames,
- "pau",
- 75,
- cmu_indic_fvtable,
- 0 /* not freeable */
- };
|