📄 stem_iso_8859_1_portuguese.c
字号:
/* 33 */ { 5, s_6_33, 29, 1, 0},/* 34 */ { 5, s_6_34, 29, 1, 0},/* 35 */ { 5, s_6_35, 29, 1, 0},/* 36 */ { 3, s_6_36, -1, 1, 0},/* 37 */ { 3, s_6_37, -1, 1, 0},/* 38 */ { 4, s_6_38, -1, 1, 0},/* 39 */ { 4, s_6_39, -1, 1, 0},/* 40 */ { 4, s_6_40, -1, 1, 0},/* 41 */ { 5, s_6_41, -1, 1, 0},/* 42 */ { 5, s_6_42, -1, 1, 0},/* 43 */ { 5, s_6_43, -1, 1, 0},/* 44 */ { 2, s_6_44, -1, 1, 0},/* 45 */ { 2, s_6_45, -1, 1, 0},/* 46 */ { 2, s_6_46, -1, 1, 0},/* 47 */ { 2, s_6_47, -1, 1, 0},/* 48 */ { 4, s_6_48, 47, 1, 0},/* 49 */ { 4, s_6_49, 47, 1, 0},/* 50 */ { 3, s_6_50, 47, 1, 0},/* 51 */ { 5, s_6_51, 50, 1, 0},/* 52 */ { 5, s_6_52, 50, 1, 0},/* 53 */ { 5, s_6_53, 50, 1, 0},/* 54 */ { 4, s_6_54, 47, 1, 0},/* 55 */ { 4, s_6_55, 47, 1, 0},/* 56 */ { 4, s_6_56, 47, 1, 0},/* 57 */ { 4, s_6_57, 47, 1, 0},/* 58 */ { 2, s_6_58, -1, 1, 0},/* 59 */ { 5, s_6_59, 58, 1, 0},/* 60 */ { 5, s_6_60, 58, 1, 0},/* 61 */ { 5, s_6_61, 58, 1, 0},/* 62 */ { 4, s_6_62, 58, 1, 0},/* 63 */ { 4, s_6_63, 58, 1, 0},/* 64 */ { 4, s_6_64, 58, 1, 0},/* 65 */ { 5, s_6_65, 58, 1, 0},/* 66 */ { 5, s_6_66, 58, 1, 0},/* 67 */ { 5, s_6_67, 58, 1, 0},/* 68 */ { 5, s_6_68, 58, 1, 0},/* 69 */ { 5, s_6_69, 58, 1, 0},/* 70 */ { 5, s_6_70, 58, 1, 0},/* 71 */ { 2, s_6_71, -1, 1, 0},/* 72 */ { 3, s_6_72, 71, 1, 0},/* 73 */ { 3, s_6_73, 71, 1, 0},/* 74 */ { 5, s_6_74, 73, 1, 0},/* 75 */ { 5, s_6_75, 73, 1, 0},/* 76 */ { 5, s_6_76, 73, 1, 0},/* 77 */ { 5, s_6_77, 73, 1, 0},/* 78 */ { 5, s_6_78, 73, 1, 0},/* 79 */ { 5, s_6_79, 73, 1, 0},/* 80 */ { 6, s_6_80, 73, 1, 0},/* 81 */ { 6, s_6_81, 73, 1, 0},/* 82 */ { 6, s_6_82, 73, 1, 0},/* 83 */ { 5, s_6_83, 73, 1, 0},/* 84 */ { 4, s_6_84, 73, 1, 0},/* 85 */ { 6, s_6_85, 84, 1, 0},/* 86 */ { 6, s_6_86, 84, 1, 0},/* 87 */ { 6, s_6_87, 84, 1, 0},/* 88 */ { 4, s_6_88, -1, 1, 0},/* 89 */ { 4, s_6_89, -1, 1, 0},/* 90 */ { 4, s_6_90, -1, 1, 0},/* 91 */ { 6, s_6_91, 90, 1, 0},/* 92 */ { 6, s_6_92, 90, 1, 0},/* 93 */ { 6, s_6_93, 90, 1, 0},/* 94 */ { 6, s_6_94, 90, 1, 0},/* 95 */ { 5, s_6_95, 90, 1, 0},/* 96 */ { 7, s_6_96, 95, 1, 0},/* 97 */ { 7, s_6_97, 95, 1, 0},/* 98 */ { 7, s_6_98, 95, 1, 0},/* 99 */ { 4, s_6_99, -1, 1, 0},/*100 */ { 6, s_6_100, 99, 1, 0},/*101 */ { 6, s_6_101, 99, 1, 0},/*102 */ { 6, s_6_102, 99, 1, 0},/*103 */ { 7, s_6_103, 99, 1, 0},/*104 */ { 7, s_6_104, 99, 1, 0},/*105 */ { 7, s_6_105, 99, 1, 0},/*106 */ { 4, s_6_106, -1, 1, 0},/*107 */ { 5, s_6_107, -1, 1, 0},/*108 */ { 5, s_6_108, -1, 1, 0},/*109 */ { 5, s_6_109, -1, 1, 0},/*110 */ { 4, s_6_110, -1, 1, 0},/*111 */ { 4, s_6_111, -1, 1, 0},/*112 */ { 4, s_6_112, -1, 1, 0},/*113 */ { 4, s_6_113, -1, 1, 0},/*114 */ { 2, s_6_114, -1, 1, 0},/*115 */ { 2, s_6_115, -1, 1, 0},/*116 */ { 2, s_6_116, -1, 1, 0},/*117 */ { 3, s_6_117, -1, 1, 0},/*118 */ { 3, s_6_118, -1, 1, 0},/*119 */ { 3, s_6_119, -1, 1, 0}};static const symbol s_7_0[1] = { 'a' };static const symbol s_7_1[1] = { 'i' };static const symbol s_7_2[1] = { 'o' };static const symbol s_7_3[2] = { 'o', 's' };static const symbol s_7_4[1] = { 0xE1 };static const symbol s_7_5[1] = { 0xED };static const symbol s_7_6[1] = { 0xF3 };static const struct among a_7[7] ={/* 0 */ { 1, s_7_0, -1, 1, 0},/* 1 */ { 1, s_7_1, -1, 1, 0},/* 2 */ { 1, s_7_2, -1, 1, 0},/* 3 */ { 2, s_7_3, -1, 1, 0},/* 4 */ { 1, s_7_4, -1, 1, 0},/* 5 */ { 1, s_7_5, -1, 1, 0},/* 6 */ { 1, s_7_6, -1, 1, 0}};static const symbol s_8_0[1] = { 'e' };static const symbol s_8_1[1] = { 0xE7 };static const symbol s_8_2[1] = { 0xE9 };static const symbol s_8_3[1] = { 0xEA };static const struct among a_8[4] ={/* 0 */ { 1, s_8_0, -1, 1, 0},/* 1 */ { 1, s_8_1, -1, 2, 0},/* 2 */ { 1, s_8_2, -1, 1, 0},/* 3 */ { 1, s_8_3, -1, 1, 0}};static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 19, 12, 2 };static const symbol s_0[] = { 'a', '~' };static const symbol s_1[] = { 'o', '~' };static const symbol s_2[] = { 0xE3 };static const symbol s_3[] = { 0xF5 };static const symbol s_4[] = { 'l', 'o', 'g' };static const symbol s_5[] = { 'u' };static const symbol s_6[] = { 'e', 'n', 't', 'e' };static const symbol s_7[] = { 'a', 't' };static const symbol s_8[] = { 'a', 't' };static const symbol s_9[] = { 'e' };static const symbol s_10[] = { 'i', 'r' };static const symbol s_11[] = { 'u' };static const symbol s_12[] = { 'g' };static const symbol s_13[] = { 'i' };static const symbol s_14[] = { 'c' };static const symbol s_15[] = { 'c' };static const symbol s_16[] = { 'i' };static const symbol s_17[] = { 'c' };static int r_prelude(struct SN_env * z) { int among_var; while(1) { /* repeat, line 36 */ int c1 = z->c; z->bra = z->c; /* [, line 37 */ if (z->c >= z->l || (z->p[z->c + 0] != 227 && z->p[z->c + 0] != 245)) among_var = 3; else among_var = find_among(z, a_0, 3); /* substring, line 37 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 37 */ switch(among_var) { case 0: goto lab0; case 1: { int ret = slice_from_s(z, 2, s_0); /* <-, line 38 */ if (ret < 0) return ret; } break; case 2: { int ret = slice_from_s(z, 2, s_1); /* <-, line 39 */ if (ret < 0) return ret; } break; case 3: if (z->c >= z->l) goto lab0; z->c++; /* next, line 40 */ break; } continue; lab0: z->c = c1; break; } return 1;}static int r_mark_regions(struct SN_env * z) { z->I[0] = z->l; z->I[1] = z->l; z->I[2] = z->l; { int c1 = z->c; /* do, line 50 */ { int c2 = z->c; /* or, line 52 */ if (in_grouping(z, g_v, 97, 250, 0)) goto lab2; { int c3 = z->c; /* or, line 51 */ if (out_grouping(z, g_v, 97, 250, 0)) goto lab4; { /* gopast */ /* grouping v, line 51 */ int ret = out_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab4; z->c += ret; } goto lab3; lab4: z->c = c3; if (in_grouping(z, g_v, 97, 250, 0)) goto lab2; { /* gopast */ /* non v, line 51 */ int ret = in_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab2; z->c += ret; } } lab3: goto lab1; lab2: z->c = c2; if (out_grouping(z, g_v, 97, 250, 0)) goto lab0; { int c4 = z->c; /* or, line 53 */ if (out_grouping(z, g_v, 97, 250, 0)) goto lab6; { /* gopast */ /* grouping v, line 53 */ int ret = out_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab6; z->c += ret; } goto lab5; lab6: z->c = c4; if (in_grouping(z, g_v, 97, 250, 0)) goto lab0; if (z->c >= z->l) goto lab0; z->c++; /* next, line 53 */ } lab5: ; } lab1: z->I[0] = z->c; /* setmark pV, line 54 */ lab0: z->c = c1; } { int c5 = z->c; /* do, line 56 */ { /* gopast */ /* grouping v, line 57 */ int ret = out_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab7; z->c += ret; } { /* gopast */ /* non v, line 57 */ int ret = in_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab7; z->c += ret; } z->I[1] = z->c; /* setmark p1, line 57 */ { /* gopast */ /* grouping v, line 58 */ int ret = out_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab7; z->c += ret; } { /* gopast */ /* non v, line 58 */ int ret = in_grouping(z, g_v, 97, 250, 1); if (ret < 0) goto lab7; z->c += ret; } z->I[2] = z->c; /* setmark p2, line 58 */ lab7: z->c = c5; } return 1;}static int r_postlude(struct SN_env * z) { int among_var; while(1) { /* repeat, line 62 */ int c1 = z->c; z->bra = z->c; /* [, line 63 */ if (z->c + 1 >= z->l || z->p[z->c + 1] != 126) among_var = 3; else among_var = find_among(z, a_1, 3); /* substring, line 63 */ if (!(among_var)) goto lab0; z->ket = z->c; /* ], line 63 */ switch(among_var) { case 0: goto lab0; case 1: { int ret = slice_from_s(z, 1, s_2); /* <-, line 64 */ if (ret < 0) return ret; } break; case 2: { int ret = slice_from_s(z, 1, s_3); /* <-, line 65 */ if (ret < 0) return ret; } break; case 3: if (z->c >= z->l) goto lab0; z->c++; /* next, line 66 */ break; } continue; lab0: z->c = c1; break; } return 1;}static int r_RV(struct SN_env * z) { if (!(z->I[0] <= z->c)) return 0; return 1;}static int r_R1(struct SN_env * z) { if (!(z->I[1] <= z->c)) return 0; return 1;}static int r_R2(struct SN_env * z) { if (!(z->I[2] <= z->c)) return 0; return 1;}static int r_standard_suffix(struct SN_env * z) { int among_var; z->ket = z->c; /* [, line 77 */ if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((839714 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0; among_var = find_among_b(z, a_5, 45); /* substring, line 77 */ if (!(among_var)) return 0; z->bra = z->c; /* ], line 77 */ switch(among_var) { case 0: return 0; case 1: { int ret = r_R2(z); if (ret == 0) return 0; /* call R2, line 93 */ if (ret < 0) return ret; } { int ret = slice_del(z); /* delete, line 93 */ if (ret < 0) return ret; } break; case 2: { int ret = r_R2(z); if (ret == 0) return 0; /* call R2, line 98 */ if (ret < 0) return ret; } { int ret = slice_from_s(z, 3, s_4); /* <-, line 98 */ if (ret < 0) return ret; } break; case 3: { int ret = r_R2(z); if (ret == 0) return 0; /* call R2, line 102 */ if (ret < 0) return ret; } { int ret = slice_from_s(z, 1, s_5); /* <-, line 102 */ if (ret < 0) return ret; }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -