00001
00002
00003 #include <limits.h>
00004 #include "romanian.h"
00005
00006 static const symbol s_0_1[1] = { 'I' };
00007 static const symbol s_0_2[1] = { 'U' };
00008
00009 static const struct among a_0[3] =
00010 {
00011 { 0, 0, -1, 3},
00012 { 1, s_0_1, 0, 1},
00013 { 1, s_0_2, 0, 2}
00014 };
00015
00016 static const symbol s_1_0[2] = { 'e', 'a' };
00017 static const symbol s_1_1[5] = { 'a', 0xC5, 0xA3, 'i', 'a' };
00018 static const symbol s_1_2[3] = { 'a', 'u', 'a' };
00019 static const symbol s_1_3[3] = { 'i', 'u', 'a' };
00020 static const symbol s_1_4[5] = { 'a', 0xC5, 0xA3, 'i', 'e' };
00021 static const symbol s_1_5[3] = { 'e', 'l', 'e' };
00022 static const symbol s_1_6[3] = { 'i', 'l', 'e' };
00023 static const symbol s_1_7[4] = { 'i', 'i', 'l', 'e' };
00024 static const symbol s_1_8[3] = { 'i', 'e', 'i' };
00025 static const symbol s_1_9[4] = { 'a', 't', 'e', 'i' };
00026 static const symbol s_1_10[2] = { 'i', 'i' };
00027 static const symbol s_1_11[4] = { 'u', 'l', 'u', 'i' };
00028 static const symbol s_1_12[2] = { 'u', 'l' };
00029 static const symbol s_1_13[4] = { 'e', 'l', 'o', 'r' };
00030 static const symbol s_1_14[4] = { 'i', 'l', 'o', 'r' };
00031 static const symbol s_1_15[5] = { 'i', 'i', 'l', 'o', 'r' };
00032
00033 static const struct among a_1[16] =
00034 {
00035 { 2, s_1_0, -1, 3},
00036 { 5, s_1_1, -1, 7},
00037 { 3, s_1_2, -1, 2},
00038 { 3, s_1_3, -1, 4},
00039 { 5, s_1_4, -1, 7},
00040 { 3, s_1_5, -1, 3},
00041 { 3, s_1_6, -1, 5},
00042 { 4, s_1_7, 6, 4},
00043 { 3, s_1_8, -1, 4},
00044 { 4, s_1_9, -1, 6},
00045 { 2, s_1_10, -1, 4},
00046 { 4, s_1_11, -1, 1},
00047 { 2, s_1_12, -1, 1},
00048 { 4, s_1_13, -1, 3},
00049 { 4, s_1_14, -1, 4},
00050 { 5, s_1_15, 14, 4}
00051 };
00052
00053 static const symbol s_2_0[5] = { 'i', 'c', 'a', 'l', 'a' };
00054 static const symbol s_2_1[5] = { 'i', 'c', 'i', 'v', 'a' };
00055 static const symbol s_2_2[5] = { 'a', 't', 'i', 'v', 'a' };
00056 static const symbol s_2_3[5] = { 'i', 't', 'i', 'v', 'a' };
00057 static const symbol s_2_4[5] = { 'i', 'c', 'a', 'l', 'e' };
00058 static const symbol s_2_5[7] = { 'a', 0xC5, 0xA3, 'i', 'u', 'n', 'e' };
00059 static const symbol s_2_6[7] = { 'i', 0xC5, 0xA3, 'i', 'u', 'n', 'e' };
00060 static const symbol s_2_7[6] = { 'a', 't', 'o', 'a', 'r', 'e' };
00061 static const symbol s_2_8[6] = { 'i', 't', 'o', 'a', 'r', 'e' };
00062 static const symbol s_2_9[7] = { 0xC4, 0x83, 't', 'o', 'a', 'r', 'e' };
00063 static const symbol s_2_10[7] = { 'i', 'c', 'i', 't', 'a', 't', 'e' };
00064 static const symbol s_2_11[9] = { 'a', 'b', 'i', 'l', 'i', 't', 'a', 't', 'e' };
00065 static const symbol s_2_12[9] = { 'i', 'b', 'i', 'l', 'i', 't', 'a', 't', 'e' };
00066 static const symbol s_2_13[7] = { 'i', 'v', 'i', 't', 'a', 't', 'e' };
00067 static const symbol s_2_14[5] = { 'i', 'c', 'i', 'v', 'e' };
00068 static const symbol s_2_15[5] = { 'a', 't', 'i', 'v', 'e' };
00069 static const symbol s_2_16[5] = { 'i', 't', 'i', 'v', 'e' };
00070 static const symbol s_2_17[5] = { 'i', 'c', 'a', 'l', 'i' };
00071 static const symbol s_2_18[5] = { 'a', 't', 'o', 'r', 'i' };
00072 static const symbol s_2_19[7] = { 'i', 'c', 'a', 't', 'o', 'r', 'i' };
00073 static const symbol s_2_20[5] = { 'i', 't', 'o', 'r', 'i' };
00074 static const symbol s_2_21[6] = { 0xC4, 0x83, 't', 'o', 'r', 'i' };
00075 static const symbol s_2_22[7] = { 'i', 'c', 'i', 't', 'a', 't', 'i' };
00076 static const symbol s_2_23[9] = { 'a', 'b', 'i', 'l', 'i', 't', 'a', 't', 'i' };
00077 static const symbol s_2_24[7] = { 'i', 'v', 'i', 't', 'a', 't', 'i' };
00078 static const symbol s_2_25[5] = { 'i', 'c', 'i', 'v', 'i' };
00079 static const symbol s_2_26[5] = { 'a', 't', 'i', 'v', 'i' };
00080 static const symbol s_2_27[5] = { 'i', 't', 'i', 'v', 'i' };
00081 static const symbol s_2_28[7] = { 'i', 'c', 'i', 't', 0xC4, 0x83, 'i' };
00082 static const symbol s_2_29[9] = { 'a', 'b', 'i', 'l', 'i', 't', 0xC4, 0x83, 'i' };
00083 static const symbol s_2_30[7] = { 'i', 'v', 'i', 't', 0xC4, 0x83, 'i' };
00084 static const symbol s_2_31[9] = { 'i', 'c', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00085 static const symbol s_2_32[11] = { 'a', 'b', 'i', 'l', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00086 static const symbol s_2_33[9] = { 'i', 'v', 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00087 static const symbol s_2_34[4] = { 'i', 'c', 'a', 'l' };
00088 static const symbol s_2_35[4] = { 'a', 't', 'o', 'r' };
00089 static const symbol s_2_36[6] = { 'i', 'c', 'a', 't', 'o', 'r' };
00090 static const symbol s_2_37[4] = { 'i', 't', 'o', 'r' };
00091 static const symbol s_2_38[5] = { 0xC4, 0x83, 't', 'o', 'r' };
00092 static const symbol s_2_39[4] = { 'i', 'c', 'i', 'v' };
00093 static const symbol s_2_40[4] = { 'a', 't', 'i', 'v' };
00094 static const symbol s_2_41[4] = { 'i', 't', 'i', 'v' };
00095 static const symbol s_2_42[6] = { 'i', 'c', 'a', 'l', 0xC4, 0x83 };
00096 static const symbol s_2_43[6] = { 'i', 'c', 'i', 'v', 0xC4, 0x83 };
00097 static const symbol s_2_44[6] = { 'a', 't', 'i', 'v', 0xC4, 0x83 };
00098 static const symbol s_2_45[6] = { 'i', 't', 'i', 'v', 0xC4, 0x83 };
00099
00100 static const struct among a_2[46] =
00101 {
00102 { 5, s_2_0, -1, 4},
00103 { 5, s_2_1, -1, 4},
00104 { 5, s_2_2, -1, 5},
00105 { 5, s_2_3, -1, 6},
00106 { 5, s_2_4, -1, 4},
00107 { 7, s_2_5, -1, 5},
00108 { 7, s_2_6, -1, 6},
00109 { 6, s_2_7, -1, 5},
00110 { 6, s_2_8, -1, 6},
00111 { 7, s_2_9, -1, 5},
00112 { 7, s_2_10, -1, 4},
00113 { 9, s_2_11, -1, 1},
00114 { 9, s_2_12, -1, 2},
00115 { 7, s_2_13, -1, 3},
00116 { 5, s_2_14, -1, 4},
00117 { 5, s_2_15, -1, 5},
00118 { 5, s_2_16, -1, 6},
00119 { 5, s_2_17, -1, 4},
00120 { 5, s_2_18, -1, 5},
00121 { 7, s_2_19, 18, 4},
00122 { 5, s_2_20, -1, 6},
00123 { 6, s_2_21, -1, 5},
00124 { 7, s_2_22, -1, 4},
00125 { 9, s_2_23, -1, 1},
00126 { 7, s_2_24, -1, 3},
00127 { 5, s_2_25, -1, 4},
00128 { 5, s_2_26, -1, 5},
00129 { 5, s_2_27, -1, 6},
00130 { 7, s_2_28, -1, 4},
00131 { 9, s_2_29, -1, 1},
00132 { 7, s_2_30, -1, 3},
00133 { 9, s_2_31, -1, 4},
00134 { 11, s_2_32, -1, 1},
00135 { 9, s_2_33, -1, 3},
00136 { 4, s_2_34, -1, 4},
00137 { 4, s_2_35, -1, 5},
00138 { 6, s_2_36, 35, 4},
00139 { 4, s_2_37, -1, 6},
00140 { 5, s_2_38, -1, 5},
00141 { 4, s_2_39, -1, 4},
00142 { 4, s_2_40, -1, 5},
00143 { 4, s_2_41, -1, 6},
00144 { 6, s_2_42, -1, 4},
00145 { 6, s_2_43, -1, 4},
00146 { 6, s_2_44, -1, 5},
00147 { 6, s_2_45, -1, 6}
00148 };
00149
00150 static const symbol s_3_0[3] = { 'i', 'c', 'a' };
00151 static const symbol s_3_1[5] = { 'a', 'b', 'i', 'l', 'a' };
00152 static const symbol s_3_2[5] = { 'i', 'b', 'i', 'l', 'a' };
00153 static const symbol s_3_3[4] = { 'o', 'a', 's', 'a' };
00154 static const symbol s_3_4[3] = { 'a', 't', 'a' };
00155 static const symbol s_3_5[3] = { 'i', 't', 'a' };
00156 static const symbol s_3_6[4] = { 'a', 'n', 't', 'a' };
00157 static const symbol s_3_7[4] = { 'i', 's', 't', 'a' };
00158 static const symbol s_3_8[3] = { 'u', 't', 'a' };
00159 static const symbol s_3_9[3] = { 'i', 'v', 'a' };
00160 static const symbol s_3_10[2] = { 'i', 'c' };
00161 static const symbol s_3_11[3] = { 'i', 'c', 'e' };
00162 static const symbol s_3_12[5] = { 'a', 'b', 'i', 'l', 'e' };
00163 static const symbol s_3_13[5] = { 'i', 'b', 'i', 'l', 'e' };
00164 static const symbol s_3_14[4] = { 'i', 's', 'm', 'e' };
00165 static const symbol s_3_15[4] = { 'i', 'u', 'n', 'e' };
00166 static const symbol s_3_16[4] = { 'o', 'a', 's', 'e' };
00167 static const symbol s_3_17[3] = { 'a', 't', 'e' };
00168 static const symbol s_3_18[5] = { 'i', 't', 'a', 't', 'e' };
00169 static const symbol s_3_19[3] = { 'i', 't', 'e' };
00170 static const symbol s_3_20[4] = { 'a', 'n', 't', 'e' };
00171 static const symbol s_3_21[4] = { 'i', 's', 't', 'e' };
00172 static const symbol s_3_22[3] = { 'u', 't', 'e' };
00173 static const symbol s_3_23[3] = { 'i', 'v', 'e' };
00174 static const symbol s_3_24[3] = { 'i', 'c', 'i' };
00175 static const symbol s_3_25[5] = { 'a', 'b', 'i', 'l', 'i' };
00176 static const symbol s_3_26[5] = { 'i', 'b', 'i', 'l', 'i' };
00177 static const symbol s_3_27[4] = { 'i', 'u', 'n', 'i' };
00178 static const symbol s_3_28[5] = { 'a', 't', 'o', 'r', 'i' };
00179 static const symbol s_3_29[3] = { 'o', 's', 'i' };
00180 static const symbol s_3_30[3] = { 'a', 't', 'i' };
00181 static const symbol s_3_31[5] = { 'i', 't', 'a', 't', 'i' };
00182 static const symbol s_3_32[3] = { 'i', 't', 'i' };
00183 static const symbol s_3_33[4] = { 'a', 'n', 't', 'i' };
00184 static const symbol s_3_34[4] = { 'i', 's', 't', 'i' };
00185 static const symbol s_3_35[3] = { 'u', 't', 'i' };
00186 static const symbol s_3_36[5] = { 'i', 0xC5, 0x9F, 't', 'i' };
00187 static const symbol s_3_37[3] = { 'i', 'v', 'i' };
00188 static const symbol s_3_38[5] = { 'i', 't', 0xC4, 0x83, 'i' };
00189 static const symbol s_3_39[4] = { 'o', 0xC5, 0x9F, 'i' };
00190 static const symbol s_3_40[7] = { 'i', 't', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00191 static const symbol s_3_41[4] = { 'a', 'b', 'i', 'l' };
00192 static const symbol s_3_42[4] = { 'i', 'b', 'i', 'l' };
00193 static const symbol s_3_43[3] = { 'i', 's', 'm' };
00194 static const symbol s_3_44[4] = { 'a', 't', 'o', 'r' };
00195 static const symbol s_3_45[2] = { 'o', 's' };
00196 static const symbol s_3_46[2] = { 'a', 't' };
00197 static const symbol s_3_47[2] = { 'i', 't' };
00198 static const symbol s_3_48[3] = { 'a', 'n', 't' };
00199 static const symbol s_3_49[3] = { 'i', 's', 't' };
00200 static const symbol s_3_50[2] = { 'u', 't' };
00201 static const symbol s_3_51[2] = { 'i', 'v' };
00202 static const symbol s_3_52[4] = { 'i', 'c', 0xC4, 0x83 };
00203 static const symbol s_3_53[6] = { 'a', 'b', 'i', 'l', 0xC4, 0x83 };
00204 static const symbol s_3_54[6] = { 'i', 'b', 'i', 'l', 0xC4, 0x83 };
00205 static const symbol s_3_55[5] = { 'o', 'a', 's', 0xC4, 0x83 };
00206 static const symbol s_3_56[4] = { 'a', 't', 0xC4, 0x83 };
00207 static const symbol s_3_57[4] = { 'i', 't', 0xC4, 0x83 };
00208 static const symbol s_3_58[5] = { 'a', 'n', 't', 0xC4, 0x83 };
00209 static const symbol s_3_59[5] = { 'i', 's', 't', 0xC4, 0x83 };
00210 static const symbol s_3_60[4] = { 'u', 't', 0xC4, 0x83 };
00211 static const symbol s_3_61[4] = { 'i', 'v', 0xC4, 0x83 };
00212
00213 static const struct among a_3[62] =
00214 {
00215 { 3, s_3_0, -1, 1},
00216 { 5, s_3_1, -1, 1},
00217 { 5, s_3_2, -1, 1},
00218 { 4, s_3_3, -1, 1},
00219 { 3, s_3_4, -1, 1},
00220 { 3, s_3_5, -1, 1},
00221 { 4, s_3_6, -1, 1},
00222 { 4, s_3_7, -1, 3},
00223 { 3, s_3_8, -1, 1},
00224 { 3, s_3_9, -1, 1},
00225 { 2, s_3_10, -1, 1},
00226 { 3, s_3_11, -1, 1},
00227 { 5, s_3_12, -1, 1},
00228 { 5, s_3_13, -1, 1},
00229 { 4, s_3_14, -1, 3},
00230 { 4, s_3_15, -1, 2},
00231 { 4, s_3_16, -1, 1},
00232 { 3, s_3_17, -1, 1},
00233 { 5, s_3_18, 17, 1},
00234 { 3, s_3_19, -1, 1},
00235 { 4, s_3_20, -1, 1},
00236 { 4, s_3_21, -1, 3},
00237 { 3, s_3_22, -1, 1},
00238 { 3, s_3_23, -1, 1},
00239 { 3, s_3_24, -1, 1},
00240 { 5, s_3_25, -1, 1},
00241 { 5, s_3_26, -1, 1},
00242 { 4, s_3_27, -1, 2},
00243 { 5, s_3_28, -1, 1},
00244 { 3, s_3_29, -1, 1},
00245 { 3, s_3_30, -1, 1},
00246 { 5, s_3_31, 30, 1},
00247 { 3, s_3_32, -1, 1},
00248 { 4, s_3_33, -1, 1},
00249 { 4, s_3_34, -1, 3},
00250 { 3, s_3_35, -1, 1},
00251 { 5, s_3_36, -1, 3},
00252 { 3, s_3_37, -1, 1},
00253 { 5, s_3_38, -1, 1},
00254 { 4, s_3_39, -1, 1},
00255 { 7, s_3_40, -1, 1},
00256 { 4, s_3_41, -1, 1},
00257 { 4, s_3_42, -1, 1},
00258 { 3, s_3_43, -1, 3},
00259 { 4, s_3_44, -1, 1},
00260 { 2, s_3_45, -1, 1},
00261 { 2, s_3_46, -1, 1},
00262 { 2, s_3_47, -1, 1},
00263 { 3, s_3_48, -1, 1},
00264 { 3, s_3_49, -1, 3},
00265 { 2, s_3_50, -1, 1},
00266 { 2, s_3_51, -1, 1},
00267 { 4, s_3_52, -1, 1},
00268 { 6, s_3_53, -1, 1},
00269 { 6, s_3_54, -1, 1},
00270 { 5, s_3_55, -1, 1},
00271 { 4, s_3_56, -1, 1},
00272 { 4, s_3_57, -1, 1},
00273 { 5, s_3_58, -1, 1},
00274 { 5, s_3_59, -1, 3},
00275 { 4, s_3_60, -1, 1},
00276 { 4, s_3_61, -1, 1}
00277 };
00278
00279 static const symbol s_4_0[2] = { 'e', 'a' };
00280 static const symbol s_4_1[2] = { 'i', 'a' };
00281 static const symbol s_4_2[3] = { 'e', 's', 'c' };
00282 static const symbol s_4_3[4] = { 0xC4, 0x83, 's', 'c' };
00283 static const symbol s_4_4[3] = { 'i', 'n', 'd' };
00284 static const symbol s_4_5[4] = { 0xC3, 0xA2, 'n', 'd' };
00285 static const symbol s_4_6[3] = { 'a', 'r', 'e' };
00286 static const symbol s_4_7[3] = { 'e', 'r', 'e' };
00287 static const symbol s_4_8[3] = { 'i', 'r', 'e' };
00288 static const symbol s_4_9[4] = { 0xC3, 0xA2, 'r', 'e' };
00289 static const symbol s_4_10[2] = { 's', 'e' };
00290 static const symbol s_4_11[3] = { 'a', 's', 'e' };
00291 static const symbol s_4_12[4] = { 's', 'e', 's', 'e' };
00292 static const symbol s_4_13[3] = { 'i', 's', 'e' };
00293 static const symbol s_4_14[3] = { 'u', 's', 'e' };
00294 static const symbol s_4_15[4] = { 0xC3, 0xA2, 's', 'e' };
00295 static const symbol s_4_16[5] = { 'e', 0xC5, 0x9F, 't', 'e' };
00296 static const symbol s_4_17[6] = { 0xC4, 0x83, 0xC5, 0x9F, 't', 'e' };
00297 static const symbol s_4_18[3] = { 'e', 'z', 'e' };
00298 static const symbol s_4_19[2] = { 'a', 'i' };
00299 static const symbol s_4_20[3] = { 'e', 'a', 'i' };
00300 static const symbol s_4_21[3] = { 'i', 'a', 'i' };
00301 static const symbol s_4_22[3] = { 's', 'e', 'i' };
00302 static const symbol s_4_23[5] = { 'e', 0xC5, 0x9F, 't', 'i' };
00303 static const symbol s_4_24[6] = { 0xC4, 0x83, 0xC5, 0x9F, 't', 'i' };
00304 static const symbol s_4_25[2] = { 'u', 'i' };
00305 static const symbol s_4_26[3] = { 'e', 'z', 'i' };
00306 static const symbol s_4_27[4] = { 'a', 0xC5, 0x9F, 'i' };
00307 static const symbol s_4_28[5] = { 's', 'e', 0xC5, 0x9F, 'i' };
00308 static const symbol s_4_29[6] = { 'a', 's', 'e', 0xC5, 0x9F, 'i' };
00309 static const symbol s_4_30[7] = { 's', 'e', 's', 'e', 0xC5, 0x9F, 'i' };
00310 static const symbol s_4_31[6] = { 'i', 's', 'e', 0xC5, 0x9F, 'i' };
00311 static const symbol s_4_32[6] = { 'u', 's', 'e', 0xC5, 0x9F, 'i' };
00312 static const symbol s_4_33[7] = { 0xC3, 0xA2, 's', 'e', 0xC5, 0x9F, 'i' };
00313 static const symbol s_4_34[4] = { 'i', 0xC5, 0x9F, 'i' };
00314 static const symbol s_4_35[4] = { 'u', 0xC5, 0x9F, 'i' };
00315 static const symbol s_4_36[5] = { 0xC3, 0xA2, 0xC5, 0x9F, 'i' };
00316 static const symbol s_4_37[3] = { 0xC3, 0xA2, 'i' };
00317 static const symbol s_4_38[4] = { 'a', 0xC5, 0xA3, 'i' };
00318 static const symbol s_4_39[5] = { 'e', 'a', 0xC5, 0xA3, 'i' };
00319 static const symbol s_4_40[5] = { 'i', 'a', 0xC5, 0xA3, 'i' };
00320 static const symbol s_4_41[4] = { 'e', 0xC5, 0xA3, 'i' };
00321 static const symbol s_4_42[4] = { 'i', 0xC5, 0xA3, 'i' };
00322 static const symbol s_4_43[7] = { 'a', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00323 static const symbol s_4_44[8] = { 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00324 static const symbol s_4_45[9] = { 'a', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00325 static const symbol s_4_46[10] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00326 static const symbol s_4_47[9] = { 'i', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00327 static const symbol s_4_48[9] = { 'u', 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00328 static const symbol s_4_49[10] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00329 static const symbol s_4_50[7] = { 'i', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00330 static const symbol s_4_51[7] = { 'u', 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00331 static const symbol s_4_52[8] = { 0xC3, 0xA2, 'r', 0xC4, 0x83, 0xC5, 0xA3, 'i' };
00332 static const symbol s_4_53[5] = { 0xC3, 0xA2, 0xC5, 0xA3, 'i' };
00333 static const symbol s_4_54[2] = { 'a', 'm' };
00334 static const symbol s_4_55[3] = { 'e', 'a', 'm' };
00335 static const symbol s_4_56[3] = { 'i', 'a', 'm' };
00336 static const symbol s_4_57[2] = { 'e', 'm' };
00337 static const symbol s_4_58[4] = { 'a', 's', 'e', 'm' };
00338 static const symbol s_4_59[5] = { 's', 'e', 's', 'e', 'm' };
00339 static const symbol s_4_60[4] = { 'i', 's', 'e', 'm' };
00340 static const symbol s_4_61[4] = { 'u', 's', 'e', 'm' };
00341 static const symbol s_4_62[5] = { 0xC3, 0xA2, 's', 'e', 'm' };
00342 static const symbol s_4_63[2] = { 'i', 'm' };
00343 static const symbol s_4_64[3] = { 0xC4, 0x83, 'm' };
00344 static const symbol s_4_65[5] = { 'a', 'r', 0xC4, 0x83, 'm' };
00345 static const symbol s_4_66[6] = { 's', 'e', 'r', 0xC4, 0x83, 'm' };
00346 static const symbol s_4_67[7] = { 'a', 's', 'e', 'r', 0xC4, 0x83, 'm' };
00347 static const symbol s_4_68[8] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83, 'm' };
00348 static const symbol s_4_69[7] = { 'i', 's', 'e', 'r', 0xC4, 0x83, 'm' };
00349 static const symbol s_4_70[7] = { 'u', 's', 'e', 'r', 0xC4, 0x83, 'm' };
00350 static const symbol s_4_71[8] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83, 'm' };
00351 static const symbol s_4_72[5] = { 'i', 'r', 0xC4, 0x83, 'm' };
00352 static const symbol s_4_73[5] = { 'u', 'r', 0xC4, 0x83, 'm' };
00353 static const symbol s_4_74[6] = { 0xC3, 0xA2, 'r', 0xC4, 0x83, 'm' };
00354 static const symbol s_4_75[3] = { 0xC3, 0xA2, 'm' };
00355 static const symbol s_4_76[2] = { 'a', 'u' };
00356 static const symbol s_4_77[3] = { 'e', 'a', 'u' };
00357 static const symbol s_4_78[3] = { 'i', 'a', 'u' };
00358 static const symbol s_4_79[4] = { 'i', 'n', 'd', 'u' };
00359 static const symbol s_4_80[5] = { 0xC3, 0xA2, 'n', 'd', 'u' };
00360 static const symbol s_4_81[2] = { 'e', 'z' };
00361 static const symbol s_4_82[6] = { 'e', 'a', 's', 'c', 0xC4, 0x83 };
00362 static const symbol s_4_83[4] = { 'a', 'r', 0xC4, 0x83 };
00363 static const symbol s_4_84[5] = { 's', 'e', 'r', 0xC4, 0x83 };
00364 static const symbol s_4_85[6] = { 'a', 's', 'e', 'r', 0xC4, 0x83 };
00365 static const symbol s_4_86[7] = { 's', 'e', 's', 'e', 'r', 0xC4, 0x83 };
00366 static const symbol s_4_87[6] = { 'i', 's', 'e', 'r', 0xC4, 0x83 };
00367 static const symbol s_4_88[6] = { 'u', 's', 'e', 'r', 0xC4, 0x83 };
00368 static const symbol s_4_89[7] = { 0xC3, 0xA2, 's', 'e', 'r', 0xC4, 0x83 };
00369 static const symbol s_4_90[4] = { 'i', 'r', 0xC4, 0x83 };
00370 static const symbol s_4_91[4] = { 'u', 'r', 0xC4, 0x83 };
00371 static const symbol s_4_92[5] = { 0xC3, 0xA2, 'r', 0xC4, 0x83 };
00372 static const symbol s_4_93[5] = { 'e', 'a', 'z', 0xC4, 0x83 };
00373
00374 static const struct among a_4[94] =
00375 {
00376 { 2, s_4_0, -1, 1},
00377 { 2, s_4_1, -1, 1},
00378 { 3, s_4_2, -1, 1},
00379 { 4, s_4_3, -1, 1},
00380 { 3, s_4_4, -1, 1},
00381 { 4, s_4_5, -1, 1},
00382 { 3, s_4_6, -1, 1},
00383 { 3, s_4_7, -1, 1},
00384 { 3, s_4_8, -1, 1},
00385 { 4, s_4_9, -1, 1},
00386 { 2, s_4_10, -1, 2},
00387 { 3, s_4_11, 10, 1},
00388 { 4, s_4_12, 10, 2},
00389 { 3, s_4_13, 10, 1},
00390 { 3, s_4_14, 10, 1},
00391 { 4, s_4_15, 10, 1},
00392 { 5, s_4_16, -1, 1},
00393 { 6, s_4_17, -1, 1},
00394 { 3, s_4_18, -1, 1},
00395 { 2, s_4_19, -1, 1},
00396 { 3, s_4_20, 19, 1},
00397 { 3, s_4_21, 19, 1},
00398 { 3, s_4_22, -1, 2},
00399 { 5, s_4_23, -1, 1},
00400 { 6, s_4_24, -1, 1},
00401 { 2, s_4_25, -1, 1},
00402 { 3, s_4_26, -1, 1},
00403 { 4, s_4_27, -1, 1},
00404 { 5, s_4_28, -1, 2},
00405 { 6, s_4_29, 28, 1},
00406 { 7, s_4_30, 28, 2},
00407 { 6, s_4_31, 28, 1},
00408 { 6, s_4_32, 28, 1},
00409 { 7, s_4_33, 28, 1},
00410 { 4, s_4_34, -1, 1},
00411 { 4, s_4_35, -1, 1},
00412 { 5, s_4_36, -1, 1},
00413 { 3, s_4_37, -1, 1},
00414 { 4, s_4_38, -1, 2},
00415 { 5, s_4_39, 38, 1},
00416 { 5, s_4_40, 38, 1},
00417 { 4, s_4_41, -1, 2},
00418 { 4, s_4_42, -1, 2},
00419 { 7, s_4_43, -1, 1},
00420 { 8, s_4_44, -1, 2},
00421 { 9, s_4_45, 44, 1},
00422 { 10, s_4_46, 44, 2},
00423 { 9, s_4_47, 44, 1},
00424 { 9, s_4_48, 44, 1},
00425 { 10, s_4_49, 44, 1},
00426 { 7, s_4_50, -1, 1},
00427 { 7, s_4_51, -1, 1},
00428 { 8, s_4_52, -1, 1},
00429 { 5, s_4_53, -1, 2},
00430 { 2, s_4_54, -1, 1},
00431 { 3, s_4_55, 54, 1},
00432 { 3, s_4_56, 54, 1},
00433 { 2, s_4_57, -1, 2},
00434 { 4, s_4_58, 57, 1},
00435 { 5, s_4_59, 57, 2},
00436 { 4, s_4_60, 57, 1},
00437 { 4, s_4_61, 57, 1},
00438 { 5, s_4_62, 57, 1},
00439 { 2, s_4_63, -1, 2},
00440 { 3, s_4_64, -1, 2},
00441 { 5, s_4_65, 64, 1},
00442 { 6, s_4_66, 64, 2},
00443 { 7, s_4_67, 66, 1},
00444 { 8, s_4_68, 66, 2},
00445 { 7, s_4_69, 66, 1},
00446 { 7, s_4_70, 66, 1},
00447 { 8, s_4_71, 66, 1},
00448 { 5, s_4_72, 64, 1},
00449 { 5, s_4_73, 64, 1},
00450 { 6, s_4_74, 64, 1},
00451 { 3, s_4_75, -1, 2},
00452 { 2, s_4_76, -1, 1},
00453 { 3, s_4_77, 76, 1},
00454 { 3, s_4_78, 76, 1},
00455 { 4, s_4_79, -1, 1},
00456 { 5, s_4_80, -1, 1},
00457 { 2, s_4_81, -1, 1},
00458 { 6, s_4_82, -1, 1},
00459 { 4, s_4_83, -1, 1},
00460 { 5, s_4_84, -1, 2},
00461 { 6, s_4_85, 84, 1},
00462 { 7, s_4_86, 84, 2},
00463 { 6, s_4_87, 84, 1},
00464 { 6, s_4_88, 84, 1},
00465 { 7, s_4_89, 84, 1},
00466 { 4, s_4_90, -1, 1},
00467 { 4, s_4_91, -1, 1},
00468 { 5, s_4_92, -1, 1},
00469 { 5, s_4_93, -1, 1}
00470 };
00471
00472 static const symbol s_5_0[1] = { 'a' };
00473 static const symbol s_5_1[1] = { 'e' };
00474 static const symbol s_5_2[2] = { 'i', 'e' };
00475 static const symbol s_5_3[1] = { 'i' };
00476 static const symbol s_5_4[2] = { 0xC4, 0x83 };
00477
00478 static const struct among a_5[5] =
00479 {
00480 { 1, s_5_0, -1, 1},
00481 { 1, s_5_1, -1, 1},
00482 { 2, s_5_2, 1, 1},
00483 { 1, s_5_3, -1, 1},
00484 { 2, s_5_4, -1, 1}
00485 };
00486
00487 static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 32, 0, 0, 4 };
00488
00489 static const symbol s_0[] = { 'U' };
00490 static const symbol s_1[] = { 'I' };
00491 static const symbol s_2[] = { 'i' };
00492 static const symbol s_3[] = { 'u' };
00493 static const symbol s_4[] = { 'a' };
00494 static const symbol s_5[] = { 'e' };
00495 static const symbol s_6[] = { 'i' };
00496 static const symbol s_7[] = { 'a', 'b' };
00497 static const symbol s_8[] = { 'i' };
00498 static const symbol s_9[] = { 'a', 't' };
00499 static const symbol s_10[] = { 'a', 0xC5, 0xA3, 'i' };
00500 static const symbol s_11[] = { 'a', 'b', 'i', 'l' };
00501 static const symbol s_12[] = { 'i', 'b', 'i', 'l' };
00502 static const symbol s_13[] = { 'i', 'v' };
00503 static const symbol s_14[] = { 'i', 'c' };
00504 static const symbol s_15[] = { 'a', 't' };
00505 static const symbol s_16[] = { 'i', 't' };
00506 static const symbol s_17[] = { 0xC5, 0xA3 };
00507 static const symbol s_18[] = { 't' };
00508 static const symbol s_19[] = { 'i', 's', 't' };
00509
00510 int Xapian::InternalStemRomanian::r_prelude() {
00511 while(1) {
00512 int c1 = c;
00513 while(1) {
00514 int c2 = c;
00515 if (in_grouping_U(g_v, 97, 259, 0)) goto lab1;
00516 bra = c;
00517 { int c3 = c;
00518 if (c == l || p[c] != 'u') goto lab3;
00519 c++;
00520 ket = c;
00521 if (in_grouping_U(g_v, 97, 259, 0)) goto lab3;
00522 { int ret = slice_from_s(1, s_0);
00523 if (ret < 0) return ret;
00524 }
00525 goto lab2;
00526 lab3:
00527 c = c3;
00528 if (c == l || p[c] != 'i') goto lab1;
00529 c++;
00530 ket = c;
00531 if (in_grouping_U(g_v, 97, 259, 0)) goto lab1;
00532 { int ret = slice_from_s(1, s_1);
00533 if (ret < 0) return ret;
00534 }
00535 }
00536 lab2:
00537 c = c2;
00538 break;
00539 lab1:
00540 c = c2;
00541 { int ret = skip_utf8(p, c, 0, l, 1);
00542 if (ret < 0) goto lab0;
00543 c = ret;
00544 }
00545 }
00546 continue;
00547 lab0:
00548 c = c1;
00549 break;
00550 }
00551 return 1;
00552 }
00553
00554 int Xapian::InternalStemRomanian::r_mark_regions() {
00555 I_pV = l;
00556 I_p1 = l;
00557 I_p2 = l;
00558 { int c1 = c;
00559 { int c2 = c;
00560 if (in_grouping_U(g_v, 97, 259, 0)) goto lab2;
00561 { int c3 = c;
00562 if (out_grouping_U(g_v, 97, 259, 0)) goto lab4;
00563 { int ret = out_grouping_U(g_v, 97, 259, 1);
00564 if (ret < 0) goto lab4;
00565 c += ret;
00566 }
00567 goto lab3;
00568 lab4:
00569 c = c3;
00570 if (in_grouping_U(g_v, 97, 259, 0)) goto lab2;
00571 { int ret = in_grouping_U(g_v, 97, 259, 1);
00572 if (ret < 0) goto lab2;
00573 c += ret;
00574 }
00575 }
00576 lab3:
00577 goto lab1;
00578 lab2:
00579 c = c2;
00580 if (out_grouping_U(g_v, 97, 259, 0)) goto lab0;
00581 { int c4 = c;
00582 if (out_grouping_U(g_v, 97, 259, 0)) goto lab6;
00583 { int ret = out_grouping_U(g_v, 97, 259, 1);
00584 if (ret < 0) goto lab6;
00585 c += ret;
00586 }
00587 goto lab5;
00588 lab6:
00589 c = c4;
00590 if (in_grouping_U(g_v, 97, 259, 0)) goto lab0;
00591 { int ret = skip_utf8(p, c, 0, l, 1);
00592 if (ret < 0) goto lab0;
00593 c = ret;
00594 }
00595 }
00596 lab5:
00597 ;
00598 }
00599 lab1:
00600 I_pV = c;
00601 lab0:
00602 c = c1;
00603 }
00604 { int c5 = c;
00605 { int ret = out_grouping_U(g_v, 97, 259, 1);
00606 if (ret < 0) goto lab7;
00607 c += ret;
00608 }
00609 { int ret = in_grouping_U(g_v, 97, 259, 1);
00610 if (ret < 0) goto lab7;
00611 c += ret;
00612 }
00613 I_p1 = c;
00614 { int ret = out_grouping_U(g_v, 97, 259, 1);
00615 if (ret < 0) goto lab7;
00616 c += ret;
00617 }
00618 { int ret = in_grouping_U(g_v, 97, 259, 1);
00619 if (ret < 0) goto lab7;
00620 c += ret;
00621 }
00622 I_p2 = c;
00623 lab7:
00624 c = c5;
00625 }
00626 return 1;
00627 }
00628
00629 int Xapian::InternalStemRomanian::r_postlude() {
00630 int among_var;
00631 while(1) {
00632 int c1 = c;
00633 bra = c;
00634 if (c >= l || (p[c + 0] != 73 && p[c + 0] != 85)) among_var = 3; else
00635 among_var = find_among(a_0, 3, 0, 0);
00636 if (!(among_var)) goto lab0;
00637 ket = c;
00638 switch(among_var) {
00639 case 0: goto lab0;
00640 case 1:
00641 { int ret = slice_from_s(1, s_2);
00642 if (ret < 0) return ret;
00643 }
00644 break;
00645 case 2:
00646 { int ret = slice_from_s(1, s_3);
00647 if (ret < 0) return ret;
00648 }
00649 break;
00650 case 3:
00651 { int ret = skip_utf8(p, c, 0, l, 1);
00652 if (ret < 0) goto lab0;
00653 c = ret;
00654 }
00655 break;
00656 }
00657 continue;
00658 lab0:
00659 c = c1;
00660 break;
00661 }
00662 return 1;
00663 }
00664
00665 int Xapian::InternalStemRomanian::r_RV() {
00666 if (!(I_pV <= c)) return 0;
00667 return 1;
00668 }
00669
00670 int Xapian::InternalStemRomanian::r_R1() {
00671 if (!(I_p1 <= c)) return 0;
00672 return 1;
00673 }
00674
00675 int Xapian::InternalStemRomanian::r_R2() {
00676 if (!(I_p2 <= c)) return 0;
00677 return 1;
00678 }
00679
00680 int Xapian::InternalStemRomanian::r_step_0() {
00681 int among_var;
00682 ket = c;
00683 if (c - 1 <= lb || p[c - 1] >> 5 != 3 || !((266786 >> (p[c - 1] & 0x1f)) & 1)) return 0;
00684 among_var = find_among_b(a_1, 16, 0, 0);
00685 if (!(among_var)) return 0;
00686 bra = c;
00687 { int ret = r_R1();
00688 if (ret <= 0) return ret;
00689 }
00690 switch(among_var) {
00691 case 0: return 0;
00692 case 1:
00693 if (slice_del() == -1) return -1;
00694 break;
00695 case 2:
00696 { int ret = slice_from_s(1, s_4);
00697 if (ret < 0) return ret;
00698 }
00699 break;
00700 case 3:
00701 { int ret = slice_from_s(1, s_5);
00702 if (ret < 0) return ret;
00703 }
00704 break;
00705 case 4:
00706 { int ret = slice_from_s(1, s_6);
00707 if (ret < 0) return ret;
00708 }
00709 break;
00710 case 5:
00711 { int m1 = l - c; (void)m1;
00712 if (!(eq_s_b(2, s_7))) goto lab0;
00713 return 0;
00714 lab0:
00715 c = l - m1;
00716 }
00717 { int ret = slice_from_s(1, s_8);
00718 if (ret < 0) return ret;
00719 }
00720 break;
00721 case 6:
00722 { int ret = slice_from_s(2, s_9);
00723 if (ret < 0) return ret;
00724 }
00725 break;
00726 case 7:
00727 { int ret = slice_from_s(4, s_10);
00728 if (ret < 0) return ret;
00729 }
00730 break;
00731 }
00732 return 1;
00733 }
00734
00735 int Xapian::InternalStemRomanian::r_combo_suffix() {
00736 int among_var;
00737 { int m_test1 = l - c;
00738 ket = c;
00739 among_var = find_among_b(a_2, 46, 0, 0);
00740 if (!(among_var)) return 0;
00741 bra = c;
00742 { int ret = r_R1();
00743 if (ret <= 0) return ret;
00744 }
00745 switch(among_var) {
00746 case 0: return 0;
00747 case 1:
00748 { int ret = slice_from_s(4, s_11);
00749 if (ret < 0) return ret;
00750 }
00751 break;
00752 case 2:
00753 { int ret = slice_from_s(4, s_12);
00754 if (ret < 0) return ret;
00755 }
00756 break;
00757 case 3:
00758 { int ret = slice_from_s(2, s_13);
00759 if (ret < 0) return ret;
00760 }
00761 break;
00762 case 4:
00763 { int ret = slice_from_s(2, s_14);
00764 if (ret < 0) return ret;
00765 }
00766 break;
00767 case 5:
00768 { int ret = slice_from_s(2, s_15);
00769 if (ret < 0) return ret;
00770 }
00771 break;
00772 case 6:
00773 { int ret = slice_from_s(2, s_16);
00774 if (ret < 0) return ret;
00775 }
00776 break;
00777 }
00778 B_standard_suffix_removed = 1;
00779 c = l - m_test1;
00780 }
00781 return 1;
00782 }
00783
00784 int Xapian::InternalStemRomanian::r_standard_suffix() {
00785 int among_var;
00786 B_standard_suffix_removed = 0;
00787 while(1) {
00788 int m1 = l - c; (void)m1;
00789 { int ret = r_combo_suffix();
00790 if (ret == 0) goto lab0;
00791 if (ret < 0) return ret;
00792 }
00793 continue;
00794 lab0:
00795 c = l - m1;
00796 break;
00797 }
00798 ket = c;
00799 among_var = find_among_b(a_3, 62, 0, 0);
00800 if (!(among_var)) return 0;
00801 bra = c;
00802 { int ret = r_R2();
00803 if (ret <= 0) return ret;
00804 }
00805 switch(among_var) {
00806 case 0: return 0;
00807 case 1:
00808 if (slice_del() == -1) return -1;
00809 break;
00810 case 2:
00811 if (!(eq_s_b(2, s_17))) return 0;
00812 bra = c;
00813 { int ret = slice_from_s(1, s_18);
00814 if (ret < 0) return ret;
00815 }
00816 break;
00817 case 3:
00818 { int ret = slice_from_s(3, s_19);
00819 if (ret < 0) return ret;
00820 }
00821 break;
00822 }
00823 B_standard_suffix_removed = 1;
00824 return 1;
00825 }
00826
00827 int Xapian::InternalStemRomanian::r_verb_suffix() {
00828 int among_var;
00829 { int m1 = l - c; (void)m1;
00830 int mlimit1;
00831 if (c < I_pV) return 0;
00832 c = I_pV;
00833 mlimit1 = lb; lb = c;
00834 c = l - m1;
00835 ket = c;
00836 among_var = find_among_b(a_4, 94, 0, 0);
00837 if (!(among_var)) { lb = mlimit1; return 0; }
00838 bra = c;
00839 switch(among_var) {
00840 case 0: { lb = mlimit1; return 0; }
00841 case 1:
00842 { int m2 = l - c; (void)m2;
00843 if (out_grouping_b_U(g_v, 97, 259, 0)) goto lab1;
00844 goto lab0;
00845 lab1:
00846 c = l - m2;
00847 if (c <= lb || p[c - 1] != 'u') { lb = mlimit1; return 0; }
00848 c--;
00849 }
00850 lab0:
00851 if (slice_del() == -1) return -1;
00852 break;
00853 case 2:
00854 if (slice_del() == -1) return -1;
00855 break;
00856 }
00857 lb = mlimit1;
00858 }
00859 return 1;
00860 }
00861
00862 int Xapian::InternalStemRomanian::r_vowel_suffix() {
00863 int among_var;
00864 ket = c;
00865 among_var = find_among_b(a_5, 5, 0, 0);
00866 if (!(among_var)) return 0;
00867 bra = c;
00868 { int ret = r_RV();
00869 if (ret <= 0) return ret;
00870 }
00871 switch(among_var) {
00872 case 0: return 0;
00873 case 1:
00874 if (slice_del() == -1) return -1;
00875 break;
00876 }
00877 return 1;
00878 }
00879
00880 int Xapian::InternalStemRomanian::stem() {
00881 { int c1 = c;
00882 { int ret = r_prelude();
00883 if (ret == 0) goto lab0;
00884 if (ret < 0) return ret;
00885 }
00886 lab0:
00887 c = c1;
00888 }
00889 { int c2 = c;
00890 { int ret = r_mark_regions();
00891 if (ret == 0) goto lab1;
00892 if (ret < 0) return ret;
00893 }
00894 lab1:
00895 c = c2;
00896 }
00897 lb = c; c = l;
00898
00899 { int m3 = l - c; (void)m3;
00900 { int ret = r_step_0();
00901 if (ret == 0) goto lab2;
00902 if (ret < 0) return ret;
00903 }
00904 lab2:
00905 c = l - m3;
00906 }
00907 { int m4 = l - c; (void)m4;
00908 { int ret = r_standard_suffix();
00909 if (ret == 0) goto lab3;
00910 if (ret < 0) return ret;
00911 }
00912 lab3:
00913 c = l - m4;
00914 }
00915 { int m5 = l - c; (void)m5;
00916 { int m6 = l - c; (void)m6;
00917 if (!(B_standard_suffix_removed)) goto lab6;
00918 goto lab5;
00919 lab6:
00920 c = l - m6;
00921 { int ret = r_verb_suffix();
00922 if (ret == 0) goto lab4;
00923 if (ret < 0) return ret;
00924 }
00925 }
00926 lab5:
00927 lab4:
00928 c = l - m5;
00929 }
00930 { int m7 = l - c; (void)m7;
00931 { int ret = r_vowel_suffix();
00932 if (ret == 0) goto lab7;
00933 if (ret < 0) return ret;
00934 }
00935 lab7:
00936 c = l - m7;
00937 }
00938 c = lb;
00939 { int c8 = c;
00940 { int ret = r_postlude();
00941 if (ret == 0) goto lab8;
00942 if (ret < 0) return ret;
00943 }
00944 lab8:
00945 c = c8;
00946 }
00947 return 1;
00948 }
00949
00950 Xapian::InternalStemRomanian::InternalStemRomanian()
00951 : B_standard_suffix_removed(0), I_p2(0), I_p1(0), I_pV(0)
00952 {
00953 }
00954
00955 Xapian::InternalStemRomanian::~InternalStemRomanian()
00956 {
00957 }
00958
00959 const char *
00960 Xapian::InternalStemRomanian::get_description() const
00961 {
00962 return "romanian";
00963 }