| 1 |
/*******************************************************/ |
| 2 |
/** Autogenerated lts rules (regex) for cmu */ |
| 3 |
/** from wfst/ */ |
| 4 |
/*******************************************************/ |
| 5 |
|
| 6 |
#include "cst_string.h" |
| 7 |
#include "cst_lts.h" |
| 8 |
#include "cst_lexicon.h" |
| 9 |
|
| 10 |
const char * const cmu_lts_phone_table[76] = |
| 11 |
{ |
| 12 |
"epsilon", |
| 13 |
"eh1", |
| 14 |
"aa1", |
| 15 |
"ey1", |
| 16 |
"aw1", |
| 17 |
"ax0", |
| 18 |
"ao1", |
| 19 |
"ay0", |
| 20 |
"aa0", |
| 21 |
"ey0", |
| 22 |
"ae1", |
| 23 |
"ih1", |
| 24 |
"aw0", |
| 25 |
"ow0", |
| 26 |
"ao0", |
| 27 |
"ow1", |
| 28 |
"eh0", |
| 29 |
"ih0", |
| 30 |
"w-ey1", |
| 31 |
"w-ax0", |
| 32 |
"y-ax0", |
| 33 |
"ae0", |
| 34 |
"ay1", |
| 35 |
"ah0", |
| 36 |
"ah1", |
| 37 |
"b", |
| 38 |
"ch", |
| 39 |
"k", |
| 40 |
"s", |
| 41 |
"t-s", |
| 42 |
"sh", |
| 43 |
"d", |
| 44 |
"t", |
| 45 |
"jh", |
| 46 |
"iy1", |
| 47 |
"iy0", |
| 48 |
"uw1", |
| 49 |
"y-uw1", |
| 50 |
"oy1", |
| 51 |
"y-uw0", |
| 52 |
"uw0", |
| 53 |
"oy0", |
| 54 |
"f", |
| 55 |
"g", |
| 56 |
"zh", |
| 57 |
"hh", |
| 58 |
"y", |
| 59 |
"l", |
| 60 |
"ax0-l", |
| 61 |
"m", |
| 62 |
"ax0-m", |
| 63 |
"m-ae1", |
| 64 |
"m-ax0", |
| 65 |
"ng", |
| 66 |
"n", |
| 67 |
"n-y", |
| 68 |
"uh1", |
| 69 |
"uh0", |
| 70 |
"w", |
| 71 |
"w-ah1", |
| 72 |
"er1", |
| 73 |
"p", |
| 74 |
"r", |
| 75 |
"er0", |
| 76 |
"z", |
| 77 |
"th", |
| 78 |
"dh", |
| 79 |
"y-er0", |
| 80 |
"y-uh1", |
| 81 |
"y-er1", |
| 82 |
"v", |
| 83 |
"k-s", |
| 84 |
"g-zh", |
| 85 |
"k-sh", |
| 86 |
"g-z", |
| 87 |
NULL |
| 88 |
}; |
| 89 |
|
| 90 |
const char * const cmu_lts_letter_table[30] = |
| 91 |
{ |
| 92 |
"nothing", |
| 93 |
"#", |
| 94 |
"0", |
| 95 |
"a", |
| 96 |
"b", |
| 97 |
"c", |
| 98 |
"d", |
| 99 |
"e", |
| 100 |
"f", |
| 101 |
"g", |
| 102 |
"h", |
| 103 |
"i", |
| 104 |
"j", |
| 105 |
"k", |
| 106 |
"l", |
| 107 |
"m", |
| 108 |
"n", |
| 109 |
"o", |
| 110 |
"p", |
| 111 |
"q", |
| 112 |
"r", |
| 113 |
"s", |
| 114 |
"t", |
| 115 |
"u", |
| 116 |
"v", |
| 117 |
"w", |
| 118 |
"x", |
| 119 |
"y", |
| 120 |
"z", |
| 121 |
NULL |
| 122 |
}; |
| 123 |
|
| 124 |
const cst_lts_addr cmu_lts_letter_index[27] = |
| 125 |
{ |
| 126 |
0, /* a */ |
| 127 |
5371, /* b */ |
| 128 |
5414, /* c */ |
| 129 |
6048, /* d */ |
| 130 |
6256, /* e */ |
| 131 |
10649, /* f */ |
| 132 |
10666, /* g */ |
| 133 |
11293, /* h */ |
| 134 |
11522, /* i */ |
| 135 |
15403, /* j */ |
| 136 |
15514, /* k */ |
| 137 |
15533, /* l */ |
| 138 |
15900, /* m */ |
| 139 |
15942, /* n */ |
| 140 |
16176, /* o */ |
| 141 |
19793, /* p */ |
| 142 |
19830, /* q */ |
| 143 |
19831, /* r */ |
| 144 |
21775, /* s */ |
| 145 |
22667, /* t */ |
| 146 |
22957, /* u */ |
| 147 |
24709, /* v */ |
| 148 |
24719, /* w */ |
| 149 |
24877, /* x */ |
| 150 |
24923, /* y */ |
| 151 |
25377, /* z */ |
| 152 |
0 |
| 153 |
}; |
| 154 |
|