languages/romanian.cc

Go to the documentation of this file.
00001 /* This file was generated automatically by the Snowball to ISO C++ compiler */
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, 0, -1, 3},
00012 /*  1 */ { 1, s_0_1, 0, 1},
00013 /*  2 */ { 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 /*  0 */ { 2, s_1_0, -1, 3},
00036 /*  1 */ { 5, s_1_1, -1, 7},
00037 /*  2 */ { 3, s_1_2, -1, 2},
00038 /*  3 */ { 3, s_1_3, -1, 4},
00039 /*  4 */ { 5, s_1_4, -1, 7},
00040 /*  5 */ { 3, s_1_5, -1, 3},
00041 /*  6 */ { 3, s_1_6, -1, 5},
00042 /*  7 */ { 4, s_1_7, 6, 4},
00043 /*  8 */ { 3, s_1_8, -1, 4},
00044 /*  9 */ { 4, s_1_9, -1, 6},
00045 /* 10 */ { 2, s_1_10, -1, 4},
00046 /* 11 */ { 4, s_1_11, -1, 1},
00047 /* 12 */ { 2, s_1_12, -1, 1},
00048 /* 13 */ { 4, s_1_13, -1, 3},
00049 /* 14 */ { 4, s_1_14, -1, 4},
00050 /* 15 */ { 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 /*  0 */ { 5, s_2_0, -1, 4},
00103 /*  1 */ { 5, s_2_1, -1, 4},
00104 /*  2 */ { 5, s_2_2, -1, 5},
00105 /*  3 */ { 5, s_2_3, -1, 6},
00106 /*  4 */ { 5, s_2_4, -1, 4},
00107 /*  5 */ { 7, s_2_5, -1, 5},
00108 /*  6 */ { 7, s_2_6, -1, 6},
00109 /*  7 */ { 6, s_2_7, -1, 5},
00110 /*  8 */ { 6, s_2_8, -1, 6},
00111 /*  9 */ { 7, s_2_9, -1, 5},
00112 /* 10 */ { 7, s_2_10, -1, 4},
00113 /* 11 */ { 9, s_2_11, -1, 1},
00114 /* 12 */ { 9, s_2_12, -1, 2},
00115 /* 13 */ { 7, s_2_13, -1, 3},
00116 /* 14 */ { 5, s_2_14, -1, 4},
00117 /* 15 */ { 5, s_2_15, -1, 5},
00118 /* 16 */ { 5, s_2_16, -1, 6},
00119 /* 17 */ { 5, s_2_17, -1, 4},
00120 /* 18 */ { 5, s_2_18, -1, 5},
00121 /* 19 */ { 7, s_2_19, 18, 4},
00122 /* 20 */ { 5, s_2_20, -1, 6},
00123 /* 21 */ { 6, s_2_21, -1, 5},
00124 /* 22 */ { 7, s_2_22, -1, 4},
00125 /* 23 */ { 9, s_2_23, -1, 1},
00126 /* 24 */ { 7, s_2_24, -1, 3},
00127 /* 25 */ { 5, s_2_25, -1, 4},
00128 /* 26 */ { 5, s_2_26, -1, 5},
00129 /* 27 */ { 5, s_2_27, -1, 6},
00130 /* 28 */ { 7, s_2_28, -1, 4},
00131 /* 29 */ { 9, s_2_29, -1, 1},
00132 /* 30 */ { 7, s_2_30, -1, 3},
00133 /* 31 */ { 9, s_2_31, -1, 4},
00134 /* 32 */ { 11, s_2_32, -1, 1},
00135 /* 33 */ { 9, s_2_33, -1, 3},
00136 /* 34 */ { 4, s_2_34, -1, 4},
00137 /* 35 */ { 4, s_2_35, -1, 5},
00138 /* 36 */ { 6, s_2_36, 35, 4},
00139 /* 37 */ { 4, s_2_37, -1, 6},
00140 /* 38 */ { 5, s_2_38, -1, 5},
00141 /* 39 */ { 4, s_2_39, -1, 4},
00142 /* 40 */ { 4, s_2_40, -1, 5},
00143 /* 41 */ { 4, s_2_41, -1, 6},
00144 /* 42 */ { 6, s_2_42, -1, 4},
00145 /* 43 */ { 6, s_2_43, -1, 4},
00146 /* 44 */ { 6, s_2_44, -1, 5},
00147 /* 45 */ { 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 /*  0 */ { 3, s_3_0, -1, 1},
00216 /*  1 */ { 5, s_3_1, -1, 1},
00217 /*  2 */ { 5, s_3_2, -1, 1},
00218 /*  3 */ { 4, s_3_3, -1, 1},
00219 /*  4 */ { 3, s_3_4, -1, 1},
00220 /*  5 */ { 3, s_3_5, -1, 1},
00221 /*  6 */ { 4, s_3_6, -1, 1},
00222 /*  7 */ { 4, s_3_7, -1, 3},
00223 /*  8 */ { 3, s_3_8, -1, 1},
00224 /*  9 */ { 3, s_3_9, -1, 1},
00225 /* 10 */ { 2, s_3_10, -1, 1},
00226 /* 11 */ { 3, s_3_11, -1, 1},
00227 /* 12 */ { 5, s_3_12, -1, 1},
00228 /* 13 */ { 5, s_3_13, -1, 1},
00229 /* 14 */ { 4, s_3_14, -1, 3},
00230 /* 15 */ { 4, s_3_15, -1, 2},
00231 /* 16 */ { 4, s_3_16, -1, 1},
00232 /* 17 */ { 3, s_3_17, -1, 1},
00233 /* 18 */ { 5, s_3_18, 17, 1},
00234 /* 19 */ { 3, s_3_19, -1, 1},
00235 /* 20 */ { 4, s_3_20, -1, 1},
00236 /* 21 */ { 4, s_3_21, -1, 3},
00237 /* 22 */ { 3, s_3_22, -1, 1},
00238 /* 23 */ { 3, s_3_23, -1, 1},
00239 /* 24 */ { 3, s_3_24, -1, 1},
00240 /* 25 */ { 5, s_3_25, -1, 1},
00241 /* 26 */ { 5, s_3_26, -1, 1},
00242 /* 27 */ { 4, s_3_27, -1, 2},
00243 /* 28 */ { 5, s_3_28, -1, 1},
00244 /* 29 */ { 3, s_3_29, -1, 1},
00245 /* 30 */ { 3, s_3_30, -1, 1},
00246 /* 31 */ { 5, s_3_31, 30, 1},
00247 /* 32 */ { 3, s_3_32, -1, 1},
00248 /* 33 */ { 4, s_3_33, -1, 1},
00249 /* 34 */ { 4, s_3_34, -1, 3},
00250 /* 35 */ { 3, s_3_35, -1, 1},
00251 /* 36 */ { 5, s_3_36, -1, 3},
00252 /* 37 */ { 3, s_3_37, -1, 1},
00253 /* 38 */ { 5, s_3_38, -1, 1},
00254 /* 39 */ { 4, s_3_39, -1, 1},
00255 /* 40 */ { 7, s_3_40, -1, 1},
00256 /* 41 */ { 4, s_3_41, -1, 1},
00257 /* 42 */ { 4, s_3_42, -1, 1},
00258 /* 43 */ { 3, s_3_43, -1, 3},
00259 /* 44 */ { 4, s_3_44, -1, 1},
00260 /* 45 */ { 2, s_3_45, -1, 1},
00261 /* 46 */ { 2, s_3_46, -1, 1},
00262 /* 47 */ { 2, s_3_47, -1, 1},
00263 /* 48 */ { 3, s_3_48, -1, 1},
00264 /* 49 */ { 3, s_3_49, -1, 3},
00265 /* 50 */ { 2, s_3_50, -1, 1},
00266 /* 51 */ { 2, s_3_51, -1, 1},
00267 /* 52 */ { 4, s_3_52, -1, 1},
00268 /* 53 */ { 6, s_3_53, -1, 1},
00269 /* 54 */ { 6, s_3_54, -1, 1},
00270 /* 55 */ { 5, s_3_55, -1, 1},
00271 /* 56 */ { 4, s_3_56, -1, 1},
00272 /* 57 */ { 4, s_3_57, -1, 1},
00273 /* 58 */ { 5, s_3_58, -1, 1},
00274 /* 59 */ { 5, s_3_59, -1, 3},
00275 /* 60 */ { 4, s_3_60, -1, 1},
00276 /* 61 */ { 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 /*  0 */ { 2, s_4_0, -1, 1},
00377 /*  1 */ { 2, s_4_1, -1, 1},
00378 /*  2 */ { 3, s_4_2, -1, 1},
00379 /*  3 */ { 4, s_4_3, -1, 1},
00380 /*  4 */ { 3, s_4_4, -1, 1},
00381 /*  5 */ { 4, s_4_5, -1, 1},
00382 /*  6 */ { 3, s_4_6, -1, 1},
00383 /*  7 */ { 3, s_4_7, -1, 1},
00384 /*  8 */ { 3, s_4_8, -1, 1},
00385 /*  9 */ { 4, s_4_9, -1, 1},
00386 /* 10 */ { 2, s_4_10, -1, 2},
00387 /* 11 */ { 3, s_4_11, 10, 1},
00388 /* 12 */ { 4, s_4_12, 10, 2},
00389 /* 13 */ { 3, s_4_13, 10, 1},
00390 /* 14 */ { 3, s_4_14, 10, 1},
00391 /* 15 */ { 4, s_4_15, 10, 1},
00392 /* 16 */ { 5, s_4_16, -1, 1},
00393 /* 17 */ { 6, s_4_17, -1, 1},
00394 /* 18 */ { 3, s_4_18, -1, 1},
00395 /* 19 */ { 2, s_4_19, -1, 1},
00396 /* 20 */ { 3, s_4_20, 19, 1},
00397 /* 21 */ { 3, s_4_21, 19, 1},
00398 /* 22 */ { 3, s_4_22, -1, 2},
00399 /* 23 */ { 5, s_4_23, -1, 1},
00400 /* 24 */ { 6, s_4_24, -1, 1},
00401 /* 25 */ { 2, s_4_25, -1, 1},
00402 /* 26 */ { 3, s_4_26, -1, 1},
00403 /* 27 */ { 4, s_4_27, -1, 1},
00404 /* 28 */ { 5, s_4_28, -1, 2},
00405 /* 29 */ { 6, s_4_29, 28, 1},
00406 /* 30 */ { 7, s_4_30, 28, 2},
00407 /* 31 */ { 6, s_4_31, 28, 1},
00408 /* 32 */ { 6, s_4_32, 28, 1},
00409 /* 33 */ { 7, s_4_33, 28, 1},
00410 /* 34 */ { 4, s_4_34, -1, 1},
00411 /* 35 */ { 4, s_4_35, -1, 1},
00412 /* 36 */ { 5, s_4_36, -1, 1},
00413 /* 37 */ { 3, s_4_37, -1, 1},
00414 /* 38 */ { 4, s_4_38, -1, 2},
00415 /* 39 */ { 5, s_4_39, 38, 1},
00416 /* 40 */ { 5, s_4_40, 38, 1},
00417 /* 41 */ { 4, s_4_41, -1, 2},
00418 /* 42 */ { 4, s_4_42, -1, 2},
00419 /* 43 */ { 7, s_4_43, -1, 1},
00420 /* 44 */ { 8, s_4_44, -1, 2},
00421 /* 45 */ { 9, s_4_45, 44, 1},
00422 /* 46 */ { 10, s_4_46, 44, 2},
00423 /* 47 */ { 9, s_4_47, 44, 1},
00424 /* 48 */ { 9, s_4_48, 44, 1},
00425 /* 49 */ { 10, s_4_49, 44, 1},
00426 /* 50 */ { 7, s_4_50, -1, 1},
00427 /* 51 */ { 7, s_4_51, -1, 1},
00428 /* 52 */ { 8, s_4_52, -1, 1},
00429 /* 53 */ { 5, s_4_53, -1, 2},
00430 /* 54 */ { 2, s_4_54, -1, 1},
00431 /* 55 */ { 3, s_4_55, 54, 1},
00432 /* 56 */ { 3, s_4_56, 54, 1},
00433 /* 57 */ { 2, s_4_57, -1, 2},
00434 /* 58 */ { 4, s_4_58, 57, 1},
00435 /* 59 */ { 5, s_4_59, 57, 2},
00436 /* 60 */ { 4, s_4_60, 57, 1},
00437 /* 61 */ { 4, s_4_61, 57, 1},
00438 /* 62 */ { 5, s_4_62, 57, 1},
00439 /* 63 */ { 2, s_4_63, -1, 2},
00440 /* 64 */ { 3, s_4_64, -1, 2},
00441 /* 65 */ { 5, s_4_65, 64, 1},
00442 /* 66 */ { 6, s_4_66, 64, 2},
00443 /* 67 */ { 7, s_4_67, 66, 1},
00444 /* 68 */ { 8, s_4_68, 66, 2},
00445 /* 69 */ { 7, s_4_69, 66, 1},
00446 /* 70 */ { 7, s_4_70, 66, 1},
00447 /* 71 */ { 8, s_4_71, 66, 1},
00448 /* 72 */ { 5, s_4_72, 64, 1},
00449 /* 73 */ { 5, s_4_73, 64, 1},
00450 /* 74 */ { 6, s_4_74, 64, 1},
00451 /* 75 */ { 3, s_4_75, -1, 2},
00452 /* 76 */ { 2, s_4_76, -1, 1},
00453 /* 77 */ { 3, s_4_77, 76, 1},
00454 /* 78 */ { 3, s_4_78, 76, 1},
00455 /* 79 */ { 4, s_4_79, -1, 1},
00456 /* 80 */ { 5, s_4_80, -1, 1},
00457 /* 81 */ { 2, s_4_81, -1, 1},
00458 /* 82 */ { 6, s_4_82, -1, 1},
00459 /* 83 */ { 4, s_4_83, -1, 1},
00460 /* 84 */ { 5, s_4_84, -1, 2},
00461 /* 85 */ { 6, s_4_85, 84, 1},
00462 /* 86 */ { 7, s_4_86, 84, 2},
00463 /* 87 */ { 6, s_4_87, 84, 1},
00464 /* 88 */ { 6, s_4_88, 84, 1},
00465 /* 89 */ { 7, s_4_89, 84, 1},
00466 /* 90 */ { 4, s_4_90, -1, 1},
00467 /* 91 */ { 4, s_4_91, -1, 1},
00468 /* 92 */ { 5, s_4_92, -1, 1},
00469 /* 93 */ { 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 /*  0 */ { 1, s_5_0, -1, 1},
00481 /*  1 */ { 1, s_5_1, -1, 1},
00482 /*  2 */ { 2, s_5_2, 1, 1},
00483 /*  3 */ { 1, s_5_3, -1, 1},
00484 /*  4 */ { 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() { /* forwardmode */
00511     while(1) { /* repeat, line 32 */
00512         int c1 = c;
00513         while(1) { /* goto, line 32 */
00514             int c2 = c;
00515             if (in_grouping_U(g_v, 97, 259, 0)) goto lab1; /* grouping v, line 33 */
00516             bra = c; /* [, line 33 */
00517             {   int c3 = c; /* or, line 33 */
00518                 if (c == l || p[c] != 'u') goto lab3;
00519                 c++;
00520                 ket = c; /* ], line 33 */
00521                 if (in_grouping_U(g_v, 97, 259, 0)) goto lab3; /* grouping v, line 33 */
00522                 {   int ret = slice_from_s(1, s_0); /* <-, line 33 */
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; /* ], line 34 */
00531                 if (in_grouping_U(g_v, 97, 259, 0)) goto lab1; /* grouping v, line 34 */
00532                 {   int ret = slice_from_s(1, s_1); /* <-, line 34 */
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; /* goto, line 32 */
00544             }
00545         }
00546         continue;
00547     lab0:
00548         c = c1;
00549         break;
00550     }
00551     return 1;
00552 }
00553 
00554 int Xapian::InternalStemRomanian::r_mark_regions() { /* forwardmode */
00555     I_pV = l; /* pV = <integer expression>, line 40 */
00556     I_p1 = l; /* p1 = <integer expression>, line 41 */
00557     I_p2 = l; /* p2 = <integer expression>, line 42 */
00558     {   int c1 = c; /* do, line 44 */
00559         {   int c2 = c; /* or, line 46 */
00560             if (in_grouping_U(g_v, 97, 259, 0)) goto lab2; /* grouping v, line 45 */
00561             {   int c3 = c; /* or, line 45 */
00562                 if (out_grouping_U(g_v, 97, 259, 0)) goto lab4; /* non v, line 45 */
00563                 {   int ret = out_grouping_U(g_v, 97, 259, 1); /* gopast */ /* grouping v, line 45 */
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; /* grouping v, line 45 */
00571                 {   int ret = in_grouping_U(g_v, 97, 259, 1); /* gopast */ /* non v, line 45 */
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; /* non v, line 47 */
00581             {   int c4 = c; /* or, line 47 */
00582                 if (out_grouping_U(g_v, 97, 259, 0)) goto lab6; /* non v, line 47 */
00583                 {   int ret = out_grouping_U(g_v, 97, 259, 1); /* gopast */ /* grouping v, line 47 */
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; /* grouping v, line 47 */
00591                 {   int ret = skip_utf8(p, c, 0, l, 1);
00592                     if (ret < 0) goto lab0;
00593                     c = ret; /* next, line 47 */
00594                 }
00595             }
00596         lab5:
00597             ;
00598         }
00599     lab1:
00600         I_pV = c; /* setmark pV, line 48 */
00601     lab0:
00602         c = c1;
00603     }
00604     {   int c5 = c; /* do, line 50 */
00605         {   int ret = out_grouping_U(g_v, 97, 259, 1); /* gopast */ /* grouping v, line 51 */
00606             if (ret < 0) goto lab7;
00607             c += ret;
00608         }
00609         {   int ret = in_grouping_U(g_v, 97, 259, 1); /* gopast */ /* non v, line 51 */
00610             if (ret < 0) goto lab7;
00611             c += ret;
00612         }
00613         I_p1 = c; /* setmark p1, line 51 */
00614         {   int ret = out_grouping_U(g_v, 97, 259, 1); /* gopast */ /* grouping v, line 52 */
00615             if (ret < 0) goto lab7;
00616             c += ret;
00617         }
00618         {   int ret = in_grouping_U(g_v, 97, 259, 1); /* gopast */ /* non v, line 52 */
00619             if (ret < 0) goto lab7;
00620             c += ret;
00621         }
00622         I_p2 = c; /* setmark p2, line 52 */
00623     lab7:
00624         c = c5;
00625     }
00626     return 1;
00627 }
00628 
00629 int Xapian::InternalStemRomanian::r_postlude() { /* forwardmode */
00630     int among_var;
00631     while(1) { /* repeat, line 56 */
00632         int c1 = c;
00633         bra = c; /* [, line 58 */
00634         if (c >= l || (p[c + 0] != 73 && p[c + 0] != 85)) among_var = 3; else /* substring, line 58 */
00635         among_var = find_among(a_0, 3, 0, 0);
00636         if (!(among_var)) goto lab0;
00637         ket = c; /* ], line 58 */
00638         switch(among_var) { /* among, line 58 */
00639             case 0: goto lab0;
00640             case 1:
00641                 {   int ret = slice_from_s(1, s_2); /* <-, line 59 */
00642                     if (ret < 0) return ret;
00643                 }
00644                 break;
00645             case 2:
00646                 {   int ret = slice_from_s(1, s_3); /* <-, line 60 */
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; /* next, line 61 */
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() { /* backwardmode */
00666     if (!(I_pV <= c)) return 0; /* pV <= <integer expression>, line 68 */
00667     return 1;
00668 }
00669 
00670 int Xapian::InternalStemRomanian::r_R1() { /* backwardmode */
00671     if (!(I_p1 <= c)) return 0; /* p1 <= <integer expression>, line 69 */
00672     return 1;
00673 }
00674 
00675 int Xapian::InternalStemRomanian::r_R2() { /* backwardmode */
00676     if (!(I_p2 <= c)) return 0; /* p2 <= <integer expression>, line 70 */
00677     return 1;
00678 }
00679 
00680 int Xapian::InternalStemRomanian::r_step_0() { /* backwardmode */
00681     int among_var;
00682     ket = c; /* [, line 73 */
00683     if (c - 1 <= lb || p[c - 1] >> 5 != 3 || !((266786 >> (p[c - 1] & 0x1f)) & 1)) return 0; /* substring, line 73 */
00684     among_var = find_among_b(a_1, 16, 0, 0);
00685     if (!(among_var)) return 0;
00686     bra = c; /* ], line 73 */
00687     {   int ret = r_R1(); /* call R1, line 73 */
00688         if (ret <= 0) return ret;
00689     }
00690     switch(among_var) { /* among, line 73 */
00691         case 0: return 0;
00692         case 1:
00693             if (slice_del() == -1) return -1; /* delete, line 75 */
00694             break;
00695         case 2:
00696             {   int ret = slice_from_s(1, s_4); /* <-, line 77 */
00697                 if (ret < 0) return ret;
00698             }
00699             break;
00700         case 3:
00701             {   int ret = slice_from_s(1, s_5); /* <-, line 79 */
00702                 if (ret < 0) return ret;
00703             }
00704             break;
00705         case 4:
00706             {   int ret = slice_from_s(1, s_6); /* <-, line 81 */
00707                 if (ret < 0) return ret;
00708             }
00709             break;
00710         case 5:
00711             {   int m1 = l - c; (void)m1; /* not, line 83 */
00712                 if (!(eq_s_b(2, s_7))) goto lab0; /* literal, line 83 */
00713                 return 0;
00714             lab0:
00715                 c = l - m1;
00716             }
00717             {   int ret = slice_from_s(1, s_8); /* <-, line 83 */
00718                 if (ret < 0) return ret;
00719             }
00720             break;
00721         case 6:
00722             {   int ret = slice_from_s(2, s_9); /* <-, line 85 */
00723                 if (ret < 0) return ret;
00724             }
00725             break;
00726         case 7:
00727             {   int ret = slice_from_s(4, s_10); /* <-, line 87 */
00728                 if (ret < 0) return ret;
00729             }
00730             break;
00731     }
00732     return 1;
00733 }
00734 
00735 int Xapian::InternalStemRomanian::r_combo_suffix() { /* backwardmode */
00736     int among_var;
00737     {   int m_test1 = l - c; /* test, line 91 */
00738         ket = c; /* [, line 92 */
00739         among_var = find_among_b(a_2, 46, 0, 0); /* substring, line 92 */
00740         if (!(among_var)) return 0;
00741         bra = c; /* ], line 92 */
00742         {   int ret = r_R1(); /* call R1, line 92 */
00743             if (ret <= 0) return ret;
00744         }
00745         switch(among_var) { /* among, line 93 */
00746             case 0: return 0;
00747             case 1:
00748                 {   int ret = slice_from_s(4, s_11); /* <-, line 101 */
00749                     if (ret < 0) return ret;
00750                 }
00751                 break;
00752             case 2:
00753                 {   int ret = slice_from_s(4, s_12); /* <-, line 104 */
00754                     if (ret < 0) return ret;
00755                 }
00756                 break;
00757             case 3:
00758                 {   int ret = slice_from_s(2, s_13); /* <-, line 107 */
00759                     if (ret < 0) return ret;
00760                 }
00761                 break;
00762             case 4:
00763                 {   int ret = slice_from_s(2, s_14); /* <-, line 113 */
00764                     if (ret < 0) return ret;
00765                 }
00766                 break;
00767             case 5:
00768                 {   int ret = slice_from_s(2, s_15); /* <-, line 118 */
00769                     if (ret < 0) return ret;
00770                 }
00771                 break;
00772             case 6:
00773                 {   int ret = slice_from_s(2, s_16); /* <-, line 122 */
00774                     if (ret < 0) return ret;
00775                 }
00776                 break;
00777         }
00778         B_standard_suffix_removed = 1; /* set standard_suffix_removed, line 125 */
00779         c = l - m_test1;
00780     }
00781     return 1;
00782 }
00783 
00784 int Xapian::InternalStemRomanian::r_standard_suffix() { /* backwardmode */
00785     int among_var;
00786     B_standard_suffix_removed = 0; /* unset standard_suffix_removed, line 130 */
00787     while(1) { /* repeat, line 131 */
00788         int m1 = l - c; (void)m1;
00789         {   int ret = r_combo_suffix(); /* call combo_suffix, line 131 */
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; /* [, line 132 */
00799     among_var = find_among_b(a_3, 62, 0, 0); /* substring, line 132 */
00800     if (!(among_var)) return 0;
00801     bra = c; /* ], line 132 */
00802     {   int ret = r_R2(); /* call R2, line 132 */
00803         if (ret <= 0) return ret;
00804     }
00805     switch(among_var) { /* among, line 133 */
00806         case 0: return 0;
00807         case 1:
00808             if (slice_del() == -1) return -1; /* delete, line 149 */
00809             break;
00810         case 2:
00811             if (!(eq_s_b(2, s_17))) return 0; /* literal, line 152 */
00812             bra = c; /* ], line 152 */
00813             {   int ret = slice_from_s(1, s_18); /* <-, line 152 */
00814                 if (ret < 0) return ret;
00815             }
00816             break;
00817         case 3:
00818             {   int ret = slice_from_s(3, s_19); /* <-, line 156 */
00819                 if (ret < 0) return ret;
00820             }
00821             break;
00822     }
00823     B_standard_suffix_removed = 1; /* set standard_suffix_removed, line 160 */
00824     return 1;
00825 }
00826 
00827 int Xapian::InternalStemRomanian::r_verb_suffix() { /* backwardmode */
00828     int among_var;
00829     {   int m1 = l - c; (void)m1; /* setlimit, line 164 */
00830         int mlimit1;
00831         if (c < I_pV) return 0;
00832         c = I_pV; /* tomark, line 164 */
00833         mlimit1 = lb; lb = c;
00834         c = l - m1;
00835         ket = c; /* [, line 165 */
00836         among_var = find_among_b(a_4, 94, 0, 0); /* substring, line 165 */
00837         if (!(among_var)) { lb = mlimit1; return 0; }
00838         bra = c; /* ], line 165 */
00839         switch(among_var) { /* among, line 165 */
00840             case 0: { lb = mlimit1; return 0; }
00841             case 1:
00842                 {   int m2 = l - c; (void)m2; /* or, line 200 */
00843                     if (out_grouping_b_U(g_v, 97, 259, 0)) goto lab1; /* non v, line 200 */
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; /* delete, line 200 */
00852                 break;
00853             case 2:
00854                 if (slice_del() == -1) return -1; /* delete, line 214 */
00855                 break;
00856         }
00857         lb = mlimit1;
00858     }
00859     return 1;
00860 }
00861 
00862 int Xapian::InternalStemRomanian::r_vowel_suffix() { /* backwardmode */
00863     int among_var;
00864     ket = c; /* [, line 219 */
00865     among_var = find_among_b(a_5, 5, 0, 0); /* substring, line 219 */
00866     if (!(among_var)) return 0;
00867     bra = c; /* ], line 219 */
00868     {   int ret = r_RV(); /* call RV, line 219 */
00869         if (ret <= 0) return ret;
00870     }
00871     switch(among_var) { /* among, line 219 */
00872         case 0: return 0;
00873         case 1:
00874             if (slice_del() == -1) return -1; /* delete, line 220 */
00875             break;
00876     }
00877     return 1;
00878 }
00879 
00880 int Xapian::InternalStemRomanian::stem() { /* forwardmode */
00881     {   int c1 = c; /* do, line 226 */
00882         {   int ret = r_prelude(); /* call prelude, line 226 */
00883             if (ret == 0) goto lab0;
00884             if (ret < 0) return ret;
00885         }
00886     lab0:
00887         c = c1;
00888     }
00889     {   int c2 = c; /* do, line 227 */
00890         {   int ret = r_mark_regions(); /* call mark_regions, line 227 */
00891             if (ret == 0) goto lab1;
00892             if (ret < 0) return ret;
00893         }
00894     lab1:
00895         c = c2;
00896     }
00897     lb = c; c = l; /* backwards, line 228 */
00898 
00899     {   int m3 = l - c; (void)m3; /* do, line 229 */
00900         {   int ret = r_step_0(); /* call step_0, line 229 */
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; /* do, line 230 */
00908         {   int ret = r_standard_suffix(); /* call standard_suffix, line 230 */
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; /* do, line 231 */
00916         {   int m6 = l - c; (void)m6; /* or, line 231 */
00917             if (!(B_standard_suffix_removed)) goto lab6; /* Boolean test standard_suffix_removed, line 231 */
00918             goto lab5;
00919         lab6:
00920             c = l - m6;
00921             {   int ret = r_verb_suffix(); /* call verb_suffix, line 231 */
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; /* do, line 232 */
00931         {   int ret = r_vowel_suffix(); /* call vowel_suffix, line 232 */
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; /* do, line 234 */
00940         {   int ret = r_postlude(); /* call postlude, line 234 */
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 }

Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.