ruby-stemmer-dimelo 0.9.3.dimelo1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +21 -0
  3. data/README.rdoc +117 -0
  4. data/Rakefile +70 -0
  5. data/VERSION +1 -0
  6. data/ext/lingua/extconf.rb +40 -0
  7. data/ext/lingua/stemmer.c +115 -0
  8. data/lib/lingua/stemmer.rb +60 -0
  9. data/libstemmer_c/MANIFEST +72 -0
  10. data/libstemmer_c/Makefile +9 -0
  11. data/libstemmer_c/Makefile.windows +15 -0
  12. data/libstemmer_c/README +125 -0
  13. data/libstemmer_c/examples/stemwords.c +209 -0
  14. data/libstemmer_c/include/libstemmer.h +79 -0
  15. data/libstemmer_c/libstemmer/libstemmer.c +93 -0
  16. data/libstemmer_c/libstemmer/libstemmer_utf8.c +93 -0
  17. data/libstemmer_c/libstemmer/modules.h +195 -0
  18. data/libstemmer_c/libstemmer/modules.txt +51 -0
  19. data/libstemmer_c/libstemmer/modules_utf8.h +123 -0
  20. data/libstemmer_c/libstemmer/modules_utf8.txt +50 -0
  21. data/libstemmer_c/mkinc.mak +86 -0
  22. data/libstemmer_c/mkinc_utf8.mak +54 -0
  23. data/libstemmer_c/runtime/api.c +66 -0
  24. data/libstemmer_c/runtime/api.h +26 -0
  25. data/libstemmer_c/runtime/header.h +58 -0
  26. data/libstemmer_c/runtime/utilities.c +478 -0
  27. data/libstemmer_c/src_c/stem_ISO_8859_1_danish.c +337 -0
  28. data/libstemmer_c/src_c/stem_ISO_8859_1_danish.h +16 -0
  29. data/libstemmer_c/src_c/stem_ISO_8859_1_dutch.c +624 -0
  30. data/libstemmer_c/src_c/stem_ISO_8859_1_dutch.h +16 -0
  31. data/libstemmer_c/src_c/stem_ISO_8859_1_english.c +1117 -0
  32. data/libstemmer_c/src_c/stem_ISO_8859_1_english.h +16 -0
  33. data/libstemmer_c/src_c/stem_ISO_8859_1_finnish.c +762 -0
  34. data/libstemmer_c/src_c/stem_ISO_8859_1_finnish.h +16 -0
  35. data/libstemmer_c/src_c/stem_ISO_8859_1_french.c +1230 -0
  36. data/libstemmer_c/src_c/stem_ISO_8859_1_french.h +16 -0
  37. data/libstemmer_c/src_c/stem_ISO_8859_1_german.c +503 -0
  38. data/libstemmer_c/src_c/stem_ISO_8859_1_german.h +16 -0
  39. data/libstemmer_c/src_c/stem_ISO_8859_1_hungarian.c +1230 -0
  40. data/libstemmer_c/src_c/stem_ISO_8859_1_hungarian.h +16 -0
  41. data/libstemmer_c/src_c/stem_ISO_8859_1_italian.c +1065 -0
  42. data/libstemmer_c/src_c/stem_ISO_8859_1_italian.h +16 -0
  43. data/libstemmer_c/src_c/stem_ISO_8859_1_latin.c +443 -0
  44. data/libstemmer_c/src_c/stem_ISO_8859_1_latin.h +16 -0
  45. data/libstemmer_c/src_c/stem_ISO_8859_1_norwegian.c +297 -0
  46. data/libstemmer_c/src_c/stem_ISO_8859_1_norwegian.h +16 -0
  47. data/libstemmer_c/src_c/stem_ISO_8859_1_porter.c +749 -0
  48. data/libstemmer_c/src_c/stem_ISO_8859_1_porter.h +16 -0
  49. data/libstemmer_c/src_c/stem_ISO_8859_1_portuguese.c +1017 -0
  50. data/libstemmer_c/src_c/stem_ISO_8859_1_portuguese.h +16 -0
  51. data/libstemmer_c/src_c/stem_ISO_8859_1_spanish.c +1093 -0
  52. data/libstemmer_c/src_c/stem_ISO_8859_1_spanish.h +16 -0
  53. data/libstemmer_c/src_c/stem_ISO_8859_1_swedish.c +307 -0
  54. data/libstemmer_c/src_c/stem_ISO_8859_1_swedish.h +16 -0
  55. data/libstemmer_c/src_c/stem_ISO_8859_2_romanian.c +998 -0
  56. data/libstemmer_c/src_c/stem_ISO_8859_2_romanian.h +16 -0
  57. data/libstemmer_c/src_c/stem_KOI8_R_russian.c +700 -0
  58. data/libstemmer_c/src_c/stem_KOI8_R_russian.h +16 -0
  59. data/libstemmer_c/src_c/stem_UTF_8_danish.c +339 -0
  60. data/libstemmer_c/src_c/stem_UTF_8_danish.h +16 -0
  61. data/libstemmer_c/src_c/stem_UTF_8_dutch.c +634 -0
  62. data/libstemmer_c/src_c/stem_UTF_8_dutch.h +16 -0
  63. data/libstemmer_c/src_c/stem_UTF_8_english.c +1125 -0
  64. data/libstemmer_c/src_c/stem_UTF_8_english.h +16 -0
  65. data/libstemmer_c/src_c/stem_UTF_8_finnish.c +768 -0
  66. data/libstemmer_c/src_c/stem_UTF_8_finnish.h +16 -0
  67. data/libstemmer_c/src_c/stem_UTF_8_french.c +1230 -0
  68. data/libstemmer_c/src_c/stem_UTF_8_french.h +16 -0
  69. data/libstemmer_c/src_c/stem_UTF_8_german.c +509 -0
  70. data/libstemmer_c/src_c/stem_UTF_8_german.h +16 -0
  71. data/libstemmer_c/src_c/stem_UTF_8_hungarian.c +1234 -0
  72. data/libstemmer_c/src_c/stem_UTF_8_hungarian.h +16 -0
  73. data/libstemmer_c/src_c/stem_UTF_8_italian.c +1073 -0
  74. data/libstemmer_c/src_c/stem_UTF_8_italian.h +16 -0
  75. data/libstemmer_c/src_c/stem_UTF_8_latin.c +443 -0
  76. data/libstemmer_c/src_c/stem_UTF_8_latin.h +16 -0
  77. data/libstemmer_c/src_c/stem_UTF_8_norwegian.c +299 -0
  78. data/libstemmer_c/src_c/stem_UTF_8_norwegian.h +16 -0
  79. data/libstemmer_c/src_c/stem_UTF_8_porter.c +755 -0
  80. data/libstemmer_c/src_c/stem_UTF_8_porter.h +16 -0
  81. data/libstemmer_c/src_c/stem_UTF_8_portuguese.c +1023 -0
  82. data/libstemmer_c/src_c/stem_UTF_8_portuguese.h +16 -0
  83. data/libstemmer_c/src_c/stem_UTF_8_romanian.c +1004 -0
  84. data/libstemmer_c/src_c/stem_UTF_8_romanian.h +16 -0
  85. data/libstemmer_c/src_c/stem_UTF_8_russian.c +694 -0
  86. data/libstemmer_c/src_c/stem_UTF_8_russian.h +16 -0
  87. data/libstemmer_c/src_c/stem_UTF_8_spanish.c +1097 -0
  88. data/libstemmer_c/src_c/stem_UTF_8_spanish.h +16 -0
  89. data/libstemmer_c/src_c/stem_UTF_8_swedish.c +309 -0
  90. data/libstemmer_c/src_c/stem_UTF_8_swedish.h +16 -0
  91. data/libstemmer_c/src_c/stem_UTF_8_turkish.c +2205 -0
  92. data/libstemmer_c/src_c/stem_UTF_8_turkish.h +16 -0
  93. data/test/helper.rb +3 -0
  94. data/test/lingua/test_stemmer.rb +99 -0
  95. metadata +141 -0
