⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stem_iso_8859_1_french.c

📁 firtext搜索引擎源码
💻 C
📖 第 1 页 / 共 4 页
字号:
/* 34 */ { 5, s_6_34, 33, 2, 0},/* 35 */ { 6, s_6_35, 33, 3, 0},/* 36 */ { 4, s_6_36, 32, 2, 0},/* 37 */ { 1, s_6_37, -1, 2, 0}};static const symbol s_7_0[1] = { 'e' };static const symbol s_7_1[4] = { 'I', 0xE8, 'r', 'e' };static const symbol s_7_2[4] = { 'i', 0xE8, 'r', 'e' };static const symbol s_7_3[3] = { 'i', 'o', 'n' };static const symbol s_7_4[3] = { 'I', 'e', 'r' };static const symbol s_7_5[3] = { 'i', 'e', 'r' };static const symbol s_7_6[1] = { 0xEB };static const struct among a_7[7] ={/*  0 */ { 1, s_7_0, -1, 3, 0},/*  1 */ { 4, s_7_1, 0, 2, 0},/*  2 */ { 4, s_7_2, 0, 2, 0},/*  3 */ { 3, s_7_3, -1, 1, 0},/*  4 */ { 3, s_7_4, -1, 2, 0},/*  5 */ { 3, s_7_5, -1, 2, 0},/*  6 */ { 1, s_7_6, -1, 4, 0}};static const symbol s_8_0[3] = { 'e', 'l', 'l' };static const symbol s_8_1[4] = { 'e', 'i', 'l', 'l' };static const symbol s_8_2[3] = { 'e', 'n', 'n' };static const symbol s_8_3[3] = { 'o', 'n', 'n' };static const symbol s_8_4[3] = { 'e', 't', 't' };static const struct among a_8[5] ={/*  0 */ { 3, s_8_0, -1, -1, 0},/*  1 */ { 4, s_8_1, -1, -1, 0},/*  2 */ { 3, s_8_2, -1, -1, 0},/*  3 */ { 3, s_8_3, -1, -1, 0},/*  4 */ { 3, s_8_4, -1, -1, 0}};static const unsigned char g_v[] = { 17, 65, 16, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 130, 103, 8, 5 };static const unsigned char g_keep_with_s[] = { 1, 65, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128 };static const symbol s_0[] = { 'u' };static const symbol s_1[] = { 'U' };static const symbol s_2[] = { 'i' };static const symbol s_3[] = { 'I' };static const symbol s_4[] = { 'y' };static const symbol s_5[] = { 'Y' };static const symbol s_6[] = { 'y' };static const symbol s_7[] = { 'Y' };static const symbol s_8[] = { 'q' };static const symbol s_9[] = { 'u' };static const symbol s_10[] = { 'U' };static const symbol s_11[] = { 'i' };static const symbol s_12[] = { 'u' };static const symbol s_13[] = { 'y' };static const symbol s_14[] = { 'i', 'c' };static const symbol s_15[] = { 'i', 'q', 'U' };static const symbol s_16[] = { 'l', 'o', 'g' };static const symbol s_17[] = { 'u' };static const symbol s_18[] = { 'e', 'n', 't' };static const symbol s_19[] = { 'a', 't' };static const symbol s_20[] = { 'e', 'u', 'x' };static const symbol s_21[] = { 'i' };static const symbol s_22[] = { 'a', 'b', 'l' };static const symbol s_23[] = { 'i', 'q', 'U' };static const symbol s_24[] = { 'a', 't' };static const symbol s_25[] = { 'i', 'c' };static const symbol s_26[] = { 'i', 'q', 'U' };static const symbol s_27[] = { 'e', 'a', 'u' };static const symbol s_28[] = { 'a', 'l' };static const symbol s_29[] = { 'e', 'u', 'x' };static const symbol s_30[] = { 'a', 'n', 't' };static const symbol s_31[] = { 'e', 'n', 't' };static const symbol s_32[] = { 'e' };static const symbol s_33[] = { 's' };static const symbol s_34[] = { 's' };static const symbol s_35[] = { 't' };static const symbol s_36[] = { 'i' };static const symbol s_37[] = { 'g', 'u' };static const symbol s_38[] = { 0xE9 };static const symbol s_39[] = { 0xE8 };static const symbol s_40[] = { 'e' };static const symbol s_41[] = { 'Y' };static const symbol s_42[] = { 'i' };static const symbol s_43[] = { 0xE7 };static const symbol s_44[] = { 'c' };static int r_prelude(struct SN_env * z) {    while(1) { /* repeat, line 38 */        int c = z->c;        while(1) { /* goto, line 38 */            int c = z->c;            {   int c = z->c; /* or, line 44 */                if (!(in_grouping(z, g_v, 97, 251))) goto lab3;                z->bra = z->c; /* [, line 40 */                {   int c = z->c; /* or, line 40 */                    if (!(eq_s(z, 1, s_0))) goto lab5;                    z->ket = z->c; /* ], line 40 */                    if (!(in_grouping(z, g_v, 97, 251))) goto lab5;                    {   int ret;                        ret = slice_from_s(z, 1, s_1); /* <-, line 40 */                        if (ret < 0) return ret;                    }                    goto lab4;                lab5:                    z->c = c;                    if (!(eq_s(z, 1, s_2))) goto lab6;                    z->ket = z->c; /* ], line 41 */                    if (!(in_grouping(z, g_v, 97, 251))) goto lab6;                    {   int ret;                        ret = slice_from_s(z, 1, s_3); /* <-, line 41 */                        if (ret < 0) return ret;                    }                    goto lab4;                lab6:                    z->c = c;                    if (!(eq_s(z, 1, s_4))) goto lab3;                    z->ket = z->c; /* ], line 42 */                    {   int ret;                        ret = slice_from_s(z, 1, s_5); /* <-, line 42 */                        if (ret < 0) return ret;                    }                }            lab4:                goto lab2;            lab3:                z->c = c;                z->bra = z->c; /* [, line 45 */                if (!(eq_s(z, 1, s_6))) goto lab7;                z->ket = z->c; /* ], line 45 */                if (!(in_grouping(z, g_v, 97, 251))) goto lab7;                {   int ret;                    ret = slice_from_s(z, 1, s_7); /* <-, line 45 */                    if (ret < 0) return ret;                }                goto lab2;            lab7:                z->c = c;                if (!(eq_s(z, 1, s_8))) goto lab1;                z->bra = z->c; /* [, line 47 */                if (!(eq_s(z, 1, s_9))) goto lab1;                z->ket = z->c; /* ], line 47 */                {   int ret;                    ret = slice_from_s(z, 1, s_10); /* <-, line 47 */                    if (ret < 0) return ret;                }            }        lab2:            z->c = c;            break;        lab1:            z->c = c;            if (z->c >= z->l) goto lab0;            z->c++; /* goto, line 38 */        }        continue;    lab0:        z->c = c;        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 c = z->c; /* do, line 56 */        {   int c = z->c; /* or, line 58 */            if (!(in_grouping(z, g_v, 97, 251))) goto lab2;            if (!(in_grouping(z, g_v, 97, 251))) goto lab2;            if (z->c >= z->l) goto lab2;            z->c++; /* next, line 57 */            goto lab1;        lab2:            z->c = c;            if (z->c + 2 >= z->l || z->p[z->c + 2] >> 5 != 3 || !((331776 >> (z->p[z->c + 2] & 0x1f)) & 1)) goto lab3;            if (!(find_among(z, a_0, 3))) goto lab3; /* among, line 59 */            goto lab1;        lab3:            z->c = c;            if (z->c >= z->l) goto lab0;            z->c++; /* next, line 66 */            while(1) { /* gopast, line 66 */                if (!(in_grouping(z, g_v, 97, 251))) goto lab4;                break;            lab4:                if (z->c >= z->l) goto lab0;                z->c++; /* gopast, line 66 */            }        }    lab1:        z->I[0] = z->c; /* setmark pV, line 67 */    lab0:        z->c = c;    }    {   int c = z->c; /* do, line 69 */        while(1) { /* gopast, line 70 */            if (!(in_grouping(z, g_v, 97, 251))) goto lab6;            break;        lab6:            if (z->c >= z->l) goto lab5;            z->c++; /* gopast, line 70 */        }        while(1) { /* gopast, line 70 */            if (!(out_grouping(z, g_v, 97, 251))) goto lab7;            break;        lab7:            if (z->c >= z->l) goto lab5;            z->c++; /* gopast, line 70 */        }        z->I[1] = z->c; /* setmark p1, line 70 */        while(1) { /* gopast, line 71 */            if (!(in_grouping(z, g_v, 97, 251))) goto lab8;            break;        lab8:            if (z->c >= z->l) goto lab5;            z->c++; /* gopast, line 71 */        }        while(1) { /* gopast, line 71 */            if (!(out_grouping(z, g_v, 97, 251))) goto lab9;            break;        lab9:            if (z->c >= z->l) goto lab5;            z->c++; /* gopast, line 71 */        }        z->I[2] = z->c; /* setmark p2, line 71 */    lab5:        z->c = c;    }    return 1;}static int r_postlude(struct SN_env * z) {    int among_var;    while(1) { /* repeat, line 75 */        int c = z->c;        z->bra = z->c; /* [, line 77 */        if (z->c + 0 >= z->l || z->p[z->c + 0] >> 5 != 2 || !((35652096 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 4; else        among_var = find_among(z, a_1, 4); /* substring, line 77 */        if (!(among_var)) goto lab0;        z->ket = z->c; /* ], line 77 */        switch(among_var) {            case 0: goto lab0;            case 1:                {   int ret;                    ret = slice_from_s(z, 1, s_11); /* <-, line 78 */                    if (ret < 0) return ret;                }                break;            case 2:                {   int ret;                    ret = slice_from_s(z, 1, s_12); /* <-, line 79 */                    if (ret < 0) return ret;                }                break;            case 3:                {   int ret;                    ret = slice_from_s(z, 1, s_13); /* <-, line 80 */                    if (ret < 0) return ret;                }                break;            case 4:                if (z->c >= z->l) goto lab0;                z->c++; /* next, line 81 */                break;        }        continue;    lab0:        z->c = c;        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 92 */    among_var = find_among_b(z, a_4, 43); /* substring, line 92 */    if (!(among_var)) return 0;    z->bra = z->c; /* ], line 92 */    switch(among_var) {        case 0: return 0;        case 1:            {   int ret = r_R2(z);                if (ret == 0) return 0; /* call R2, line 96 */                if (ret < 0) return ret;            }            {   int ret;                ret = slice_del(z); /* delete, line 96 */                if (ret < 0) return ret;            }            break;        case 2:            {   int ret = r_R2(z);                if (ret == 0) return 0; /* call R2, line 99 */                if (ret < 0) return ret;            }            {   int ret;                ret = slice_del(z); /* delete, line 99 */                if (ret < 0) return ret;            }            {   int m = z->l - z->c; (void) m; /* try, line 100 */                z->ket = z->c; /* [, line 100 */                if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m; goto lab0; }                z->bra = z->c; /* ], line 100 */                {   int m = z->l - z->c; (void) m; /* or, line 100 */                    {   int ret = r_R2(z);                        if (ret == 0) goto lab2; /* call R2, line 100 */                        if (ret < 0) return ret;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -