Files
ragflow/internal/cpp/stemmer/stem_UTF_8_french.cpp
Jin Hai 70e9743ef1 RAGFlow go API server (#13240)
# RAGFlow Go Implementation Plan 🚀

This repository tracks the progress of porting RAGFlow to Go. We'll
implement core features and provide performance comparisons between
Python and Go versions.

## Implementation Checklist

- [x] User Management APIs
- [x] Dataset Management Operations
- [x] Retrieval Test
- [x] Chat Management Operations
- [x] Infinity Go SDK

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
Co-authored-by: Yingfeng Zhang <yingfeng.zhang@gmail.com>
2026-03-04 19:17:16 +08:00

1606 lines
53 KiB
C++

/* This file was generated automatically by the Snowball to ANSI C compiler */
#include "header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int french_UTF_8_stem(struct SN_env *z);
#ifdef __cplusplus
}
#endif
static int r_un_accent(struct SN_env *z);
static int r_un_double(struct SN_env *z);
static int r_residual_suffix(struct SN_env *z);
static int r_verb_suffix(struct SN_env *z);
static int r_i_verb_suffix(struct SN_env *z);
static int r_standard_suffix(struct SN_env *z);
static int r_R2(struct SN_env *z);
static int r_R1(struct SN_env *z);
static int r_RV(struct SN_env *z);
static int r_mark_regions(struct SN_env *z);
static int r_postlude(struct SN_env *z);
static int r_prelude(struct SN_env *z);
#ifdef __cplusplus
extern "C" {
#endif
extern struct SN_env *french_UTF_8_create_env(void);
extern void french_UTF_8_close_env(struct SN_env *z);
#ifdef __cplusplus
}
#endif
static const symbol s_0_0[3] = {'c', 'o', 'l'};
static const symbol s_0_1[3] = {'p', 'a', 'r'};
static const symbol s_0_2[3] = {'t', 'a', 'p'};
static const struct among a_0[3] = {
/* 0 */ {3, s_0_0, -1, -1, 0},
/* 1 */ {3, s_0_1, -1, -1, 0},
/* 2 */ {3, s_0_2, -1, -1, 0}};
static const symbol s_1_1[1] = {'I'};
static const symbol s_1_2[1] = {'U'};
static const symbol s_1_3[1] = {'Y'};
static const struct among a_1[4] = {
/* 0 */ {0, 0, -1, 4, 0},
/* 1 */ {1, s_1_1, 0, 1, 0},
/* 2 */ {1, s_1_2, 0, 2, 0},
/* 3 */ {1, s_1_3, 0, 3, 0}};
static const symbol s_2_0[3] = {'i', 'q', 'U'};
static const symbol s_2_1[3] = {'a', 'b', 'l'};
static const symbol s_2_2[4] = {'I', 0xC3, 0xA8, 'r'};
static const symbol s_2_3[4] = {'i', 0xC3, 0xA8, 'r'};
static const symbol s_2_4[3] = {'e', 'u', 's'};
static const symbol s_2_5[2] = {'i', 'v'};
static const struct among a_2[6] = {
/* 0 */ {3, s_2_0, -1, 3, 0},
/* 1 */ {3, s_2_1, -1, 3, 0},
/* 2 */ {4, s_2_2, -1, 4, 0},
/* 3 */ {4, s_2_3, -1, 4, 0},
/* 4 */ {3, s_2_4, -1, 2, 0},
/* 5 */ {2, s_2_5, -1, 1, 0}};
static const symbol s_3_0[2] = {'i', 'c'};
static const symbol s_3_1[4] = {'a', 'b', 'i', 'l'};
static const symbol s_3_2[2] = {'i', 'v'};
static const struct among a_3[3] = {
/* 0 */ {2, s_3_0, -1, 2, 0},
/* 1 */ {4, s_3_1, -1, 1, 0},
/* 2 */ {2, s_3_2, -1, 3, 0}};
static const symbol s_4_0[4] = {'i', 'q', 'U', 'e'};
static const symbol s_4_1[6] = {'a', 't', 'r', 'i', 'c', 'e'};
static const symbol s_4_2[4] = {'a', 'n', 'c', 'e'};
static const symbol s_4_3[4] = {'e', 'n', 'c', 'e'};
static const symbol s_4_4[5] = {'l', 'o', 'g', 'i', 'e'};
static const symbol s_4_5[4] = {'a', 'b', 'l', 'e'};
static const symbol s_4_6[4] = {'i', 's', 'm', 'e'};
static const symbol s_4_7[4] = {'e', 'u', 's', 'e'};
static const symbol s_4_8[4] = {'i', 's', 't', 'e'};
static const symbol s_4_9[3] = {'i', 'v', 'e'};
static const symbol s_4_10[2] = {'i', 'f'};
static const symbol s_4_11[5] = {'u', 's', 'i', 'o', 'n'};
static const symbol s_4_12[5] = {'a', 't', 'i', 'o', 'n'};
static const symbol s_4_13[5] = {'u', 't', 'i', 'o', 'n'};
static const symbol s_4_14[5] = {'a', 't', 'e', 'u', 'r'};
static const symbol s_4_15[5] = {'i', 'q', 'U', 'e', 's'};
static const symbol s_4_16[7] = {'a', 't', 'r', 'i', 'c', 'e', 's'};
static const symbol s_4_17[5] = {'a', 'n', 'c', 'e', 's'};
static const symbol s_4_18[5] = {'e', 'n', 'c', 'e', 's'};
static const symbol s_4_19[6] = {'l', 'o', 'g', 'i', 'e', 's'};
static const symbol s_4_20[5] = {'a', 'b', 'l', 'e', 's'};
static const symbol s_4_21[5] = {'i', 's', 'm', 'e', 's'};
static const symbol s_4_22[5] = {'e', 'u', 's', 'e', 's'};
static const symbol s_4_23[5] = {'i', 's', 't', 'e', 's'};
static const symbol s_4_24[4] = {'i', 'v', 'e', 's'};
static const symbol s_4_25[3] = {'i', 'f', 's'};
static const symbol s_4_26[6] = {'u', 's', 'i', 'o', 'n', 's'};
static const symbol s_4_27[6] = {'a', 't', 'i', 'o', 'n', 's'};
static const symbol s_4_28[6] = {'u', 't', 'i', 'o', 'n', 's'};
static const symbol s_4_29[6] = {'a', 't', 'e', 'u', 'r', 's'};
static const symbol s_4_30[5] = {'m', 'e', 'n', 't', 's'};
static const symbol s_4_31[6] = {'e', 'm', 'e', 'n', 't', 's'};
static const symbol s_4_32[9] = {'i', 's', 's', 'e', 'm', 'e', 'n', 't', 's'};
static const symbol s_4_33[5] = {'i', 't', 0xC3, 0xA9, 's'};
static const symbol s_4_34[4] = {'m', 'e', 'n', 't'};
static const symbol s_4_35[5] = {'e', 'm', 'e', 'n', 't'};
static const symbol s_4_36[8] = {'i', 's', 's', 'e', 'm', 'e', 'n', 't'};
static const symbol s_4_37[6] = {'a', 'm', 'm', 'e', 'n', 't'};
static const symbol s_4_38[6] = {'e', 'm', 'm', 'e', 'n', 't'};
static const symbol s_4_39[3] = {'a', 'u', 'x'};
static const symbol s_4_40[4] = {'e', 'a', 'u', 'x'};
static const symbol s_4_41[3] = {'e', 'u', 'x'};
static const symbol s_4_42[4] = {'i', 't', 0xC3, 0xA9};
static const struct among a_4[43] = {
/* 0 */ {4, s_4_0, -1, 1, 0},
/* 1 */ {6, s_4_1, -1, 2, 0},
/* 2 */ {4, s_4_2, -1, 1, 0},
/* 3 */ {4, s_4_3, -1, 5, 0},
/* 4 */ {5, s_4_4, -1, 3, 0},
/* 5 */ {4, s_4_5, -1, 1, 0},
/* 6 */ {4, s_4_6, -1, 1, 0},
/* 7 */ {4, s_4_7, -1, 11, 0},
/* 8 */ {4, s_4_8, -1, 1, 0},
/* 9 */ {3, s_4_9, -1, 8, 0},
/* 10 */ {2, s_4_10, -1, 8, 0},
/* 11 */ {5, s_4_11, -1, 4, 0},
/* 12 */ {5, s_4_12, -1, 2, 0},
/* 13 */ {5, s_4_13, -1, 4, 0},
/* 14 */ {5, s_4_14, -1, 2, 0},
/* 15 */ {5, s_4_15, -1, 1, 0},
/* 16 */ {7, s_4_16, -1, 2, 0},
/* 17 */ {5, s_4_17, -1, 1, 0},
/* 18 */ {5, s_4_18, -1, 5, 0},
/* 19 */ {6, s_4_19, -1, 3, 0},
/* 20 */ {5, s_4_20, -1, 1, 0},
/* 21 */ {5, s_4_21, -1, 1, 0},
/* 22 */ {5, s_4_22, -1, 11, 0},
/* 23 */ {5, s_4_23, -1, 1, 0},
/* 24 */ {4, s_4_24, -1, 8, 0},
/* 25 */ {3, s_4_25, -1, 8, 0},
/* 26 */ {6, s_4_26, -1, 4, 0},
/* 27 */ {6, s_4_27, -1, 2, 0},
/* 28 */ {6, s_4_28, -1, 4, 0},
/* 29 */ {6, s_4_29, -1, 2, 0},
/* 30 */ {5, s_4_30, -1, 15, 0},
/* 31 */ {6, s_4_31, 30, 6, 0},
/* 32 */ {9, s_4_32, 31, 12, 0},
/* 33 */ {5, s_4_33, -1, 7, 0},
/* 34 */ {4, s_4_34, -1, 15, 0},
/* 35 */ {5, s_4_35, 34, 6, 0},
/* 36 */ {8, s_4_36, 35, 12, 0},
/* 37 */ {6, s_4_37, 34, 13, 0},
/* 38 */ {6, s_4_38, 34, 14, 0},
/* 39 */ {3, s_4_39, -1, 10, 0},
/* 40 */ {4, s_4_40, 39, 9, 0},
/* 41 */ {3, s_4_41, -1, 1, 0},
/* 42 */ {4, s_4_42, -1, 7, 0}};
static const symbol s_5_0[3] = {'i', 'r', 'a'};
static const symbol s_5_1[2] = {'i', 'e'};
static const symbol s_5_2[4] = {'i', 's', 's', 'e'};
static const symbol s_5_3[7] = {'i', 's', 's', 'a', 'n', 't', 'e'};
static const symbol s_5_4[1] = {'i'};
static const symbol s_5_5[4] = {'i', 'r', 'a', 'i'};
static const symbol s_5_6[2] = {'i', 'r'};
static const symbol s_5_7[4] = {'i', 'r', 'a', 's'};
static const symbol s_5_8[3] = {'i', 'e', 's'};
static const symbol s_5_9[5] = {0xC3, 0xAE, 'm', 'e', 's'};
static const symbol s_5_10[5] = {'i', 's', 's', 'e', 's'};
static const symbol s_5_11[8] = {'i', 's', 's', 'a', 'n', 't', 'e', 's'};
static const symbol s_5_12[5] = {0xC3, 0xAE, 't', 'e', 's'};
static const symbol s_5_13[2] = {'i', 's'};
static const symbol s_5_14[5] = {'i', 'r', 'a', 'i', 's'};
static const symbol s_5_15[6] = {'i', 's', 's', 'a', 'i', 's'};
static const symbol s_5_16[6] = {'i', 'r', 'i', 'o', 'n', 's'};
static const symbol s_5_17[7] = {'i', 's', 's', 'i', 'o', 'n', 's'};
static const symbol s_5_18[5] = {'i', 'r', 'o', 'n', 's'};
static const symbol s_5_19[6] = {'i', 's', 's', 'o', 'n', 's'};
static const symbol s_5_20[7] = {'i', 's', 's', 'a', 'n', 't', 's'};
static const symbol s_5_21[2] = {'i', 't'};
static const symbol s_5_22[5] = {'i', 'r', 'a', 'i', 't'};
static const symbol s_5_23[6] = {'i', 's', 's', 'a', 'i', 't'};
static const symbol s_5_24[6] = {'i', 's', 's', 'a', 'n', 't'};
static const symbol s_5_25[7] = {'i', 'r', 'a', 'I', 'e', 'n', 't'};
static const symbol s_5_26[8] = {'i', 's', 's', 'a', 'I', 'e', 'n', 't'};
static const symbol s_5_27[5] = {'i', 'r', 'e', 'n', 't'};
static const symbol s_5_28[6] = {'i', 's', 's', 'e', 'n', 't'};
static const symbol s_5_29[5] = {'i', 'r', 'o', 'n', 't'};
static const symbol s_5_30[3] = {0xC3, 0xAE, 't'};
static const symbol s_5_31[5] = {'i', 'r', 'i', 'e', 'z'};
static const symbol s_5_32[6] = {'i', 's', 's', 'i', 'e', 'z'};
static const symbol s_5_33[4] = {'i', 'r', 'e', 'z'};
static const symbol s_5_34[5] = {'i', 's', 's', 'e', 'z'};
static const struct among a_5[35] = {
/* 0 */ {3, s_5_0, -1, 1, 0},
/* 1 */ {2, s_5_1, -1, 1, 0},
/* 2 */ {4, s_5_2, -1, 1, 0},
/* 3 */ {7, s_5_3, -1, 1, 0},
/* 4 */ {1, s_5_4, -1, 1, 0},
/* 5 */ {4, s_5_5, 4, 1, 0},
/* 6 */ {2, s_5_6, -1, 1, 0},
/* 7 */ {4, s_5_7, -1, 1, 0},
/* 8 */ {3, s_5_8, -1, 1, 0},
/* 9 */ {5, s_5_9, -1, 1, 0},
/* 10 */ {5, s_5_10, -1, 1, 0},
/* 11 */ {8, s_5_11, -1, 1, 0},
/* 12 */ {5, s_5_12, -1, 1, 0},
/* 13 */ {2, s_5_13, -1, 1, 0},
/* 14 */ {5, s_5_14, 13, 1, 0},
/* 15 */ {6, s_5_15, 13, 1, 0},
/* 16 */ {6, s_5_16, -1, 1, 0},
/* 17 */ {7, s_5_17, -1, 1, 0},
/* 18 */ {5, s_5_18, -1, 1, 0},
/* 19 */ {6, s_5_19, -1, 1, 0},
/* 20 */ {7, s_5_20, -1, 1, 0},
/* 21 */ {2, s_5_21, -1, 1, 0},
/* 22 */ {5, s_5_22, 21, 1, 0},
/* 23 */ {6, s_5_23, 21, 1, 0},
/* 24 */ {6, s_5_24, -1, 1, 0},
/* 25 */ {7, s_5_25, -1, 1, 0},
/* 26 */ {8, s_5_26, -1, 1, 0},
/* 27 */ {5, s_5_27, -1, 1, 0},
/* 28 */ {6, s_5_28, -1, 1, 0},
/* 29 */ {5, s_5_29, -1, 1, 0},
/* 30 */ {3, s_5_30, -1, 1, 0},
/* 31 */ {5, s_5_31, -1, 1, 0},
/* 32 */ {6, s_5_32, -1, 1, 0},
/* 33 */ {4, s_5_33, -1, 1, 0},
/* 34 */ {5, s_5_34, -1, 1, 0}};
static const symbol s_6_0[1] = {'a'};
static const symbol s_6_1[3] = {'e', 'r', 'a'};
static const symbol s_6_2[4] = {'a', 's', 's', 'e'};
static const symbol s_6_3[4] = {'a', 'n', 't', 'e'};
static const symbol s_6_4[3] = {0xC3, 0xA9, 'e'};
static const symbol s_6_5[2] = {'a', 'i'};
static const symbol s_6_6[4] = {'e', 'r', 'a', 'i'};
static const symbol s_6_7[2] = {'e', 'r'};
static const symbol s_6_8[2] = {'a', 's'};
static const symbol s_6_9[4] = {'e', 'r', 'a', 's'};
static const symbol s_6_10[5] = {0xC3, 0xA2, 'm', 'e', 's'};
static const symbol s_6_11[5] = {'a', 's', 's', 'e', 's'};
static const symbol s_6_12[5] = {'a', 'n', 't', 'e', 's'};
static const symbol s_6_13[5] = {0xC3, 0xA2, 't', 'e', 's'};
static const symbol s_6_14[4] = {0xC3, 0xA9, 'e', 's'};
static const symbol s_6_15[3] = {'a', 'i', 's'};
static const symbol s_6_16[5] = {'e', 'r', 'a', 'i', 's'};
static const symbol s_6_17[4] = {'i', 'o', 'n', 's'};
static const symbol s_6_18[6] = {'e', 'r', 'i', 'o', 'n', 's'};
static const symbol s_6_19[7] = {'a', 's', 's', 'i', 'o', 'n', 's'};
static const symbol s_6_20[5] = {'e', 'r', 'o', 'n', 's'};
static const symbol s_6_21[4] = {'a', 'n', 't', 's'};
static const symbol s_6_22[3] = {0xC3, 0xA9, 's'};
static const symbol s_6_23[3] = {'a', 'i', 't'};
static const symbol s_6_24[5] = {'e', 'r', 'a', 'i', 't'};
static const symbol s_6_25[3] = {'a', 'n', 't'};
static const symbol s_6_26[5] = {'a', 'I', 'e', 'n', 't'};
static const symbol s_6_27[7] = {'e', 'r', 'a', 'I', 'e', 'n', 't'};
static const symbol s_6_28[6] = {0xC3, 0xA8, 'r', 'e', 'n', 't'};
static const symbol s_6_29[6] = {'a', 's', 's', 'e', 'n', 't'};
static const symbol s_6_30[5] = {'e', 'r', 'o', 'n', 't'};
static const symbol s_6_31[3] = {0xC3, 0xA2, 't'};
static const symbol s_6_32[2] = {'e', 'z'};
static const symbol s_6_33[3] = {'i', 'e', 'z'};
static const symbol s_6_34[5] = {'e', 'r', 'i', 'e', 'z'};
static const symbol s_6_35[6] = {'a', 's', 's', 'i', 'e', 'z'};
static const symbol s_6_36[4] = {'e', 'r', 'e', 'z'};
static const symbol s_6_37[2] = {0xC3, 0xA9};
static const struct among a_6[38] = {
/* 0 */ {1, s_6_0, -1, 3, 0},
/* 1 */ {3, s_6_1, 0, 2, 0},
/* 2 */ {4, s_6_2, -1, 3, 0},
/* 3 */ {4, s_6_3, -1, 3, 0},
/* 4 */ {3, s_6_4, -1, 2, 0},
/* 5 */ {2, s_6_5, -1, 3, 0},
/* 6 */ {4, s_6_6, 5, 2, 0},
/* 7 */ {2, s_6_7, -1, 2, 0},
/* 8 */ {2, s_6_8, -1, 3, 0},
/* 9 */ {4, s_6_9, 8, 2, 0},
/* 10 */ {5, s_6_10, -1, 3, 0},
/* 11 */ {5, s_6_11, -1, 3, 0},
/* 12 */ {5, s_6_12, -1, 3, 0},
/* 13 */ {5, s_6_13, -1, 3, 0},
/* 14 */ {4, s_6_14, -1, 2, 0},
/* 15 */ {3, s_6_15, -1, 3, 0},
/* 16 */ {5, s_6_16, 15, 2, 0},
/* 17 */ {4, s_6_17, -1, 1, 0},
/* 18 */ {6, s_6_18, 17, 2, 0},
/* 19 */ {7, s_6_19, 17, 3, 0},
/* 20 */ {5, s_6_20, -1, 2, 0},
/* 21 */ {4, s_6_21, -1, 3, 0},
/* 22 */ {3, s_6_22, -1, 2, 0},
/* 23 */ {3, s_6_23, -1, 3, 0},
/* 24 */ {5, s_6_24, 23, 2, 0},
/* 25 */ {3, s_6_25, -1, 3, 0},
/* 26 */ {5, s_6_26, -1, 3, 0},
/* 27 */ {7, s_6_27, 26, 2, 0},
/* 28 */ {6, s_6_28, -1, 2, 0},
/* 29 */ {6, s_6_29, -1, 3, 0},
/* 30 */ {5, s_6_30, -1, 2, 0},
/* 31 */ {3, s_6_31, -1, 3, 0},
/* 32 */ {2, s_6_32, -1, 2, 0},
/* 33 */ {3, s_6_33, 32, 2, 0},
/* 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 */ {2, s_6_37, -1, 2, 0}};
static const symbol s_7_0[1] = {'e'};
static const symbol s_7_1[5] = {'I', 0xC3, 0xA8, 'r', 'e'};
static const symbol s_7_2[5] = {'i', 0xC3, 0xA8, '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[2] = {0xC3, 0xAB};
static const struct among a_7[7] = {
/* 0 */ {1, s_7_0, -1, 3, 0},
/* 1 */ {5, s_7_1, 0, 2, 0},
/* 2 */ {5, 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 */ {2, 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[] = {0xC3, 0xA9};
static const symbol s_39[] = {0xC3, 0xA8};
static const symbol s_40[] = {'e'};
static const symbol s_41[] = {'Y'};
static const symbol s_42[] = {'i'};
static const symbol s_43[] = {0xC3, 0xA7};
static const symbol s_44[] = {'c'};
static int r_prelude(struct SN_env *z) {
while (1) { /* repeat, line 38 */
int c1 = z->c;
while (1) { /* goto, line 38 */
int c2 = z->c;
{
int c3 = z->c; /* or, line 44 */
if (in_grouping_U(z, g_v, 97, 251, 0))
goto lab3;
z->bra = z->c; /* [, line 40 */
{
int c4 = z->c; /* or, line 40 */
if (!(eq_s(z, 1, s_0)))
goto lab5;
z->ket = z->c; /* ], line 40 */
if (in_grouping_U(z, g_v, 97, 251, 0))
goto lab5;
{
int ret = slice_from_s(z, 1, s_1); /* <-, line 40 */
if (ret < 0)
return ret;
}
goto lab4;
lab5:
z->c = c4;
if (!(eq_s(z, 1, s_2)))
goto lab6;
z->ket = z->c; /* ], line 41 */
if (in_grouping_U(z, g_v, 97, 251, 0))
goto lab6;
{
int ret = slice_from_s(z, 1, s_3); /* <-, line 41 */
if (ret < 0)
return ret;
}
goto lab4;
lab6:
z->c = c4;
if (!(eq_s(z, 1, s_4)))
goto lab3;
z->ket = z->c; /* ], line 42 */
{
int ret = slice_from_s(z, 1, s_5); /* <-, line 42 */
if (ret < 0)
return ret;
}
}
lab4:
goto lab2;
lab3:
z->c = c3;
z->bra = z->c; /* [, line 45 */
if (!(eq_s(z, 1, s_6)))
goto lab7;
z->ket = z->c; /* ], line 45 */
if (in_grouping_U(z, g_v, 97, 251, 0))
goto lab7;
{
int ret = slice_from_s(z, 1, s_7); /* <-, line 45 */
if (ret < 0)
return ret;
}
goto lab2;
lab7:
z->c = c3;
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 = slice_from_s(z, 1, s_10); /* <-, line 47 */
if (ret < 0)
return ret;
}
}
lab2:
z->c = c2;
break;
lab1:
z->c = c2;
{
int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0)
goto lab0;
z->c = ret; /* goto, line 38 */
}
}
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 56 */
{
int c2 = z->c; /* or, line 58 */
if (in_grouping_U(z, g_v, 97, 251, 0))
goto lab2;
if (in_grouping_U(z, g_v, 97, 251, 0))
goto lab2;
{
int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0)
goto lab2;
z->c = ret; /* next, line 57 */
}
goto lab1;
lab2:
z->c = c2;
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 = c2;
{
int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0)
goto lab0;
z->c = ret; /* next, line 66 */
}
{ /* gopast */ /* grouping v, line 66 */
int ret = out_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0)
goto lab0;
z->c += ret;
}
}
lab1:
z->I[0] = z->c; /* setmark pV, line 67 */
lab0:
z->c = c1;
}
{
int c3 = z->c; /* do, line 69 */
{ /* gopast */ /* grouping v, line 70 */
int ret = out_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0)
goto lab4;
z->c += ret;
}
{ /* gopast */ /* non v, line 70 */
int ret = in_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0)
goto lab4;
z->c += ret;
}
z->I[1] = z->c; /* setmark p1, line 70 */
{ /* gopast */ /* grouping v, line 71 */
int ret = out_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0)
goto lab4;
z->c += ret;
}
{ /* gopast */ /* non v, line 71 */
int ret = in_grouping_U(z, g_v, 97, 251, 1);
if (ret < 0)
goto lab4;
z->c += ret;
}
z->I[2] = z->c; /* setmark p2, line 71 */
lab4:
z->c = c3;
}
return 1;
}
static int r_postlude(struct SN_env *z) {
int among_var;
while (1) { /* repeat, line 75 */
int c1 = z->c;
z->bra = z->c; /* [, line 77 */
if (z->c >= 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 = slice_from_s(z, 1, s_11); /* <-, line 78 */
if (ret < 0)
return ret;
} break;
case 2: {
int ret = slice_from_s(z, 1, s_12); /* <-, line 79 */
if (ret < 0)
return ret;
} break;
case 3: {
int ret = slice_from_s(z, 1, s_13); /* <-, line 80 */
if (ret < 0)
return ret;
} break;
case 4: {
int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
if (ret < 0)
goto lab0;
z->c = ret; /* next, line 81 */
} 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 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 = 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 = slice_del(z); /* delete, line 99 */
if (ret < 0)
return ret;
}
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 100 */
z->ket = z->c; /* [, line 100 */
if (!(eq_s_b(z, 2, s_14))) {
z->c = z->l - m_keep;
goto lab0;
}
z->bra = z->c; /* ], line 100 */
{
int m1 = z->l - z->c;
(void)m1; /* or, line 100 */
{
int ret = r_R2(z);
if (ret == 0)
goto lab2; /* call R2, line 100 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 100 */
if (ret < 0)
return ret;
}
goto lab1;
lab2:
z->c = z->l - m1;
{
int ret = slice_from_s(z, 3, s_15); /* <-, line 100 */
if (ret < 0)
return ret;
}
}
lab1:
lab0:;
}
break;
case 3: {
int ret = r_R2(z);
if (ret == 0)
return 0; /* call R2, line 104 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 3, s_16); /* <-, line 104 */
if (ret < 0)
return ret;
}
break;
case 4: {
int ret = r_R2(z);
if (ret == 0)
return 0; /* call R2, line 107 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 1, s_17); /* <-, line 107 */
if (ret < 0)
return ret;
}
break;
case 5: {
int ret = r_R2(z);
if (ret == 0)
return 0; /* call R2, line 110 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 3, s_18); /* <-, line 110 */
if (ret < 0)
return ret;
}
break;
case 6: {
int ret = r_RV(z);
if (ret == 0)
return 0; /* call RV, line 114 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 114 */
if (ret < 0)
return ret;
}
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 115 */
z->ket = z->c; /* [, line 116 */
among_var = find_among_b(z, a_2, 6); /* substring, line 116 */
if (!(among_var)) {
z->c = z->l - m_keep;
goto lab3;
}
z->bra = z->c; /* ], line 116 */
switch (among_var) {
case 0: {
z->c = z->l - m_keep;
goto lab3;
}
case 1: {
int ret = r_R2(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab3;
} /* call R2, line 117 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 117 */
if (ret < 0)
return ret;
}
z->ket = z->c; /* [, line 117 */
if (!(eq_s_b(z, 2, s_19))) {
z->c = z->l - m_keep;
goto lab3;
}
z->bra = z->c; /* ], line 117 */
{
int ret = r_R2(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab3;
} /* call R2, line 117 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 117 */
if (ret < 0)
return ret;
}
break;
case 2: {
int m2 = z->l - z->c;
(void)m2; /* or, line 118 */
{
int ret = r_R2(z);
if (ret == 0)
goto lab5; /* call R2, line 118 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 118 */
if (ret < 0)
return ret;
}
goto lab4;
lab5:
z->c = z->l - m2;
{
int ret = r_R1(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab3;
} /* call R1, line 118 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 3, s_20); /* <-, line 118 */
if (ret < 0)
return ret;
}
}
lab4:
break;
case 3: {
int ret = r_R2(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab3;
} /* call R2, line 120 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 120 */
if (ret < 0)
return ret;
}
break;
case 4: {
int ret = r_RV(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab3;
} /* call RV, line 122 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 1, s_21); /* <-, line 122 */
if (ret < 0)
return ret;
}
break;
}
lab3:;
}
break;
case 7: {
int ret = r_R2(z);
if (ret == 0)
return 0; /* call R2, line 129 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 129 */
if (ret < 0)
return ret;
}
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 130 */
z->ket = z->c; /* [, line 131 */
if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4198408 >> (z->p[z->c - 1] & 0x1f)) & 1)) {
z->c = z->l - m_keep;
goto lab6;
}
among_var = find_among_b(z, a_3, 3); /* substring, line 131 */
if (!(among_var)) {
z->c = z->l - m_keep;
goto lab6;
}
z->bra = z->c; /* ], line 131 */
switch (among_var) {
case 0: {
z->c = z->l - m_keep;
goto lab6;
}
case 1: {
int m3 = z->l - z->c;
(void)m3; /* or, line 132 */
{
int ret = r_R2(z);
if (ret == 0)
goto lab8; /* call R2, line 132 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 132 */
if (ret < 0)
return ret;
}
goto lab7;
lab8:
z->c = z->l - m3;
{
int ret = slice_from_s(z, 3, s_22); /* <-, line 132 */
if (ret < 0)
return ret;
}
}
lab7:
break;
case 2: {
int m4 = z->l - z->c;
(void)m4; /* or, line 133 */
{
int ret = r_R2(z);
if (ret == 0)
goto lab10; /* call R2, line 133 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 133 */
if (ret < 0)
return ret;
}
goto lab9;
lab10:
z->c = z->l - m4;
{
int ret = slice_from_s(z, 3, s_23); /* <-, line 133 */
if (ret < 0)
return ret;
}
}
lab9:
break;
case 3: {
int ret = r_R2(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab6;
} /* call R2, line 134 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 134 */
if (ret < 0)
return ret;
}
break;
}
lab6:;
}
break;
case 8: {
int ret = r_R2(z);
if (ret == 0)
return 0; /* call R2, line 141 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 141 */
if (ret < 0)
return ret;
}
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 142 */
z->ket = z->c; /* [, line 142 */
if (!(eq_s_b(z, 2, s_24))) {
z->c = z->l - m_keep;
goto lab11;
}
z->bra = z->c; /* ], line 142 */
{
int ret = r_R2(z);
if (ret == 0) {
z->c = z->l - m_keep;
goto lab11;
} /* call R2, line 142 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 142 */
if (ret < 0)
return ret;
}
z->ket = z->c; /* [, line 142 */
if (!(eq_s_b(z, 2, s_25))) {
z->c = z->l - m_keep;
goto lab11;
}
z->bra = z->c; /* ], line 142 */
{
int m5 = z->l - z->c;
(void)m5; /* or, line 142 */
{
int ret = r_R2(z);
if (ret == 0)
goto lab13; /* call R2, line 142 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 142 */
if (ret < 0)
return ret;
}
goto lab12;
lab13:
z->c = z->l - m5;
{
int ret = slice_from_s(z, 3, s_26); /* <-, line 142 */
if (ret < 0)
return ret;
}
}
lab12:
lab11:;
}
break;
case 9: {
int ret = slice_from_s(z, 3, s_27); /* <-, line 144 */
if (ret < 0)
return ret;
} break;
case 10: {
int ret = r_R1(z);
if (ret == 0)
return 0; /* call R1, line 145 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 2, s_28); /* <-, line 145 */
if (ret < 0)
return ret;
}
break;
case 11: {
int m6 = z->l - z->c;
(void)m6; /* or, line 147 */
{
int ret = r_R2(z);
if (ret == 0)
goto lab15; /* call R2, line 147 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 147 */
if (ret < 0)
return ret;
}
goto lab14;
lab15:
z->c = z->l - m6;
{
int ret = r_R1(z);
if (ret == 0)
return 0; /* call R1, line 147 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 3, s_29); /* <-, line 147 */
if (ret < 0)
return ret;
}
}
lab14:
break;
case 12: {
int ret = r_R1(z);
if (ret == 0)
return 0; /* call R1, line 150 */
if (ret < 0)
return ret;
}
if (out_grouping_b_U(z, g_v, 97, 251, 0))
return 0;
{
int ret = slice_del(z); /* delete, line 150 */
if (ret < 0)
return ret;
}
break;
case 13: {
int ret = r_RV(z);
if (ret == 0)
return 0; /* call RV, line 155 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 3, s_30); /* <-, line 155 */
if (ret < 0)
return ret;
}
return 0; /* fail, line 155 */
break;
case 14: {
int ret = r_RV(z);
if (ret == 0)
return 0; /* call RV, line 156 */
if (ret < 0)
return ret;
}
{
int ret = slice_from_s(z, 3, s_31); /* <-, line 156 */
if (ret < 0)
return ret;
}
return 0; /* fail, line 156 */
break;
case 15: {
int m_test = z->l - z->c; /* test, line 158 */
if (in_grouping_b_U(z, g_v, 97, 251, 0))
return 0;
{
int ret = r_RV(z);
if (ret == 0)
return 0; /* call RV, line 158 */
if (ret < 0)
return ret;
}
z->c = z->l - m_test;
}
{
int ret = slice_del(z); /* delete, line 158 */
if (ret < 0)
return ret;
}
return 0; /* fail, line 158 */
break;
}
return 1;
}
static int r_i_verb_suffix(struct SN_env *z) {
int among_var;
{
int mlimit; /* setlimit, line 163 */
int m1 = z->l - z->c;
(void)m1;
if (z->c < z->I[0])
return 0;
z->c = z->I[0]; /* tomark, line 163 */
mlimit = z->lb;
z->lb = z->c;
z->c = z->l - m1;
z->ket = z->c; /* [, line 164 */
if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((68944418 >> (z->p[z->c - 1] & 0x1f)) & 1)) {
z->lb = mlimit;
return 0;
}
among_var = find_among_b(z, a_5, 35); /* substring, line 164 */
if (!(among_var)) {
z->lb = mlimit;
return 0;
}
z->bra = z->c; /* ], line 164 */
switch (among_var) {
case 0: {
z->lb = mlimit;
return 0;
}
case 1:
if (out_grouping_b_U(z, g_v, 97, 251, 0)) {
z->lb = mlimit;
return 0;
}
{
int ret = slice_del(z); /* delete, line 170 */
if (ret < 0)
return ret;
}
break;
}
z->lb = mlimit;
}
return 1;
}
static int r_verb_suffix(struct SN_env *z) {
int among_var;
{
int mlimit; /* setlimit, line 174 */
int m1 = z->l - z->c;
(void)m1;
if (z->c < z->I[0])
return 0;
z->c = z->I[0]; /* tomark, line 174 */
mlimit = z->lb;
z->lb = z->c;
z->c = z->l - m1;
z->ket = z->c; /* [, line 175 */
among_var = find_among_b(z, a_6, 38); /* substring, line 175 */
if (!(among_var)) {
z->lb = mlimit;
return 0;
}
z->bra = z->c; /* ], line 175 */
switch (among_var) {
case 0: {
z->lb = mlimit;
return 0;
}
case 1: {
int ret = r_R2(z);
if (ret == 0) {
z->lb = mlimit;
return 0;
} /* call R2, line 177 */
if (ret < 0)
return ret;
}
{
int ret = slice_del(z); /* delete, line 177 */
if (ret < 0)
return ret;
}
break;
case 2: {
int ret = slice_del(z); /* delete, line 185 */
if (ret < 0)
return ret;
} break;
case 3: {
int ret = slice_del(z); /* delete, line 190 */
if (ret < 0)
return ret;
}
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 191 */
z->ket = z->c; /* [, line 191 */
if (!(eq_s_b(z, 1, s_32))) {
z->c = z->l - m_keep;
goto lab0;
}
z->bra = z->c; /* ], line 191 */
{
int ret = slice_del(z); /* delete, line 191 */
if (ret < 0)
return ret;
}
lab0:;
}
break;
}
z->lb = mlimit;
}
return 1;
}
static int r_residual_suffix(struct SN_env *z) {
int among_var;
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 199 */
z->ket = z->c; /* [, line 199 */
if (!(eq_s_b(z, 1, s_33))) {
z->c = z->l - m_keep;
goto lab0;
}
z->bra = z->c; /* ], line 199 */
{
int m_test = z->l - z->c; /* test, line 199 */
if (out_grouping_b_U(z, g_keep_with_s, 97, 232, 0)) {
z->c = z->l - m_keep;
goto lab0;
}
z->c = z->l - m_test;
}
{
int ret = slice_del(z); /* delete, line 199 */
if (ret < 0)
return ret;
}
lab0:;
}
{
int mlimit; /* setlimit, line 200 */
int m1 = z->l - z->c;
(void)m1;
if (z->c < z->I[0])
return 0;
z->c = z->I[0]; /* tomark, line 200 */
mlimit = z->lb;
z->lb = z->c;
z->c = z->l - m1;
z->ket = z->c; /* [, line 201 */
among_var = find_among_b(z, a_7, 7); /* substring, line 201 */
if (!(among_var)) {
z->lb = mlimit;
return 0;
}
z->bra = z->c; /* ], line 201 */
switch (among_var) {
case 0: {
z->lb = mlimit;
return 0;
}
case 1: {
int ret = r_R2(z);
if (ret == 0) {
z->lb = mlimit;
return 0;
} /* call R2, line 202 */
if (ret < 0)
return ret;
}
{
int m2 = z->l - z->c;
(void)m2; /* or, line 202 */
if (!(eq_s_b(z, 1, s_34)))
goto lab2;
goto lab1;
lab2:
z->c = z->l - m2;
if (!(eq_s_b(z, 1, s_35))) {
z->lb = mlimit;
return 0;
}
}
lab1: {
int ret = slice_del(z); /* delete, line 202 */
if (ret < 0)
return ret;
} break;
case 2: {
int ret = slice_from_s(z, 1, s_36); /* <-, line 204 */
if (ret < 0)
return ret;
} break;
case 3: {
int ret = slice_del(z); /* delete, line 205 */
if (ret < 0)
return ret;
} break;
case 4:
if (!(eq_s_b(z, 2, s_37))) {
z->lb = mlimit;
return 0;
}
{
int ret = slice_del(z); /* delete, line 206 */
if (ret < 0)
return ret;
}
break;
}
z->lb = mlimit;
}
return 1;
}
static int r_un_double(struct SN_env *z) {
{
int m_test = z->l - z->c; /* test, line 212 */
if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((1069056 >> (z->p[z->c - 1] & 0x1f)) & 1))
return 0;
if (!(find_among_b(z, a_8, 5)))
return 0; /* among, line 212 */
z->c = z->l - m_test;
}
z->ket = z->c; /* [, line 212 */
{
int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
if (ret < 0)
return 0;
z->c = ret; /* next, line 212 */
}
z->bra = z->c; /* ], line 212 */
{
int ret = slice_del(z); /* delete, line 212 */
if (ret < 0)
return ret;
}
return 1;
}
static int r_un_accent(struct SN_env *z) {
{
int i = 1;
while (1) { /* atleast, line 216 */
if (out_grouping_b_U(z, g_v, 97, 251, 0))
goto lab0;
i--;
continue;
lab0:
break;
}
if (i > 0)
return 0;
}
z->ket = z->c; /* [, line 217 */
{
int m1 = z->l - z->c;
(void)m1; /* or, line 217 */
if (!(eq_s_b(z, 2, s_38)))
goto lab2;
goto lab1;
lab2:
z->c = z->l - m1;
if (!(eq_s_b(z, 2, s_39)))
return 0;
}
lab1:
z->bra = z->c; /* ], line 217 */
{
int ret = slice_from_s(z, 1, s_40); /* <-, line 217 */
if (ret < 0)
return ret;
}
return 1;
}
extern int french_UTF_8_stem(struct SN_env *z) {
{
int c1 = z->c; /* do, line 223 */
{
int ret = r_prelude(z);
if (ret == 0)
goto lab0; /* call prelude, line 223 */
if (ret < 0)
return ret;
}
lab0:
z->c = c1;
}
{
int c2 = z->c; /* do, line 224 */
{
int ret = r_mark_regions(z);
if (ret == 0)
goto lab1; /* call mark_regions, line 224 */
if (ret < 0)
return ret;
}
lab1:
z->c = c2;
}
z->lb = z->c;
z->c = z->l; /* backwards, line 225 */
{
int m3 = z->l - z->c;
(void)m3; /* do, line 227 */
{
int m4 = z->l - z->c;
(void)m4; /* or, line 237 */
{
int m5 = z->l - z->c;
(void)m5; /* and, line 233 */
{
int m6 = z->l - z->c;
(void)m6; /* or, line 229 */
{
int ret = r_standard_suffix(z);
if (ret == 0)
goto lab6; /* call standard_suffix, line 229 */
if (ret < 0)
return ret;
}
goto lab5;
lab6:
z->c = z->l - m6;
{
int ret = r_i_verb_suffix(z);
if (ret == 0)
goto lab7; /* call i_verb_suffix, line 230 */
if (ret < 0)
return ret;
}
goto lab5;
lab7:
z->c = z->l - m6;
{
int ret = r_verb_suffix(z);
if (ret == 0)
goto lab4; /* call verb_suffix, line 231 */
if (ret < 0)
return ret;
}
}
lab5:
z->c = z->l - m5;
{
int m_keep = z->l - z->c; /* (void) m_keep;*/ /* try, line 234 */
z->ket = z->c; /* [, line 234 */
{
int m7 = z->l - z->c;
(void)m7; /* or, line 234 */
if (!(eq_s_b(z, 1, s_41)))
goto lab10;
z->bra = z->c; /* ], line 234 */
{
int ret = slice_from_s(z, 1, s_42); /* <-, line 234 */
if (ret < 0)
return ret;
}
goto lab9;
lab10:
z->c = z->l - m7;
if (!(eq_s_b(z, 2, s_43))) {
z->c = z->l - m_keep;
goto lab8;
}
z->bra = z->c; /* ], line 235 */
{
int ret = slice_from_s(z, 1, s_44); /* <-, line 235 */
if (ret < 0)
return ret;
}
}
lab9:
lab8:;
}
}
goto lab3;
lab4:
z->c = z->l - m4;
{
int ret = r_residual_suffix(z);
if (ret == 0)
goto lab2; /* call residual_suffix, line 238 */
if (ret < 0)
return ret;
}
}
lab3:
lab2:
z->c = z->l - m3;
}
{
int m8 = z->l - z->c;
(void)m8; /* do, line 243 */
{
int ret = r_un_double(z);
if (ret == 0)
goto lab11; /* call un_double, line 243 */
if (ret < 0)
return ret;
}
lab11:
z->c = z->l - m8;
}
{
int m9 = z->l - z->c;
(void)m9; /* do, line 244 */
{
int ret = r_un_accent(z);
if (ret == 0)
goto lab12; /* call un_accent, line 244 */
if (ret < 0)
return ret;
}
lab12:
z->c = z->l - m9;
}
z->c = z->lb;
{
int c10 = z->c; /* do, line 246 */
{
int ret = r_postlude(z);
if (ret == 0)
goto lab13; /* call postlude, line 246 */
if (ret < 0)
return ret;
}
lab13:
z->c = c10;
}
return 1;
}
extern struct SN_env *french_UTF_8_create_env(void) { return SN_create_env(0, 3, 0); }
extern void french_UTF_8_close_env(struct SN_env *z) { SN_close_env(z, 0); }