@@ -0,0 +1,16 @@
1
+
2
+ /* This file was generated automatically by the Snowball to ANSI C compiler */
3
+
4
+ #ifdef __cplusplus
5
+ extern "C" {
6
+ #endif
7
+
8
+ extern struct SN_env * hungarian_UTF_8_create_env(void);
9
+ extern void hungarian_UTF_8_close_env(struct SN_env * z);
10
+
11
+ extern int hungarian_UTF_8_stem(struct SN_env * z);
12
+
13
+ #ifdef __cplusplus
14
+ }
15
+ #endif
16
+
@@ -0,0 +1,1073 @@
1
+
2
+ /* This file was generated automatically by the Snowball to ANSI C compiler */
3
+
4
+ #include "../runtime/header.h"
5
+
6
+ #ifdef __cplusplus
7
+ extern "C" {
8
+ #endif
9
+ extern int italian_UTF_8_stem(struct SN_env * z);
10
+ #ifdef __cplusplus
11
+ }
12
+ #endif
13
+ static int r_vowel_suffix(struct SN_env * z);
14
+ static int r_verb_suffix(struct SN_env * z);
15
+ static int r_standard_suffix(struct SN_env * z);
16
+ static int r_attached_pronoun(struct SN_env * z);
17
+ static int r_R2(struct SN_env * z);
18
+ static int r_R1(struct SN_env * z);
19
+ static int r_RV(struct SN_env * z);
20
+ static int r_mark_regions(struct SN_env * z);
21
+ static int r_postlude(struct SN_env * z);
22
+ static int r_prelude(struct SN_env * z);
23
+ #ifdef __cplusplus
24
+ extern "C" {
25
+ #endif
26
+
27
+
28
+ extern struct SN_env * italian_UTF_8_create_env(void);
29
+ extern void italian_UTF_8_close_env(struct SN_env * z);
30
+
31
+
32
+ #ifdef __cplusplus
33
+ }
34
+ #endif
35
+ static const symbol s_0_1[2] = { 'q', 'u' };
36
+ static const symbol s_0_2[2] = { 0xC3, 0xA1 };
37
+ static const symbol s_0_3[2] = { 0xC3, 0xA9 };
38
+ static const symbol s_0_4[2] = { 0xC3, 0xAD };
39
+ static const symbol s_0_5[2] = { 0xC3, 0xB3 };
40
+ static const symbol s_0_6[2] = { 0xC3, 0xBA };
41
+
42
+ static const struct among a_0[7] =
43
+ {
44
+ /* 0 */ { 0, 0, -1, 7, 0},
45
+ /* 1 */ { 2, s_0_1, 0, 6, 0},
46
+ /* 2 */ { 2, s_0_2, 0, 1, 0},
47
+ /* 3 */ { 2, s_0_3, 0, 2, 0},
48
+ /* 4 */ { 2, s_0_4, 0, 3, 0},
49
+ /* 5 */ { 2, s_0_5, 0, 4, 0},
50
+ /* 6 */ { 2, s_0_6, 0, 5, 0}
51
+ };
52
+
53
+ static const symbol s_1_1[1] = { 'I' };
54
+ static const symbol s_1_2[1] = { 'U' };
55
+
56
+ static const struct among a_1[3] =
57
+ {
58
+ /* 0 */ { 0, 0, -1, 3, 0},
59
+ /* 1 */ { 1, s_1_1, 0, 1, 0},
60
+ /* 2 */ { 1, s_1_2, 0, 2, 0}
61
+ };
62
+
63
+ static const symbol s_2_0[2] = { 'l', 'a' };
64
+ static const symbol s_2_1[4] = { 'c', 'e', 'l', 'a' };
65
+ static const symbol s_2_2[6] = { 'g', 'l', 'i', 'e', 'l', 'a' };
66
+ static const symbol s_2_3[4] = { 'm', 'e', 'l', 'a' };
67
+ static const symbol s_2_4[4] = { 't', 'e', 'l', 'a' };
68
+ static const symbol s_2_5[4] = { 'v', 'e', 'l', 'a' };
69
+ static const symbol s_2_6[2] = { 'l', 'e' };
70
+ static const symbol s_2_7[4] = { 'c', 'e', 'l', 'e' };
71
+ static const symbol s_2_8[6] = { 'g', 'l', 'i', 'e', 'l', 'e' };
72
+ static const symbol s_2_9[4] = { 'm', 'e', 'l', 'e' };
73
+ static const symbol s_2_10[4] = { 't', 'e', 'l', 'e' };
74
+ static const symbol s_2_11[4] = { 'v', 'e', 'l', 'e' };
75
+ static const symbol s_2_12[2] = { 'n', 'e' };
76
+ static const symbol s_2_13[4] = { 'c', 'e', 'n', 'e' };
77
+ static const symbol s_2_14[6] = { 'g', 'l', 'i', 'e', 'n', 'e' };
78
+ static const symbol s_2_15[4] = { 'm', 'e', 'n', 'e' };
79
+ static const symbol s_2_16[4] = { 's', 'e', 'n', 'e' };
80
+ static const symbol s_2_17[4] = { 't', 'e', 'n', 'e' };
81
+ static const symbol s_2_18[4] = { 'v', 'e', 'n', 'e' };
82
+ static const symbol s_2_19[2] = { 'c', 'i' };
83
+ static const symbol s_2_20[2] = { 'l', 'i' };
84
+ static const symbol s_2_21[4] = { 'c', 'e', 'l', 'i' };
85
+ static const symbol s_2_22[6] = { 'g', 'l', 'i', 'e', 'l', 'i' };
86
+ static const symbol s_2_23[4] = { 'm', 'e', 'l', 'i' };
87
+ static const symbol s_2_24[4] = { 't', 'e', 'l', 'i' };
88
+ static const symbol s_2_25[4] = { 'v', 'e', 'l', 'i' };
89
+ static const symbol s_2_26[3] = { 'g', 'l', 'i' };
90
+ static const symbol s_2_27[2] = { 'm', 'i' };
91
+ static const symbol s_2_28[2] = { 's', 'i' };
92
+ static const symbol s_2_29[2] = { 't', 'i' };
93
+ static const symbol s_2_30[2] = { 'v', 'i' };
94
+ static const symbol s_2_31[2] = { 'l', 'o' };
95
+ static const symbol s_2_32[4] = { 'c', 'e', 'l', 'o' };
96
+ static const symbol s_2_33[6] = { 'g', 'l', 'i', 'e', 'l', 'o' };
97
+ static const symbol s_2_34[4] = { 'm', 'e', 'l', 'o' };
98
+ static const symbol s_2_35[4] = { 't', 'e', 'l', 'o' };
99
+ static const symbol s_2_36[4] = { 'v', 'e', 'l', 'o' };
100
+
101
+ static const struct among a_2[37] =
102
+ {
103
+ /* 0 */ { 2, s_2_0, -1, -1, 0},
104
+ /* 1 */ { 4, s_2_1, 0, -1, 0},
105
+ /* 2 */ { 6, s_2_2, 0, -1, 0},
106
+ /* 3 */ { 4, s_2_3, 0, -1, 0},
107
+ /* 4 */ { 4, s_2_4, 0, -1, 0},
108
+ /* 5 */ { 4, s_2_5, 0, -1, 0},
109
+ /* 6 */ { 2, s_2_6, -1, -1, 0},
110
+ /* 7 */ { 4, s_2_7, 6, -1, 0},
111
+ /* 8 */ { 6, s_2_8, 6, -1, 0},
112
+ /* 9 */ { 4, s_2_9, 6, -1, 0},
113
+ /* 10 */ { 4, s_2_10, 6, -1, 0},
114
+ /* 11 */ { 4, s_2_11, 6, -1, 0},
115
+ /* 12 */ { 2, s_2_12, -1, -1, 0},
116
+ /* 13 */ { 4, s_2_13, 12, -1, 0},
117
+ /* 14 */ { 6, s_2_14, 12, -1, 0},
118
+ /* 15 */ { 4, s_2_15, 12, -1, 0},
119
+ /* 16 */ { 4, s_2_16, 12, -1, 0},
120
+ /* 17 */ { 4, s_2_17, 12, -1, 0},
121
+ /* 18 */ { 4, s_2_18, 12, -1, 0},
122
+ /* 19 */ { 2, s_2_19, -1, -1, 0},
123
+ /* 20 */ { 2, s_2_20, -1, -1, 0},
124
+ /* 21 */ { 4, s_2_21, 20, -1, 0},
125
+ /* 22 */ { 6, s_2_22, 20, -1, 0},
126
+ /* 23 */ { 4, s_2_23, 20, -1, 0},
127
+ /* 24 */ { 4, s_2_24, 20, -1, 0},
128
+ /* 25 */ { 4, s_2_25, 20, -1, 0},
129
+ /* 26 */ { 3, s_2_26, 20, -1, 0},
130
+ /* 27 */ { 2, s_2_27, -1, -1, 0},
131
+ /* 28 */ { 2, s_2_28, -1, -1, 0},
132
+ /* 29 */ { 2, s_2_29, -1, -1, 0},
133
+ /* 30 */ { 2, s_2_30, -1, -1, 0},
134
+ /* 31 */ { 2, s_2_31, -1, -1, 0},
135
+ /* 32 */ { 4, s_2_32, 31, -1, 0},
136
+ /* 33 */ { 6, s_2_33, 31, -1, 0},
137
+ /* 34 */ { 4, s_2_34, 31, -1, 0},
138
+ /* 35 */ { 4, s_2_35, 31, -1, 0},
139
+ /* 36 */ { 4, s_2_36, 31, -1, 0}
140
+ };
141
+
142
+ static const symbol s_3_0[4] = { 'a', 'n', 'd', 'o' };
143
+ static const symbol s_3_1[4] = { 'e', 'n', 'd', 'o' };
144
+ static const symbol s_3_2[2] = { 'a', 'r' };
145
+ static const symbol s_3_3[2] = { 'e', 'r' };
146
+ static const symbol s_3_4[2] = { 'i', 'r' };
147
+
148
+ static const struct among a_3[5] =
149
+ {
150
+ /* 0 */ { 4, s_3_0, -1, 1, 0},
151
+ /* 1 */ { 4, s_3_1, -1, 1, 0},
152
+ /* 2 */ { 2, s_3_2, -1, 2, 0},
153
+ /* 3 */ { 2, s_3_3, -1, 2, 0},
154
+ /* 4 */ { 2, s_3_4, -1, 2, 0}
155
+ };
156
+
157
+ static const symbol s_4_0[2] = { 'i', 'c' };
158
+ static const symbol s_4_1[4] = { 'a', 'b', 'i', 'l' };
159
+ static const symbol s_4_2[2] = { 'o', 's' };
160
+ static const symbol s_4_3[2] = { 'i', 'v' };
161
+
162
+ static const struct among a_4[4] =
163
+ {
164
+ /* 0 */ { 2, s_4_0, -1, -1, 0},
165
+ /* 1 */ { 4, s_4_1, -1, -1, 0},
166
+ /* 2 */ { 2, s_4_2, -1, -1, 0},
167
+ /* 3 */ { 2, s_4_3, -1, 1, 0}
168
+ };
169
+
170
+ static const symbol s_5_0[2] = { 'i', 'c' };
171
+ static const symbol s_5_1[4] = { 'a', 'b', 'i', 'l' };
172
+ static const symbol s_5_2[2] = { 'i', 'v' };
173
+
174
+ static const struct among a_5[3] =
175
+ {
176
+ /* 0 */ { 2, s_5_0, -1, 1, 0},
177
+ /* 1 */ { 4, s_5_1, -1, 1, 0},
178
+ /* 2 */ { 2, s_5_2, -1, 1, 0}
179
+ };
180
+
181
+ static const symbol s_6_0[3] = { 'i', 'c', 'a' };
182
+ static const symbol s_6_1[5] = { 'l', 'o', 'g', 'i', 'a' };
183
+ static const symbol s_6_2[3] = { 'o', 's', 'a' };
184
+ static const symbol s_6_3[4] = { 'i', 's', 't', 'a' };
185
+ static const symbol s_6_4[3] = { 'i', 'v', 'a' };
186
+ static const symbol s_6_5[4] = { 'a', 'n', 'z', 'a' };
187
+ static const symbol s_6_6[4] = { 'e', 'n', 'z', 'a' };
188
+ static const symbol s_6_7[3] = { 'i', 'c', 'e' };
189
+ static const symbol s_6_8[6] = { 'a', 't', 'r', 'i', 'c', 'e' };
190
+ static const symbol s_6_9[4] = { 'i', 'c', 'h', 'e' };
191
+ static const symbol s_6_10[5] = { 'l', 'o', 'g', 'i', 'e' };
192
+ static const symbol s_6_11[5] = { 'a', 'b', 'i', 'l', 'e' };
193
+ static const symbol s_6_12[5] = { 'i', 'b', 'i', 'l', 'e' };
194
+ static const symbol s_6_13[6] = { 'u', 's', 'i', 'o', 'n', 'e' };
195
+ static const symbol s_6_14[6] = { 'a', 'z', 'i', 'o', 'n', 'e' };
196
+ static const symbol s_6_15[6] = { 'u', 'z', 'i', 'o', 'n', 'e' };
197
+ static const symbol s_6_16[5] = { 'a', 't', 'o', 'r', 'e' };
198
+ static const symbol s_6_17[3] = { 'o', 's', 'e' };
199
+ static const symbol s_6_18[4] = { 'a', 'n', 't', 'e' };
200
+ static const symbol s_6_19[5] = { 'm', 'e', 'n', 't', 'e' };
201
+ static const symbol s_6_20[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
202
+ static const symbol s_6_21[4] = { 'i', 's', 't', 'e' };
203
+ static const symbol s_6_22[3] = { 'i', 'v', 'e' };
204
+ static const symbol s_6_23[4] = { 'a', 'n', 'z', 'e' };
205
+ static const symbol s_6_24[4] = { 'e', 'n', 'z', 'e' };
206
+ static const symbol s_6_25[3] = { 'i', 'c', 'i' };
207
+ static const symbol s_6_26[6] = { 'a', 't', 'r', 'i', 'c', 'i' };
208
+ static const symbol s_6_27[4] = { 'i', 'c', 'h', 'i' };
209
+ static const symbol s_6_28[5] = { 'a', 'b', 'i', 'l', 'i' };
210
+ static const symbol s_6_29[5] = { 'i', 'b', 'i', 'l', 'i' };
211
+ static const symbol s_6_30[4] = { 'i', 's', 'm', 'i' };
212
+ static const symbol s_6_31[6] = { 'u', 's', 'i', 'o', 'n', 'i' };
213
+ static const symbol s_6_32[6] = { 'a', 'z', 'i', 'o', 'n', 'i' };
214
+ static const symbol s_6_33[6] = { 'u', 'z', 'i', 'o', 'n', 'i' };
215
+ static const symbol s_6_34[5] = { 'a', 't', 'o', 'r', 'i' };
216
+ static const symbol s_6_35[3] = { 'o', 's', 'i' };
217
+ static const symbol s_6_36[4] = { 'a', 'n', 't', 'i' };
218
+ static const symbol s_6_37[6] = { 'a', 'm', 'e', 'n', 't', 'i' };
219
+ static const symbol s_6_38[6] = { 'i', 'm', 'e', 'n', 't', 'i' };
220
+ static const symbol s_6_39[4] = { 'i', 's', 't', 'i' };
221
+ static const symbol s_6_40[3] = { 'i', 'v', 'i' };
222
+ static const symbol s_6_41[3] = { 'i', 'c', 'o' };
223
+ static const symbol s_6_42[4] = { 'i', 's', 'm', 'o' };
224
+ static const symbol s_6_43[3] = { 'o', 's', 'o' };
225
+ static const symbol s_6_44[6] = { 'a', 'm', 'e', 'n', 't', 'o' };
226
+ static const symbol s_6_45[6] = { 'i', 'm', 'e', 'n', 't', 'o' };
227
+ static const symbol s_6_46[3] = { 'i', 'v', 'o' };
228
+ static const symbol s_6_47[4] = { 'i', 't', 0xC3, 0xA0 };
229
+ static const symbol s_6_48[5] = { 'i', 's', 't', 0xC3, 0xA0 };
230
+ static const symbol s_6_49[5] = { 'i', 's', 't', 0xC3, 0xA8 };
231
+ static const symbol s_6_50[5] = { 'i', 's', 't', 0xC3, 0xAC };
232
+
233
+ static const struct among a_6[51] =
234
+ {
235
+ /* 0 */ { 3, s_6_0, -1, 1, 0},
236
+ /* 1 */ { 5, s_6_1, -1, 3, 0},
237
+ /* 2 */ { 3, s_6_2, -1, 1, 0},
238
+ /* 3 */ { 4, s_6_3, -1, 1, 0},
239
+ /* 4 */ { 3, s_6_4, -1, 9, 0},
240
+ /* 5 */ { 4, s_6_5, -1, 1, 0},
241
+ /* 6 */ { 4, s_6_6, -1, 5, 0},
242
+ /* 7 */ { 3, s_6_7, -1, 1, 0},
243
+ /* 8 */ { 6, s_6_8, 7, 1, 0},
244
+ /* 9 */ { 4, s_6_9, -1, 1, 0},
245
+ /* 10 */ { 5, s_6_10, -1, 3, 0},
246
+ /* 11 */ { 5, s_6_11, -1, 1, 0},
247
+ /* 12 */ { 5, s_6_12, -1, 1, 0},
248
+ /* 13 */ { 6, s_6_13, -1, 4, 0},
249
+ /* 14 */ { 6, s_6_14, -1, 2, 0},
250
+ /* 15 */ { 6, s_6_15, -1, 4, 0},
251
+ /* 16 */ { 5, s_6_16, -1, 2, 0},
252
+ /* 17 */ { 3, s_6_17, -1, 1, 0},
253
+ /* 18 */ { 4, s_6_18, -1, 1, 0},
254
+ /* 19 */ { 5, s_6_19, -1, 1, 0},
255
+ /* 20 */ { 6, s_6_20, 19, 7, 0},
256
+ /* 21 */ { 4, s_6_21, -1, 1, 0},
257
+ /* 22 */ { 3, s_6_22, -1, 9, 0},
258
+ /* 23 */ { 4, s_6_23, -1, 1, 0},
259
+ /* 24 */ { 4, s_6_24, -1, 5, 0},
260
+ /* 25 */ { 3, s_6_25, -1, 1, 0},
261
+ /* 26 */ { 6, s_6_26, 25, 1, 0},
262
+ /* 27 */ { 4, s_6_27, -1, 1, 0},
263
+ /* 28 */ { 5, s_6_28, -1, 1, 0},
264
+ /* 29 */ { 5, s_6_29, -1, 1, 0},
265
+ /* 30 */ { 4, s_6_30, -1, 1, 0},
266
+ /* 31 */ { 6, s_6_31, -1, 4, 0},
267
+ /* 32 */ { 6, s_6_32, -1, 2, 0},
268
+ /* 33 */ { 6, s_6_33, -1, 4, 0},
269
+ /* 34 */ { 5, s_6_34, -1, 2, 0},
270
+ /* 35 */ { 3, s_6_35, -1, 1, 0},
271
+ /* 36 */ { 4, s_6_36, -1, 1, 0},
272
+ /* 37 */ { 6, s_6_37, -1, 6, 0},
273
+ /* 38 */ { 6, s_6_38, -1, 6, 0},
274
+ /* 39 */ { 4, s_6_39, -1, 1, 0},
275
+ /* 40 */ { 3, s_6_40, -1, 9, 0},
276
+ /* 41 */ { 3, s_6_41, -1, 1, 0},
277
+ /* 42 */ { 4, s_6_42, -1, 1, 0},
278
+ /* 43 */ { 3, s_6_43, -1, 1, 0},
279
+ /* 44 */ { 6, s_6_44, -1, 6, 0},
280
+ /* 45 */ { 6, s_6_45, -1, 6, 0},
281
+ /* 46 */ { 3, s_6_46, -1, 9, 0},
282
+ /* 47 */ { 4, s_6_47, -1, 8, 0},
283
+ /* 48 */ { 5, s_6_48, -1, 1, 0},
284
+ /* 49 */ { 5, s_6_49, -1, 1, 0},
285
+ /* 50 */ { 5, s_6_50, -1, 1, 0}
286
+ };
287
+
288
+ static const symbol s_7_0[4] = { 'i', 's', 'c', 'a' };
289
+ static const symbol s_7_1[4] = { 'e', 'n', 'd', 'a' };
290
+ static const symbol s_7_2[3] = { 'a', 't', 'a' };
291
+ static const symbol s_7_3[3] = { 'i', 't', 'a' };
292
+ static const symbol s_7_4[3] = { 'u', 't', 'a' };
293
+ static const symbol s_7_5[3] = { 'a', 'v', 'a' };
294
+ static const symbol s_7_6[3] = { 'e', 'v', 'a' };
295
+ static const symbol s_7_7[3] = { 'i', 'v', 'a' };
296
+ static const symbol s_7_8[6] = { 'e', 'r', 'e', 'b', 'b', 'e' };
297
+ static const symbol s_7_9[6] = { 'i', 'r', 'e', 'b', 'b', 'e' };
298
+ static const symbol s_7_10[4] = { 'i', 's', 'c', 'e' };
299
+ static const symbol s_7_11[4] = { 'e', 'n', 'd', 'e' };
300
+ static const symbol s_7_12[3] = { 'a', 'r', 'e' };
301
+ static const symbol s_7_13[3] = { 'e', 'r', 'e' };
302
+ static const symbol s_7_14[3] = { 'i', 'r', 'e' };
303
+ static const symbol s_7_15[4] = { 'a', 's', 's', 'e' };
304
+ static const symbol s_7_16[3] = { 'a', 't', 'e' };
305
+ static const symbol s_7_17[5] = { 'a', 'v', 'a', 't', 'e' };
306
+ static const symbol s_7_18[5] = { 'e', 'v', 'a', 't', 'e' };
307
+ static const symbol s_7_19[5] = { 'i', 'v', 'a', 't', 'e' };
308
+ static const symbol s_7_20[3] = { 'e', 't', 'e' };
309
+ static const symbol s_7_21[5] = { 'e', 'r', 'e', 't', 'e' };
310
+ static const symbol s_7_22[5] = { 'i', 'r', 'e', 't', 'e' };
311
+ static const symbol s_7_23[3] = { 'i', 't', 'e' };
312
+ static const symbol s_7_24[6] = { 'e', 'r', 'e', 's', 't', 'e' };
313
+ static const symbol s_7_25[6] = { 'i', 'r', 'e', 's', 't', 'e' };
314
+ static const symbol s_7_26[3] = { 'u', 't', 'e' };
315
+ static const symbol s_7_27[4] = { 'e', 'r', 'a', 'i' };
316
+ static const symbol s_7_28[4] = { 'i', 'r', 'a', 'i' };
317
+ static const symbol s_7_29[4] = { 'i', 's', 'c', 'i' };
318
+ static const symbol s_7_30[4] = { 'e', 'n', 'd', 'i' };
319
+ static const symbol s_7_31[4] = { 'e', 'r', 'e', 'i' };
320
+ static const symbol s_7_32[4] = { 'i', 'r', 'e', 'i' };
321
+ static const symbol s_7_33[4] = { 'a', 's', 's', 'i' };
322
+ static const symbol s_7_34[3] = { 'a', 't', 'i' };
323
+ static const symbol s_7_35[3] = { 'i', 't', 'i' };
324
+ static const symbol s_7_36[6] = { 'e', 'r', 'e', 's', 't', 'i' };
325
+ static const symbol s_7_37[6] = { 'i', 'r', 'e', 's', 't', 'i' };
326
+ static const symbol s_7_38[3] = { 'u', 't', 'i' };
327
+ static const symbol s_7_39[3] = { 'a', 'v', 'i' };
328
+ static const symbol s_7_40[3] = { 'e', 'v', 'i' };
329
+ static const symbol s_7_41[3] = { 'i', 'v', 'i' };
330
+ static const symbol s_7_42[4] = { 'i', 's', 'c', 'o' };
331
+ static const symbol s_7_43[4] = { 'a', 'n', 'd', 'o' };
332
+ static const symbol s_7_44[4] = { 'e', 'n', 'd', 'o' };
333
+ static const symbol s_7_45[4] = { 'Y', 'a', 'm', 'o' };
334
+ static const symbol s_7_46[4] = { 'i', 'a', 'm', 'o' };
335
+ static const symbol s_7_47[5] = { 'a', 'v', 'a', 'm', 'o' };
336
+ static const symbol s_7_48[5] = { 'e', 'v', 'a', 'm', 'o' };
337
+ static const symbol s_7_49[5] = { 'i', 'v', 'a', 'm', 'o' };
338
+ static const symbol s_7_50[5] = { 'e', 'r', 'e', 'm', 'o' };
339
+ static const symbol s_7_51[5] = { 'i', 'r', 'e', 'm', 'o' };
340
+ static const symbol s_7_52[6] = { 'a', 's', 's', 'i', 'm', 'o' };
341
+ static const symbol s_7_53[4] = { 'a', 'm', 'm', 'o' };
342
+ static const symbol s_7_54[4] = { 'e', 'm', 'm', 'o' };
343
+ static const symbol s_7_55[6] = { 'e', 'r', 'e', 'm', 'm', 'o' };
344
+ static const symbol s_7_56[6] = { 'i', 'r', 'e', 'm', 'm', 'o' };
345
+ static const symbol s_7_57[4] = { 'i', 'm', 'm', 'o' };
346
+ static const symbol s_7_58[3] = { 'a', 'n', 'o' };
347
+ static const symbol s_7_59[6] = { 'i', 's', 'c', 'a', 'n', 'o' };
348
+ static const symbol s_7_60[5] = { 'a', 'v', 'a', 'n', 'o' };
349
+ static const symbol s_7_61[5] = { 'e', 'v', 'a', 'n', 'o' };
350
+ static const symbol s_7_62[5] = { 'i', 'v', 'a', 'n', 'o' };
351
+ static const symbol s_7_63[6] = { 'e', 'r', 'a', 'n', 'n', 'o' };
352
+ static const symbol s_7_64[6] = { 'i', 'r', 'a', 'n', 'n', 'o' };
353
+ static const symbol s_7_65[3] = { 'o', 'n', 'o' };
354
+ static const symbol s_7_66[6] = { 'i', 's', 'c', 'o', 'n', 'o' };
355
+ static const symbol s_7_67[5] = { 'a', 'r', 'o', 'n', 'o' };
356
+ static const symbol s_7_68[5] = { 'e', 'r', 'o', 'n', 'o' };
357
+ static const symbol s_7_69[5] = { 'i', 'r', 'o', 'n', 'o' };
358
+ static const symbol s_7_70[8] = { 'e', 'r', 'e', 'b', 'b', 'e', 'r', 'o' };
359
+ static const symbol s_7_71[8] = { 'i', 'r', 'e', 'b', 'b', 'e', 'r', 'o' };
360
+ static const symbol s_7_72[6] = { 'a', 's', 's', 'e', 'r', 'o' };
361
+ static const symbol s_7_73[6] = { 'e', 's', 's', 'e', 'r', 'o' };
362
+ static const symbol s_7_74[6] = { 'i', 's', 's', 'e', 'r', 'o' };
363
+ static const symbol s_7_75[3] = { 'a', 't', 'o' };
364
+ static const symbol s_7_76[3] = { 'i', 't', 'o' };
365
+ static const symbol s_7_77[3] = { 'u', 't', 'o' };
366
+ static const symbol s_7_78[3] = { 'a', 'v', 'o' };
367
+ static const symbol s_7_79[3] = { 'e', 'v', 'o' };
368
+ static const symbol s_7_80[3] = { 'i', 'v', 'o' };
369
+ static const symbol s_7_81[2] = { 'a', 'r' };
370
+ static const symbol s_7_82[2] = { 'i', 'r' };
371
+ static const symbol s_7_83[4] = { 'e', 'r', 0xC3, 0xA0 };
372
+ static const symbol s_7_84[4] = { 'i', 'r', 0xC3, 0xA0 };
373
+ static const symbol s_7_85[4] = { 'e', 'r', 0xC3, 0xB2 };
374
+ static const symbol s_7_86[4] = { 'i', 'r', 0xC3, 0xB2 };
375
+
376
+ static const struct among a_7[87] =
377
+ {
378
+ /* 0 */ { 4, s_7_0, -1, 1, 0},
379
+ /* 1 */ { 4, s_7_1, -1, 1, 0},
380
+ /* 2 */ { 3, s_7_2, -1, 1, 0},
381
+ /* 3 */ { 3, s_7_3, -1, 1, 0},
382
+ /* 4 */ { 3, s_7_4, -1, 1, 0},
383
+ /* 5 */ { 3, s_7_5, -1, 1, 0},
384
+ /* 6 */ { 3, s_7_6, -1, 1, 0},
385
+ /* 7 */ { 3, s_7_7, -1, 1, 0},
386
+ /* 8 */ { 6, s_7_8, -1, 1, 0},
387
+ /* 9 */ { 6, s_7_9, -1, 1, 0},
388
+ /* 10 */ { 4, s_7_10, -1, 1, 0},
389
+ /* 11 */ { 4, s_7_11, -1, 1, 0},
390
+ /* 12 */ { 3, s_7_12, -1, 1, 0},
391
+ /* 13 */ { 3, s_7_13, -1, 1, 0},
392
+ /* 14 */ { 3, s_7_14, -1, 1, 0},
393
+ /* 15 */ { 4, s_7_15, -1, 1, 0},
394
+ /* 16 */ { 3, s_7_16, -1, 1, 0},
395
+ /* 17 */ { 5, s_7_17, 16, 1, 0},
396
+ /* 18 */ { 5, s_7_18, 16, 1, 0},
397
+ /* 19 */ { 5, s_7_19, 16, 1, 0},
398
+ /* 20 */ { 3, s_7_20, -1, 1, 0},
399
+ /* 21 */ { 5, s_7_21, 20, 1, 0},
400
+ /* 22 */ { 5, s_7_22, 20, 1, 0},
401
+ /* 23 */ { 3, s_7_23, -1, 1, 0},
402
+ /* 24 */ { 6, s_7_24, -1, 1, 0},
403
+ /* 25 */ { 6, s_7_25, -1, 1, 0},
404
+ /* 26 */ { 3, s_7_26, -1, 1, 0},
405
+ /* 27 */ { 4, s_7_27, -1, 1, 0},
406
+ /* 28 */ { 4, s_7_28, -1, 1, 0},
407
+ /* 29 */ { 4, s_7_29, -1, 1, 0},
408
+ /* 30 */ { 4, s_7_30, -1, 1, 0},
409
+ /* 31 */ { 4, s_7_31, -1, 1, 0},
410
+ /* 32 */ { 4, s_7_32, -1, 1, 0},
411
+ /* 33 */ { 4, s_7_33, -1, 1, 0},
412
+ /* 34 */ { 3, s_7_34, -1, 1, 0},
413
+ /* 35 */ { 3, s_7_35, -1, 1, 0},
414
+ /* 36 */ { 6, s_7_36, -1, 1, 0},
415
+ /* 37 */ { 6, s_7_37, -1, 1, 0},
416
+ /* 38 */ { 3, s_7_38, -1, 1, 0},
417
+ /* 39 */ { 3, s_7_39, -1, 1, 0},
418
+ /* 40 */ { 3, s_7_40, -1, 1, 0},
419
+ /* 41 */ { 3, s_7_41, -1, 1, 0},
420
+ /* 42 */ { 4, s_7_42, -1, 1, 0},
421
+ /* 43 */ { 4, s_7_43, -1, 1, 0},
422
+ /* 44 */ { 4, s_7_44, -1, 1, 0},
423
+ /* 45 */ { 4, s_7_45, -1, 1, 0},
424
+ /* 46 */ { 4, s_7_46, -1, 1, 0},
425
+ /* 47 */ { 5, s_7_47, -1, 1, 0},
426
+ /* 48 */ { 5, s_7_48, -1, 1, 0},
427
+ /* 49 */ { 5, s_7_49, -1, 1, 0},
428
+ /* 50 */ { 5, s_7_50, -1, 1, 0},
429
+ /* 51 */ { 5, s_7_51, -1, 1, 0},
430
+ /* 52 */ { 6, s_7_52, -1, 1, 0},
431
+ /* 53 */ { 4, s_7_53, -1, 1, 0},
432
+ /* 54 */ { 4, s_7_54, -1, 1, 0},
433
+ /* 55 */ { 6, s_7_55, 54, 1, 0},
434
+ /* 56 */ { 6, s_7_56, 54, 1, 0},
435
+ /* 57 */ { 4, s_7_57, -1, 1, 0},
436
+ /* 58 */ { 3, s_7_58, -1, 1, 0},
437
+ /* 59 */ { 6, s_7_59, 58, 1, 0},
438
+ /* 60 */ { 5, s_7_60, 58, 1, 0},
439
+ /* 61 */ { 5, s_7_61, 58, 1, 0},
440
+ /* 62 */ { 5, s_7_62, 58, 1, 0},
441
+ /* 63 */ { 6, s_7_63, -1, 1, 0},
442
+ /* 64 */ { 6, s_7_64, -1, 1, 0},
443
+ /* 65 */ { 3, s_7_65, -1, 1, 0},
444
+ /* 66 */ { 6, s_7_66, 65, 1, 0},
445
+ /* 67 */ { 5, s_7_67, 65, 1, 0},
446
+ /* 68 */ { 5, s_7_68, 65, 1, 0},
447
+ /* 69 */ { 5, s_7_69, 65, 1, 0},
448
+ /* 70 */ { 8, s_7_70, -1, 1, 0},
449
+ /* 71 */ { 8, s_7_71, -1, 1, 0},
450
+ /* 72 */ { 6, s_7_72, -1, 1, 0},
451
+ /* 73 */ { 6, s_7_73, -1, 1, 0},
452
+ /* 74 */ { 6, s_7_74, -1, 1, 0},
453
+ /* 75 */ { 3, s_7_75, -1, 1, 0},
454
+ /* 76 */ { 3, s_7_76, -1, 1, 0},
455
+ /* 77 */ { 3, s_7_77, -1, 1, 0},
456
+ /* 78 */ { 3, s_7_78, -1, 1, 0},
457
+ /* 79 */ { 3, s_7_79, -1, 1, 0},
458
+ /* 80 */ { 3, s_7_80, -1, 1, 0},
459
+ /* 81 */ { 2, s_7_81, -1, 1, 0},
460
+ /* 82 */ { 2, s_7_82, -1, 1, 0},
461
+ /* 83 */ { 4, s_7_83, -1, 1, 0},
462
+ /* 84 */ { 4, s_7_84, -1, 1, 0},
463
+ /* 85 */ { 4, s_7_85, -1, 1, 0},
464
+ /* 86 */ { 4, s_7_86, -1, 1, 0}
465
+ };
466
+
467
+ static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 8, 2, 1 };
468
+
469
+ static const unsigned char g_AEIO[] = { 17, 65, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 128, 128, 8, 2 };
470
+
471
+ static const unsigned char g_CG[] = { 17 };
472
+
473
+ static const symbol s_0[] = { 0xC3, 0xA0 };
474
+ static const symbol s_1[] = { 0xC3, 0xA8 };
475
+ static const symbol s_2[] = { 0xC3, 0xAC };
476
+ static const symbol s_3[] = { 0xC3, 0xB2 };
477
+ static const symbol s_4[] = { 0xC3, 0xB9 };
478
+ static const symbol s_5[] = { 'q', 'U' };
479
+ static const symbol s_6[] = { 'u' };
480
+ static const symbol s_7[] = { 'U' };
481
+ static const symbol s_8[] = { 'i' };
482
+ static const symbol s_9[] = { 'I' };
483
+ static const symbol s_10[] = { 'i' };
484
+ static const symbol s_11[] = { 'u' };
485
+ static const symbol s_12[] = { 'e' };
486
+ static const symbol s_13[] = { 'i', 'c' };
487
+ static const symbol s_14[] = { 'l', 'o', 'g' };
488
+ static const symbol s_15[] = { 'u' };
489
+ static const symbol s_16[] = { 'e', 'n', 't', 'e' };
490
+ static const symbol s_17[] = { 'a', 't' };
491
+ static const symbol s_18[] = { 'a', 't' };
492
+ static const symbol s_19[] = { 'i', 'c' };
493
+ static const symbol s_20[] = { 'i' };
494
+ static const symbol s_21[] = { 'h' };
495
+
496
+ static int r_prelude(struct SN_env * z) {
497
+ int among_var;
498
+ { int c_test = z->c; /* test, line 35 */
499
+ while(1) { /* repeat, line 35 */
500
+ int c1 = z->c;
501
+ z->bra = z->c; /* [, line 36 */
502
+ among_var = find_among(z, a_0, 7); /* substring, line 36 */
503
+ if (!(among_var)) goto lab0;
504
+ z->ket = z->c; /* ], line 36 */
505
+ switch(among_var) {
506
+ case 0: goto lab0;
507
+ case 1:
508
+ { int ret = slice_from_s(z, 2, s_0); /* <-, line 37 */
509
+ if (ret < 0) return ret;
510
+ }
511
+ break;
512
+ case 2:
513
+ { int ret = slice_from_s(z, 2, s_1); /* <-, line 38 */
514
+ if (ret < 0) return ret;
515
+ }
516
+ break;
517
+ case 3:
518
+ { int ret = slice_from_s(z, 2, s_2); /* <-, line 39 */
519
+ if (ret < 0) return ret;
520
+ }
521
+ break;
522
+ case 4:
523
+ { int ret = slice_from_s(z, 2, s_3); /* <-, line 40 */
524
+ if (ret < 0) return ret;
525
+ }
526
+ break;
527
+ case 5:
528
+ { int ret = slice_from_s(z, 2, s_4); /* <-, line 41 */
529
+ if (ret < 0) return ret;
530
+ }
531
+ break;
532
+ case 6:
533
+ { int ret = slice_from_s(z, 2, s_5); /* <-, line 42 */
534
+ if (ret < 0) return ret;
535
+ }
536
+ break;
537
+ case 7:
538
+ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
539
+ if (ret < 0) goto lab0;
540
+ z->c = ret; /* next, line 43 */
541
+ }
542
+ break;
543
+ }
544
+ continue;
545
+ lab0:
546
+ z->c = c1;
547
+ break;
548
+ }
549
+ z->c = c_test;
550
+ }
551
+ while(1) { /* repeat, line 46 */
552
+ int c2 = z->c;
553
+ while(1) { /* goto, line 46 */
554
+ int c3 = z->c;
555
+ if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab2;
556
+ z->bra = z->c; /* [, line 47 */
557
+ { int c4 = z->c; /* or, line 47 */
558
+ if (!(eq_s(z, 1, s_6))) goto lab4;
559
+ z->ket = z->c; /* ], line 47 */
560
+ if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab4;
561
+ { int ret = slice_from_s(z, 1, s_7); /* <-, line 47 */
562
+ if (ret < 0) return ret;
563
+ }
564
+ goto lab3;
565
+ lab4:
566
+ z->c = c4;
567
+ if (!(eq_s(z, 1, s_8))) goto lab2;
568
+ z->ket = z->c; /* ], line 48 */
569
+ if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab2;
570
+ { int ret = slice_from_s(z, 1, s_9); /* <-, line 48 */
571
+ if (ret < 0) return ret;
572
+ }
573
+ }
574
+ lab3:
575
+ z->c = c3;
576
+ break;
577
+ lab2:
578
+ z->c = c3;
579
+ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
580
+ if (ret < 0) goto lab1;
581
+ z->c = ret; /* goto, line 46 */
582
+ }
583
+ }
584
+ continue;
585
+ lab1:
586
+ z->c = c2;
587
+ break;
588
+ }
589
+ return 1;
590
+ }
591
+
592
+ static int r_mark_regions(struct SN_env * z) {
593
+ z->I[0] = z->l;
594
+ z->I[1] = z->l;
595
+ z->I[2] = z->l;
596
+ { int c1 = z->c; /* do, line 58 */
597
+ { int c2 = z->c; /* or, line 60 */
598
+ if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab2;
599
+ { int c3 = z->c; /* or, line 59 */
600
+ if (out_grouping_U(z, g_v, 97, 249, 0)) goto lab4;
601
+ { /* gopast */ /* grouping v, line 59 */
602
+ int ret = out_grouping_U(z, g_v, 97, 249, 1);
603
+ if (ret < 0) goto lab4;
604
+ z->c += ret;
605
+ }
606
+ goto lab3;
607
+ lab4:
608
+ z->c = c3;
609
+ if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab2;
610
+ { /* gopast */ /* non v, line 59 */
611
+ int ret = in_grouping_U(z, g_v, 97, 249, 1);
612
+ if (ret < 0) goto lab2;
613
+ z->c += ret;
614
+ }
615
+ }
616
+ lab3:
617
+ goto lab1;
618
+ lab2:
619
+ z->c = c2;
620
+ if (out_grouping_U(z, g_v, 97, 249, 0)) goto lab0;
621
+ { int c4 = z->c; /* or, line 61 */
622
+ if (out_grouping_U(z, g_v, 97, 249, 0)) goto lab6;
623
+ { /* gopast */ /* grouping v, line 61 */
624
+ int ret = out_grouping_U(z, g_v, 97, 249, 1);
625
+ if (ret < 0) goto lab6;
626
+ z->c += ret;
627
+ }
628
+ goto lab5;
629
+ lab6:
630
+ z->c = c4;
631
+ if (in_grouping_U(z, g_v, 97, 249, 0)) goto lab0;
632
+ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
633
+ if (ret < 0) goto lab0;
634
+ z->c = ret; /* next, line 61 */
635
+ }
636
+ }
637
+ lab5:
638
+ ;
639
+ }
640
+ lab1:
641
+ z->I[0] = z->c; /* setmark pV, line 62 */
642
+ lab0:
643
+ z->c = c1;
644
+ }
645
+ { int c5 = z->c; /* do, line 64 */
646
+ { /* gopast */ /* grouping v, line 65 */
647
+ int ret = out_grouping_U(z, g_v, 97, 249, 1);
648
+ if (ret < 0) goto lab7;
649
+ z->c += ret;
650
+ }
651
+ { /* gopast */ /* non v, line 65 */
652
+ int ret = in_grouping_U(z, g_v, 97, 249, 1);
653
+ if (ret < 0) goto lab7;
654
+ z->c += ret;
655
+ }
656
+ z->I[1] = z->c; /* setmark p1, line 65 */
657
+ { /* gopast */ /* grouping v, line 66 */
658
+ int ret = out_grouping_U(z, g_v, 97, 249, 1);
659
+ if (ret < 0) goto lab7;
660
+ z->c += ret;
661
+ }
662
+ { /* gopast */ /* non v, line 66 */
663
+ int ret = in_grouping_U(z, g_v, 97, 249, 1);
664
+ if (ret < 0) goto lab7;
665
+ z->c += ret;
666
+ }
667
+ z->I[2] = z->c; /* setmark p2, line 66 */
668
+ lab7:
669
+ z->c = c5;
670
+ }
671
+ return 1;
672
+ }
673
+
674
+ static int r_postlude(struct SN_env * z) {
675
+ int among_var;
676
+ while(1) { /* repeat, line 70 */
677
+ int c1 = z->c;
678
+ z->bra = z->c; /* [, line 72 */
679
+ if (z->c >= z->l || (z->p[z->c + 0] != 73 && z->p[z->c + 0] != 85)) among_var = 3; else
680
+ among_var = find_among(z, a_1, 3); /* substring, line 72 */
681
+ if (!(among_var)) goto lab0;
682
+ z->ket = z->c; /* ], line 72 */
683
+ switch(among_var) {
684
+ case 0: goto lab0;
685
+ case 1:
686
+ { int ret = slice_from_s(z, 1, s_10); /* <-, line 73 */
687
+ if (ret < 0) return ret;
688
+ }
689
+ break;
690
+ case 2:
691
+ { int ret = slice_from_s(z, 1, s_11); /* <-, line 74 */
692
+ if (ret < 0) return ret;
693
+ }
694
+ break;
695
+ case 3:
696
+ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
697
+ if (ret < 0) goto lab0;
698
+ z->c = ret; /* next, line 75 */
699
+ }
700
+ break;
701
+ }
702
+ continue;
703
+ lab0:
704
+ z->c = c1;
705
+ break;
706
+ }
707
+ return 1;
708
+ }
709
+
710
+ static int r_RV(struct SN_env * z) {
711
+ if (!(z->I[0] <= z->c)) return 0;
712
+ return 1;
713
+ }
714
+
715
+ static int r_R1(struct SN_env * z) {
716
+ if (!(z->I[1] <= z->c)) return 0;
717
+ return 1;
718
+ }
719
+
720
+ static int r_R2(struct SN_env * z) {
721
+ if (!(z->I[2] <= z->c)) return 0;
722
+ return 1;
723
+ }
724
+
725
+ static int r_attached_pronoun(struct SN_env * z) {
726
+ int among_var;
727
+ z->ket = z->c; /* [, line 87 */
728
+ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((33314 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
729
+ if (!(find_among_b(z, a_2, 37))) return 0; /* substring, line 87 */
730
+ z->bra = z->c; /* ], line 87 */
731
+ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 111 && z->p[z->c - 1] != 114)) return 0;
732
+ among_var = find_among_b(z, a_3, 5); /* among, line 97 */
733
+ if (!(among_var)) return 0;
734
+ { int ret = r_RV(z);
735
+ if (ret == 0) return 0; /* call RV, line 97 */
736
+ if (ret < 0) return ret;
737
+ }
738
+ switch(among_var) {
739
+ case 0: return 0;
740
+ case 1:
741
+ { int ret = slice_del(z); /* delete, line 98 */
742
+ if (ret < 0) return ret;
743
+ }
744
+ break;
745
+ case 2:
746
+ { int ret = slice_from_s(z, 1, s_12); /* <-, line 99 */
747
+ if (ret < 0) return ret;
748
+ }
749
+ break;
750
+ }
751
+ return 1;
752
+ }
753
+
754
+ static int r_standard_suffix(struct SN_env * z) {
755
+ int among_var;
756
+ z->ket = z->c; /* [, line 104 */
757
+ among_var = find_among_b(z, a_6, 51); /* substring, line 104 */
758
+ if (!(among_var)) return 0;
759
+ z->bra = z->c; /* ], line 104 */
760
+ switch(among_var) {
761
+ case 0: return 0;
762
+ case 1:
763
+ { int ret = r_R2(z);
764
+ if (ret == 0) return 0; /* call R2, line 111 */
765
+ if (ret < 0) return ret;
766
+ }
767
+ { int ret = slice_del(z); /* delete, line 111 */
768
+ if (ret < 0) return ret;
769
+ }
770
+ break;
771
+ case 2:
772
+ { int ret = r_R2(z);
773
+ if (ret == 0) return 0; /* call R2, line 113 */
774
+ if (ret < 0) return ret;
775
+ }
776
+ { int ret = slice_del(z); /* delete, line 113 */
777
+ if (ret < 0) return ret;
778
+ }
779
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 114 */
780
+ z->ket = z->c; /* [, line 114 */
781
+ if (!(eq_s_b(z, 2, s_13))) { z->c = z->l - m_keep; goto lab0; }
782
+ z->bra = z->c; /* ], line 114 */
783
+ { int ret = r_R2(z);
784
+ if (ret == 0) { z->c = z->l - m_keep; goto lab0; } /* call R2, line 114 */
785
+ if (ret < 0) return ret;
786
+ }
787
+ { int ret = slice_del(z); /* delete, line 114 */
788
+ if (ret < 0) return ret;
789
+ }
790
+ lab0:
791
+ ;
792
+ }
793
+ break;
794
+ case 3:
795
+ { int ret = r_R2(z);
796
+ if (ret == 0) return 0; /* call R2, line 117 */
797
+ if (ret < 0) return ret;
798
+ }
799
+ { int ret = slice_from_s(z, 3, s_14); /* <-, line 117 */
800
+ if (ret < 0) return ret;
801
+ }
802
+ break;
803
+ case 4:
804
+ { int ret = r_R2(z);
805
+ if (ret == 0) return 0; /* call R2, line 119 */
806
+ if (ret < 0) return ret;
807
+ }
808
+ { int ret = slice_from_s(z, 1, s_15); /* <-, line 119 */
809
+ if (ret < 0) return ret;
810
+ }
811
+ break;
812
+ case 5:
813
+ { int ret = r_R2(z);
814
+ if (ret == 0) return 0; /* call R2, line 121 */
815
+ if (ret < 0) return ret;
816
+ }
817
+ { int ret = slice_from_s(z, 4, s_16); /* <-, line 121 */
818
+ if (ret < 0) return ret;
819
+ }
820
+ break;
821
+ case 6:
822
+ { int ret = r_RV(z);
823
+ if (ret == 0) return 0; /* call RV, line 123 */
824
+ if (ret < 0) return ret;
825
+ }
826
+ { int ret = slice_del(z); /* delete, line 123 */
827
+ if (ret < 0) return ret;
828
+ }
829
+ break;
830
+ case 7:
831
+ { int ret = r_R1(z);
832
+ if (ret == 0) return 0; /* call R1, line 125 */
833
+ if (ret < 0) return ret;
834
+ }
835
+ { int ret = slice_del(z); /* delete, line 125 */
836
+ if (ret < 0) return ret;
837
+ }
838
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 126 */
839
+ z->ket = z->c; /* [, line 127 */
840
+ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4722696 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m_keep; goto lab1; }
841
+ among_var = find_among_b(z, a_4, 4); /* substring, line 127 */
842
+ if (!(among_var)) { z->c = z->l - m_keep; goto lab1; }
843
+ z->bra = z->c; /* ], line 127 */
844
+ { int ret = r_R2(z);
845
+ if (ret == 0) { z->c = z->l - m_keep; goto lab1; } /* call R2, line 127 */
846
+ if (ret < 0) return ret;
847
+ }
848
+ { int ret = slice_del(z); /* delete, line 127 */
849
+ if (ret < 0) return ret;
850
+ }
851
+ switch(among_var) {
852
+ case 0: { z->c = z->l - m_keep; goto lab1; }
853
+ case 1:
854
+ z->ket = z->c; /* [, line 128 */
855
+ if (!(eq_s_b(z, 2, s_17))) { z->c = z->l - m_keep; goto lab1; }
856
+ z->bra = z->c; /* ], line 128 */
857
+ { int ret = r_R2(z);
858
+ if (ret == 0) { z->c = z->l - m_keep; goto lab1; } /* call R2, line 128 */
859
+ if (ret < 0) return ret;
860
+ }
861
+ { int ret = slice_del(z); /* delete, line 128 */
862
+ if (ret < 0) return ret;
863
+ }
864
+ break;
865
+ }
866
+ lab1:
867
+ ;
868
+ }
869
+ break;
870
+ case 8:
871
+ { int ret = r_R2(z);
872
+ if (ret == 0) return 0; /* call R2, line 134 */
873
+ if (ret < 0) return ret;
874
+ }
875
+ { int ret = slice_del(z); /* delete, line 134 */
876
+ if (ret < 0) return ret;
877
+ }
878
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 135 */
879
+ z->ket = z->c; /* [, line 136 */
880
+ 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 lab2; }
881
+ among_var = find_among_b(z, a_5, 3); /* substring, line 136 */
882
+ if (!(among_var)) { z->c = z->l - m_keep; goto lab2; }
883
+ z->bra = z->c; /* ], line 136 */
884
+ switch(among_var) {
885
+ case 0: { z->c = z->l - m_keep; goto lab2; }
886
+ case 1:
887
+ { int ret = r_R2(z);
888
+ if (ret == 0) { z->c = z->l - m_keep; goto lab2; } /* call R2, line 137 */
889
+ if (ret < 0) return ret;
890
+ }
891
+ { int ret = slice_del(z); /* delete, line 137 */
892
+ if (ret < 0) return ret;
893
+ }
894
+ break;
895
+ }
896
+ lab2:
897
+ ;
898
+ }
899
+ break;
900
+ case 9:
901
+ { int ret = r_R2(z);
902
+ if (ret == 0) return 0; /* call R2, line 142 */
903
+ if (ret < 0) return ret;
904
+ }
905
+ { int ret = slice_del(z); /* delete, line 142 */
906
+ if (ret < 0) return ret;
907
+ }
908
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 143 */
909
+ z->ket = z->c; /* [, line 143 */
910
+ if (!(eq_s_b(z, 2, s_18))) { z->c = z->l - m_keep; goto lab3; }
911
+ z->bra = z->c; /* ], line 143 */
912
+ { int ret = r_R2(z);
913
+ if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call R2, line 143 */
914
+ if (ret < 0) return ret;
915
+ }
916
+ { int ret = slice_del(z); /* delete, line 143 */
917
+ if (ret < 0) return ret;
918
+ }
919
+ z->ket = z->c; /* [, line 143 */
920
+ if (!(eq_s_b(z, 2, s_19))) { z->c = z->l - m_keep; goto lab3; }
921
+ z->bra = z->c; /* ], line 143 */
922
+ { int ret = r_R2(z);
923
+ if (ret == 0) { z->c = z->l - m_keep; goto lab3; } /* call R2, line 143 */
924
+ if (ret < 0) return ret;
925
+ }
926
+ { int ret = slice_del(z); /* delete, line 143 */
927
+ if (ret < 0) return ret;
928
+ }
929
+ lab3:
930
+ ;
931
+ }
932
+ break;
933
+ }
934
+ return 1;
935
+ }
936
+
937
+ static int r_verb_suffix(struct SN_env * z) {
938
+ int among_var;
939
+ { int mlimit; /* setlimit, line 148 */
940
+ int m1 = z->l - z->c; (void)m1;
941
+ if (z->c < z->I[0]) return 0;
942
+ z->c = z->I[0]; /* tomark, line 148 */
943
+ mlimit = z->lb; z->lb = z->c;
944
+ z->c = z->l - m1;
945
+ z->ket = z->c; /* [, line 149 */
946
+ among_var = find_among_b(z, a_7, 87); /* substring, line 149 */
947
+ if (!(among_var)) { z->lb = mlimit; return 0; }
948
+ z->bra = z->c; /* ], line 149 */
949
+ switch(among_var) {
950
+ case 0: { z->lb = mlimit; return 0; }
951
+ case 1:
952
+ { int ret = slice_del(z); /* delete, line 163 */
953
+ if (ret < 0) return ret;
954
+ }
955
+ break;
956
+ }
957
+ z->lb = mlimit;
958
+ }
959
+ return 1;
960
+ }
961
+
962
+ static int r_vowel_suffix(struct SN_env * z) {
963
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 171 */
964
+ z->ket = z->c; /* [, line 172 */
965
+ if (in_grouping_b_U(z, g_AEIO, 97, 242, 0)) { z->c = z->l - m_keep; goto lab0; }
966
+ z->bra = z->c; /* ], line 172 */
967
+ { int ret = r_RV(z);
968
+ if (ret == 0) { z->c = z->l - m_keep; goto lab0; } /* call RV, line 172 */
969
+ if (ret < 0) return ret;
970
+ }
971
+ { int ret = slice_del(z); /* delete, line 172 */
972
+ if (ret < 0) return ret;
973
+ }
974
+ z->ket = z->c; /* [, line 173 */
975
+ if (!(eq_s_b(z, 1, s_20))) { z->c = z->l - m_keep; goto lab0; }
976
+ z->bra = z->c; /* ], line 173 */
977
+ { int ret = r_RV(z);
978
+ if (ret == 0) { z->c = z->l - m_keep; goto lab0; } /* call RV, line 173 */
979
+ if (ret < 0) return ret;
980
+ }
981
+ { int ret = slice_del(z); /* delete, line 173 */
982
+ if (ret < 0) return ret;
983
+ }
984
+ lab0:
985
+ ;
986
+ }
987
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 175 */
988
+ z->ket = z->c; /* [, line 176 */
989
+ if (!(eq_s_b(z, 1, s_21))) { z->c = z->l - m_keep; goto lab1; }
990
+ z->bra = z->c; /* ], line 176 */
991
+ if (in_grouping_b_U(z, g_CG, 99, 103, 0)) { z->c = z->l - m_keep; goto lab1; }
992
+ { int ret = r_RV(z);
993
+ if (ret == 0) { z->c = z->l - m_keep; goto lab1; } /* call RV, line 176 */
994
+ if (ret < 0) return ret;
995
+ }
996
+ { int ret = slice_del(z); /* delete, line 176 */
997
+ if (ret < 0) return ret;
998
+ }
999
+ lab1:
1000
+ ;
1001
+ }
1002
+ return 1;
1003
+ }
1004
+
1005
+ extern int italian_UTF_8_stem(struct SN_env * z) {
1006
+ { int c1 = z->c; /* do, line 182 */
1007
+ { int ret = r_prelude(z);
1008
+ if (ret == 0) goto lab0; /* call prelude, line 182 */
1009
+ if (ret < 0) return ret;
1010
+ }
1011
+ lab0:
1012
+ z->c = c1;
1013
+ }
1014
+ { int c2 = z->c; /* do, line 183 */
1015
+ { int ret = r_mark_regions(z);
1016
+ if (ret == 0) goto lab1; /* call mark_regions, line 183 */
1017
+ if (ret < 0) return ret;
1018
+ }
1019
+ lab1:
1020
+ z->c = c2;
1021
+ }
1022
+ z->lb = z->c; z->c = z->l; /* backwards, line 184 */
1023
+
1024
+ { int m3 = z->l - z->c; (void)m3; /* do, line 185 */
1025
+ { int ret = r_attached_pronoun(z);
1026
+ if (ret == 0) goto lab2; /* call attached_pronoun, line 185 */
1027
+ if (ret < 0) return ret;
1028
+ }
1029
+ lab2:
1030
+ z->c = z->l - m3;
1031
+ }
1032
+ { int m4 = z->l - z->c; (void)m4; /* do, line 186 */
1033
+ { int m5 = z->l - z->c; (void)m5; /* or, line 186 */
1034
+ { int ret = r_standard_suffix(z);
1035
+ if (ret == 0) goto lab5; /* call standard_suffix, line 186 */
1036
+ if (ret < 0) return ret;
1037
+ }
1038
+ goto lab4;
1039
+ lab5:
1040
+ z->c = z->l - m5;
1041
+ { int ret = r_verb_suffix(z);
1042
+ if (ret == 0) goto lab3; /* call verb_suffix, line 186 */
1043
+ if (ret < 0) return ret;
1044
+ }
1045
+ }
1046
+ lab4:
1047
+ lab3:
1048
+ z->c = z->l - m4;
1049
+ }
1050
+ { int m6 = z->l - z->c; (void)m6; /* do, line 187 */
1051
+ { int ret = r_vowel_suffix(z);
1052
+ if (ret == 0) goto lab6; /* call vowel_suffix, line 187 */
1053
+ if (ret < 0) return ret;
1054
+ }
1055
+ lab6:
1056
+ z->c = z->l - m6;
1057
+ }
1058
+ z->c = z->lb;
1059
+ { int c7 = z->c; /* do, line 189 */
1060
+ { int ret = r_postlude(z);
1061
+ if (ret == 0) goto lab7; /* call postlude, line 189 */
1062
+ if (ret < 0) return ret;
1063
+ }
1064
+ lab7:
1065
+ z->c = c7;
1066
+ }
1067
+ return 1;
1068
+ }
1069
+
1070
+ extern struct SN_env * italian_UTF_8_create_env(void) { return SN_create_env(0, 3, 0); }
1071
+
1072
+ extern void italian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
1073
+