stemmer4r 0.1

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