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,1109 @@
1
+
2
+ /* This file was generated automatically by the Snowball to ANSI C compiler */
3
+
4
+ #include "../runtime/header.h"
5
+
6
+ extern int spanish_stem(struct SN_env * z);
7
+ static int r_residual_suffix(struct SN_env * z);
8
+ static int r_verb_suffix(struct SN_env * z);
9
+ static int r_y_verb_suffix(struct SN_env * z);
10
+ static int r_standard_suffix(struct SN_env * z);
11
+ static int r_attached_pronoun(struct SN_env * z);
12
+ static int r_R2(struct SN_env * z);
13
+ static int r_R1(struct SN_env * z);
14
+ static int r_RV(struct SN_env * z);
15
+ static int r_mark_regions(struct SN_env * z);
16
+ static int r_postlude(struct SN_env * z);
17
+
18
+ extern struct SN_env * spanish_create_env(void);
19
+ extern void spanish_close_env(struct SN_env * z);
20
+
21
+ static symbol s_0_1[1] = { 225 };
22
+ static symbol s_0_2[1] = { 233 };
23
+ static symbol s_0_3[1] = { 237 };
24
+ static symbol s_0_4[1] = { 243 };
25
+ static symbol s_0_5[1] = { 250 };
26
+
27
+ static struct among a_0[6] =
28
+ {
29
+ /* 0 */ { 0, 0, -1, 6, 0},
30
+ /* 1 */ { 1, s_0_1, 0, 1, 0},
31
+ /* 2 */ { 1, s_0_2, 0, 2, 0},
32
+ /* 3 */ { 1, s_0_3, 0, 3, 0},
33
+ /* 4 */ { 1, s_0_4, 0, 4, 0},
34
+ /* 5 */ { 1, s_0_5, 0, 5, 0}
35
+ };
36
+
37
+ static symbol s_1_0[2] = { 'l', 'a' };
38
+ static symbol s_1_1[4] = { 's', 'e', 'l', 'a' };
39
+ static symbol s_1_2[2] = { 'l', 'e' };
40
+ static symbol s_1_3[2] = { 'm', 'e' };
41
+ static symbol s_1_4[2] = { 's', 'e' };
42
+ static symbol s_1_5[2] = { 'l', 'o' };
43
+ static symbol s_1_6[4] = { 's', 'e', 'l', 'o' };
44
+ static symbol s_1_7[3] = { 'l', 'a', 's' };
45
+ static symbol s_1_8[5] = { 's', 'e', 'l', 'a', 's' };
46
+ static symbol s_1_9[3] = { 'l', 'e', 's' };
47
+ static symbol s_1_10[3] = { 'l', 'o', 's' };
48
+ static symbol s_1_11[5] = { 's', 'e', 'l', 'o', 's' };
49
+ static symbol s_1_12[3] = { 'n', 'o', 's' };
50
+
51
+ static struct among a_1[13] =
52
+ {
53
+ /* 0 */ { 2, s_1_0, -1, -1, 0},
54
+ /* 1 */ { 4, s_1_1, 0, -1, 0},
55
+ /* 2 */ { 2, s_1_2, -1, -1, 0},
56
+ /* 3 */ { 2, s_1_3, -1, -1, 0},
57
+ /* 4 */ { 2, s_1_4, -1, -1, 0},
58
+ /* 5 */ { 2, s_1_5, -1, -1, 0},
59
+ /* 6 */ { 4, s_1_6, 5, -1, 0},
60
+ /* 7 */ { 3, s_1_7, -1, -1, 0},
61
+ /* 8 */ { 5, s_1_8, 7, -1, 0},
62
+ /* 9 */ { 3, s_1_9, -1, -1, 0},
63
+ /* 10 */ { 3, s_1_10, -1, -1, 0},
64
+ /* 11 */ { 5, s_1_11, 10, -1, 0},
65
+ /* 12 */ { 3, s_1_12, -1, -1, 0}
66
+ };
67
+
68
+ static symbol s_2_0[4] = { 'a', 'n', 'd', 'o' };
69
+ static symbol s_2_1[5] = { 'i', 'e', 'n', 'd', 'o' };
70
+ static symbol s_2_2[5] = { 'y', 'e', 'n', 'd', 'o' };
71
+ static symbol s_2_3[4] = { 225, 'n', 'd', 'o' };
72
+ static symbol s_2_4[5] = { 'i', 233, 'n', 'd', 'o' };
73
+ static symbol s_2_5[2] = { 'a', 'r' };
74
+ static symbol s_2_6[2] = { 'e', 'r' };
75
+ static symbol s_2_7[2] = { 'i', 'r' };
76
+ static symbol s_2_8[2] = { 225, 'r' };
77
+ static symbol s_2_9[2] = { 233, 'r' };
78
+ static symbol s_2_10[2] = { 237, 'r' };
79
+
80
+ static struct among a_2[11] =
81
+ {
82
+ /* 0 */ { 4, s_2_0, -1, 6, 0},
83
+ /* 1 */ { 5, s_2_1, -1, 6, 0},
84
+ /* 2 */ { 5, s_2_2, -1, 7, 0},
85
+ /* 3 */ { 4, s_2_3, -1, 2, 0},
86
+ /* 4 */ { 5, s_2_4, -1, 1, 0},
87
+ /* 5 */ { 2, s_2_5, -1, 6, 0},
88
+ /* 6 */ { 2, s_2_6, -1, 6, 0},
89
+ /* 7 */ { 2, s_2_7, -1, 6, 0},
90
+ /* 8 */ { 2, s_2_8, -1, 3, 0},
91
+ /* 9 */ { 2, s_2_9, -1, 4, 0},
92
+ /* 10 */ { 2, s_2_10, -1, 5, 0}
93
+ };
94
+
95
+ static symbol s_3_0[2] = { 'i', 'c' };
96
+ static symbol s_3_1[2] = { 'a', 'd' };
97
+ static symbol s_3_2[2] = { 'o', 's' };
98
+ static symbol s_3_3[2] = { 'i', 'v' };
99
+
100
+ static struct among a_3[4] =
101
+ {
102
+ /* 0 */ { 2, s_3_0, -1, -1, 0},
103
+ /* 1 */ { 2, s_3_1, -1, -1, 0},
104
+ /* 2 */ { 2, s_3_2, -1, -1, 0},
105
+ /* 3 */ { 2, s_3_3, -1, 1, 0}
106
+ };
107
+
108
+ static symbol s_4_0[4] = { 'a', 'b', 'l', 'e' };
109
+ static symbol s_4_1[4] = { 'i', 'b', 'l', 'e' };
110
+
111
+ static struct among a_4[2] =
112
+ {
113
+ /* 0 */ { 4, s_4_0, -1, 1, 0},
114
+ /* 1 */ { 4, s_4_1, -1, 1, 0}
115
+ };
116
+
117
+ static symbol s_5_0[2] = { 'i', 'c' };
118
+ static symbol s_5_1[4] = { 'a', 'b', 'i', 'l' };
119
+ static symbol s_5_2[2] = { 'i', 'v' };
120
+
121
+ static struct among a_5[3] =
122
+ {
123
+ /* 0 */ { 2, s_5_0, -1, 1, 0},
124
+ /* 1 */ { 4, s_5_1, -1, 1, 0},
125
+ /* 2 */ { 2, s_5_2, -1, 1, 0}
126
+ };
127
+
128
+ static symbol s_6_0[3] = { 'i', 'c', 'a' };
129
+ static symbol s_6_1[5] = { 'e', 'n', 'c', 'i', 'a' };
130
+ static symbol s_6_2[5] = { 'a', 'd', 'o', 'r', 'a' };
131
+ static symbol s_6_3[3] = { 'o', 's', 'a' };
132
+ static symbol s_6_4[4] = { 'i', 's', 't', 'a' };
133
+ static symbol s_6_5[3] = { 'i', 'v', 'a' };
134
+ static symbol s_6_6[4] = { 'a', 'n', 'z', 'a' };
135
+ static symbol s_6_7[5] = { 'l', 'o', 'g', 237, 'a' };
136
+ static symbol s_6_8[4] = { 'i', 'd', 'a', 'd' };
137
+ static symbol s_6_9[4] = { 'a', 'b', 'l', 'e' };
138
+ static symbol s_6_10[4] = { 'i', 'b', 'l', 'e' };
139
+ static symbol s_6_11[5] = { 'm', 'e', 'n', 't', 'e' };
140
+ static symbol s_6_12[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
141
+ static symbol s_6_13[5] = { 'a', 'c', 'i', 243, 'n' };
142
+ static symbol s_6_14[5] = { 'u', 'c', 'i', 243, 'n' };
143
+ static symbol s_6_15[3] = { 'i', 'c', 'o' };
144
+ static symbol s_6_16[4] = { 'i', 's', 'm', 'o' };
145
+ static symbol s_6_17[3] = { 'o', 's', 'o' };
146
+ static symbol s_6_18[7] = { 'a', 'm', 'i', 'e', 'n', 't', 'o' };
147
+ static symbol s_6_19[7] = { 'i', 'm', 'i', 'e', 'n', 't', 'o' };
148
+ static symbol s_6_20[3] = { 'i', 'v', 'o' };
149
+ static symbol s_6_21[4] = { 'a', 'd', 'o', 'r' };
150
+ static symbol s_6_22[4] = { 'i', 'c', 'a', 's' };
151
+ static symbol s_6_23[6] = { 'e', 'n', 'c', 'i', 'a', 's' };
152
+ static symbol s_6_24[6] = { 'a', 'd', 'o', 'r', 'a', 's' };
153
+ static symbol s_6_25[4] = { 'o', 's', 'a', 's' };
154
+ static symbol s_6_26[5] = { 'i', 's', 't', 'a', 's' };
155
+ static symbol s_6_27[4] = { 'i', 'v', 'a', 's' };
156
+ static symbol s_6_28[5] = { 'a', 'n', 'z', 'a', 's' };
157
+ static symbol s_6_29[6] = { 'l', 'o', 'g', 237, 'a', 's' };
158
+ static symbol s_6_30[6] = { 'i', 'd', 'a', 'd', 'e', 's' };
159
+ static symbol s_6_31[5] = { 'a', 'b', 'l', 'e', 's' };
160
+ static symbol s_6_32[5] = { 'i', 'b', 'l', 'e', 's' };
161
+ static symbol s_6_33[7] = { 'a', 'c', 'i', 'o', 'n', 'e', 's' };
162
+ static symbol s_6_34[7] = { 'u', 'c', 'i', 'o', 'n', 'e', 's' };
163
+ static symbol s_6_35[6] = { 'a', 'd', 'o', 'r', 'e', 's' };
164
+ static symbol s_6_36[4] = { 'i', 'c', 'o', 's' };
165
+ static symbol s_6_37[5] = { 'i', 's', 'm', 'o', 's' };
166
+ static symbol s_6_38[4] = { 'o', 's', 'o', 's' };
167
+ static symbol s_6_39[8] = { 'a', 'm', 'i', 'e', 'n', 't', 'o', 's' };
168
+ static symbol s_6_40[8] = { 'i', 'm', 'i', 'e', 'n', 't', 'o', 's' };
169
+ static symbol s_6_41[4] = { 'i', 'v', 'o', 's' };
170
+
171
+ static struct among a_6[42] =
172
+ {
173
+ /* 0 */ { 3, s_6_0, -1, 1, 0},
174
+ /* 1 */ { 5, s_6_1, -1, 5, 0},
175
+ /* 2 */ { 5, s_6_2, -1, 2, 0},
176
+ /* 3 */ { 3, s_6_3, -1, 1, 0},
177
+ /* 4 */ { 4, s_6_4, -1, 1, 0},
178
+ /* 5 */ { 3, s_6_5, -1, 9, 0},
179
+ /* 6 */ { 4, s_6_6, -1, 1, 0},
180
+ /* 7 */ { 5, s_6_7, -1, 3, 0},
181
+ /* 8 */ { 4, s_6_8, -1, 8, 0},
182
+ /* 9 */ { 4, s_6_9, -1, 1, 0},
183
+ /* 10 */ { 4, s_6_10, -1, 1, 0},
184
+ /* 11 */ { 5, s_6_11, -1, 7, 0},
185
+ /* 12 */ { 6, s_6_12, 11, 6, 0},
186
+ /* 13 */ { 5, s_6_13, -1, 2, 0},
187
+ /* 14 */ { 5, s_6_14, -1, 4, 0},
188
+ /* 15 */ { 3, s_6_15, -1, 1, 0},
189
+ /* 16 */ { 4, s_6_16, -1, 1, 0},
190
+ /* 17 */ { 3, s_6_17, -1, 1, 0},
191
+ /* 18 */ { 7, s_6_18, -1, 1, 0},
192
+ /* 19 */ { 7, s_6_19, -1, 1, 0},
193
+ /* 20 */ { 3, s_6_20, -1, 9, 0},
194
+ /* 21 */ { 4, s_6_21, -1, 2, 0},
195
+ /* 22 */ { 4, s_6_22, -1, 1, 0},
196
+ /* 23 */ { 6, s_6_23, -1, 5, 0},
197
+ /* 24 */ { 6, s_6_24, -1, 2, 0},
198
+ /* 25 */ { 4, s_6_25, -1, 1, 0},
199
+ /* 26 */ { 5, s_6_26, -1, 1, 0},
200
+ /* 27 */ { 4, s_6_27, -1, 9, 0},
201
+ /* 28 */ { 5, s_6_28, -1, 1, 0},
202
+ /* 29 */ { 6, s_6_29, -1, 3, 0},
203
+ /* 30 */ { 6, s_6_30, -1, 8, 0},
204
+ /* 31 */ { 5, s_6_31, -1, 1, 0},
205
+ /* 32 */ { 5, s_6_32, -1, 1, 0},
206
+ /* 33 */ { 7, s_6_33, -1, 2, 0},
207
+ /* 34 */ { 7, s_6_34, -1, 4, 0},
208
+ /* 35 */ { 6, s_6_35, -1, 2, 0},
209
+ /* 36 */ { 4, s_6_36, -1, 1, 0},
210
+ /* 37 */ { 5, s_6_37, -1, 1, 0},
211
+ /* 38 */ { 4, s_6_38, -1, 1, 0},
212
+ /* 39 */ { 8, s_6_39, -1, 1, 0},
213
+ /* 40 */ { 8, s_6_40, -1, 1, 0},
214
+ /* 41 */ { 4, s_6_41, -1, 9, 0}
215
+ };
216
+
217
+ static symbol s_7_0[2] = { 'y', 'a' };
218
+ static symbol s_7_1[2] = { 'y', 'e' };
219
+ static symbol s_7_2[3] = { 'y', 'a', 'n' };
220
+ static symbol s_7_3[3] = { 'y', 'e', 'n' };
221
+ static symbol s_7_4[5] = { 'y', 'e', 'r', 'o', 'n' };
222
+ static symbol s_7_5[5] = { 'y', 'e', 'n', 'd', 'o' };
223
+ static symbol s_7_6[2] = { 'y', 'o' };
224
+ static symbol s_7_7[3] = { 'y', 'a', 's' };
225
+ static symbol s_7_8[3] = { 'y', 'e', 's' };
226
+ static symbol s_7_9[4] = { 'y', 'a', 'i', 's' };
227
+ static symbol s_7_10[5] = { 'y', 'a', 'm', 'o', 's' };
228
+ static symbol s_7_11[2] = { 'y', 243 };
229
+
230
+ static struct among a_7[12] =
231
+ {
232
+ /* 0 */ { 2, s_7_0, -1, 1, 0},
233
+ /* 1 */ { 2, s_7_1, -1, 1, 0},
234
+ /* 2 */ { 3, s_7_2, -1, 1, 0},
235
+ /* 3 */ { 3, s_7_3, -1, 1, 0},
236
+ /* 4 */ { 5, s_7_4, -1, 1, 0},
237
+ /* 5 */ { 5, s_7_5, -1, 1, 0},
238
+ /* 6 */ { 2, s_7_6, -1, 1, 0},
239
+ /* 7 */ { 3, s_7_7, -1, 1, 0},
240
+ /* 8 */ { 3, s_7_8, -1, 1, 0},
241
+ /* 9 */ { 4, s_7_9, -1, 1, 0},
242
+ /* 10 */ { 5, s_7_10, -1, 1, 0},
243
+ /* 11 */ { 2, s_7_11, -1, 1, 0}
244
+ };
245
+
246
+ static symbol s_8_0[3] = { 'a', 'b', 'a' };
247
+ static symbol s_8_1[3] = { 'a', 'd', 'a' };
248
+ static symbol s_8_2[3] = { 'i', 'd', 'a' };
249
+ static symbol s_8_3[3] = { 'a', 'r', 'a' };
250
+ static symbol s_8_4[4] = { 'i', 'e', 'r', 'a' };
251
+ static symbol s_8_5[2] = { 237, 'a' };
252
+ static symbol s_8_6[4] = { 'a', 'r', 237, 'a' };
253
+ static symbol s_8_7[4] = { 'e', 'r', 237, 'a' };
254
+ static symbol s_8_8[4] = { 'i', 'r', 237, 'a' };
255
+ static symbol s_8_9[2] = { 'a', 'd' };
256
+ static symbol s_8_10[2] = { 'e', 'd' };
257
+ static symbol s_8_11[2] = { 'i', 'd' };
258
+ static symbol s_8_12[3] = { 'a', 's', 'e' };
259
+ static symbol s_8_13[4] = { 'i', 'e', 's', 'e' };
260
+ static symbol s_8_14[4] = { 'a', 's', 't', 'e' };
261
+ static symbol s_8_15[4] = { 'i', 's', 't', 'e' };
262
+ static symbol s_8_16[2] = { 'a', 'n' };
263
+ static symbol s_8_17[4] = { 'a', 'b', 'a', 'n' };
264
+ static symbol s_8_18[4] = { 'a', 'r', 'a', 'n' };
265
+ static symbol s_8_19[5] = { 'i', 'e', 'r', 'a', 'n' };
266
+ static symbol s_8_20[3] = { 237, 'a', 'n' };
267
+ static symbol s_8_21[5] = { 'a', 'r', 237, 'a', 'n' };
268
+ static symbol s_8_22[5] = { 'e', 'r', 237, 'a', 'n' };
269
+ static symbol s_8_23[5] = { 'i', 'r', 237, 'a', 'n' };
270
+ static symbol s_8_24[2] = { 'e', 'n' };
271
+ static symbol s_8_25[4] = { 'a', 's', 'e', 'n' };
272
+ static symbol s_8_26[5] = { 'i', 'e', 's', 'e', 'n' };
273
+ static symbol s_8_27[4] = { 'a', 'r', 'o', 'n' };
274
+ static symbol s_8_28[5] = { 'i', 'e', 'r', 'o', 'n' };
275
+ static symbol s_8_29[4] = { 'a', 'r', 225, 'n' };
276
+ static symbol s_8_30[4] = { 'e', 'r', 225, 'n' };
277
+ static symbol s_8_31[4] = { 'i', 'r', 225, 'n' };
278
+ static symbol s_8_32[3] = { 'a', 'd', 'o' };
279
+ static symbol s_8_33[3] = { 'i', 'd', 'o' };
280
+ static symbol s_8_34[4] = { 'a', 'n', 'd', 'o' };
281
+ static symbol s_8_35[5] = { 'i', 'e', 'n', 'd', 'o' };
282
+ static symbol s_8_36[2] = { 'a', 'r' };
283
+ static symbol s_8_37[2] = { 'e', 'r' };
284
+ static symbol s_8_38[2] = { 'i', 'r' };
285
+ static symbol s_8_39[2] = { 'a', 's' };
286
+ static symbol s_8_40[4] = { 'a', 'b', 'a', 's' };
287
+ static symbol s_8_41[4] = { 'a', 'd', 'a', 's' };
288
+ static symbol s_8_42[4] = { 'i', 'd', 'a', 's' };
289
+ static symbol s_8_43[4] = { 'a', 'r', 'a', 's' };
290
+ static symbol s_8_44[5] = { 'i', 'e', 'r', 'a', 's' };
291
+ static symbol s_8_45[3] = { 237, 'a', 's' };
292
+ static symbol s_8_46[5] = { 'a', 'r', 237, 'a', 's' };
293
+ static symbol s_8_47[5] = { 'e', 'r', 237, 'a', 's' };
294
+ static symbol s_8_48[5] = { 'i', 'r', 237, 'a', 's' };
295
+ static symbol s_8_49[2] = { 'e', 's' };
296
+ static symbol s_8_50[4] = { 'a', 's', 'e', 's' };
297
+ static symbol s_8_51[5] = { 'i', 'e', 's', 'e', 's' };
298
+ static symbol s_8_52[5] = { 'a', 'b', 'a', 'i', 's' };
299
+ static symbol s_8_53[5] = { 'a', 'r', 'a', 'i', 's' };
300
+ static symbol s_8_54[6] = { 'i', 'e', 'r', 'a', 'i', 's' };
301
+ static symbol s_8_55[4] = { 237, 'a', 'i', 's' };
302
+ static symbol s_8_56[6] = { 'a', 'r', 237, 'a', 'i', 's' };
303
+ static symbol s_8_57[6] = { 'e', 'r', 237, 'a', 'i', 's' };
304
+ static symbol s_8_58[6] = { 'i', 'r', 237, 'a', 'i', 's' };
305
+ static symbol s_8_59[5] = { 'a', 's', 'e', 'i', 's' };
306
+ static symbol s_8_60[6] = { 'i', 'e', 's', 'e', 'i', 's' };
307
+ static symbol s_8_61[6] = { 'a', 's', 't', 'e', 'i', 's' };
308
+ static symbol s_8_62[6] = { 'i', 's', 't', 'e', 'i', 's' };
309
+ static symbol s_8_63[3] = { 225, 'i', 's' };
310
+ static symbol s_8_64[3] = { 233, 'i', 's' };
311
+ static symbol s_8_65[5] = { 'a', 'r', 233, 'i', 's' };
312
+ static symbol s_8_66[5] = { 'e', 'r', 233, 'i', 's' };
313
+ static symbol s_8_67[5] = { 'i', 'r', 233, 'i', 's' };
314
+ static symbol s_8_68[4] = { 'a', 'd', 'o', 's' };
315
+ static symbol s_8_69[4] = { 'i', 'd', 'o', 's' };
316
+ static symbol s_8_70[4] = { 'a', 'm', 'o', 's' };
317
+ static symbol s_8_71[6] = { 225, 'b', 'a', 'm', 'o', 's' };
318
+ static symbol s_8_72[6] = { 225, 'r', 'a', 'm', 'o', 's' };
319
+ static symbol s_8_73[7] = { 'i', 233, 'r', 'a', 'm', 'o', 's' };
320
+ static symbol s_8_74[5] = { 237, 'a', 'm', 'o', 's' };
321
+ static symbol s_8_75[7] = { 'a', 'r', 237, 'a', 'm', 'o', 's' };
322
+ static symbol s_8_76[7] = { 'e', 'r', 237, 'a', 'm', 'o', 's' };
323
+ static symbol s_8_77[7] = { 'i', 'r', 237, 'a', 'm', 'o', 's' };
324
+ static symbol s_8_78[4] = { 'e', 'm', 'o', 's' };
325
+ static symbol s_8_79[6] = { 'a', 'r', 'e', 'm', 'o', 's' };
326
+ static symbol s_8_80[6] = { 'e', 'r', 'e', 'm', 'o', 's' };
327
+ static symbol s_8_81[6] = { 'i', 'r', 'e', 'm', 'o', 's' };
328
+ static symbol s_8_82[6] = { 225, 's', 'e', 'm', 'o', 's' };
329
+ static symbol s_8_83[7] = { 'i', 233, 's', 'e', 'm', 'o', 's' };
330
+ static symbol s_8_84[4] = { 'i', 'm', 'o', 's' };
331
+ static symbol s_8_85[4] = { 'a', 'r', 225, 's' };
332
+ static symbol s_8_86[4] = { 'e', 'r', 225, 's' };
333
+ static symbol s_8_87[4] = { 'i', 'r', 225, 's' };
334
+ static symbol s_8_88[2] = { 237, 's' };
335
+ static symbol s_8_89[3] = { 'a', 'r', 225 };
336
+ static symbol s_8_90[3] = { 'e', 'r', 225 };
337
+ static symbol s_8_91[3] = { 'i', 'r', 225 };
338
+ static symbol s_8_92[3] = { 'a', 'r', 233 };
339
+ static symbol s_8_93[3] = { 'e', 'r', 233 };
340
+ static symbol s_8_94[3] = { 'i', 'r', 233 };
341
+ static symbol s_8_95[2] = { 'i', 243 };
342
+
343
+ static struct among a_8[96] =
344
+ {
345
+ /* 0 */ { 3, s_8_0, -1, 2, 0},
346
+ /* 1 */ { 3, s_8_1, -1, 2, 0},
347
+ /* 2 */ { 3, s_8_2, -1, 2, 0},
348
+ /* 3 */ { 3, s_8_3, -1, 2, 0},
349
+ /* 4 */ { 4, s_8_4, -1, 2, 0},
350
+ /* 5 */ { 2, s_8_5, -1, 2, 0},
351
+ /* 6 */ { 4, s_8_6, 5, 2, 0},
352
+ /* 7 */ { 4, s_8_7, 5, 2, 0},
353
+ /* 8 */ { 4, s_8_8, 5, 2, 0},
354
+ /* 9 */ { 2, s_8_9, -1, 2, 0},
355
+ /* 10 */ { 2, s_8_10, -1, 2, 0},
356
+ /* 11 */ { 2, s_8_11, -1, 2, 0},
357
+ /* 12 */ { 3, s_8_12, -1, 2, 0},
358
+ /* 13 */ { 4, s_8_13, -1, 2, 0},
359
+ /* 14 */ { 4, s_8_14, -1, 2, 0},
360
+ /* 15 */ { 4, s_8_15, -1, 2, 0},
361
+ /* 16 */ { 2, s_8_16, -1, 2, 0},
362
+ /* 17 */ { 4, s_8_17, 16, 2, 0},
363
+ /* 18 */ { 4, s_8_18, 16, 2, 0},
364
+ /* 19 */ { 5, s_8_19, 16, 2, 0},
365
+ /* 20 */ { 3, s_8_20, 16, 2, 0},
366
+ /* 21 */ { 5, s_8_21, 20, 2, 0},
367
+ /* 22 */ { 5, s_8_22, 20, 2, 0},
368
+ /* 23 */ { 5, s_8_23, 20, 2, 0},
369
+ /* 24 */ { 2, s_8_24, -1, 1, 0},
370
+ /* 25 */ { 4, s_8_25, 24, 2, 0},
371
+ /* 26 */ { 5, s_8_26, 24, 2, 0},
372
+ /* 27 */ { 4, s_8_27, -1, 2, 0},
373
+ /* 28 */ { 5, s_8_28, -1, 2, 0},
374
+ /* 29 */ { 4, s_8_29, -1, 2, 0},
375
+ /* 30 */ { 4, s_8_30, -1, 2, 0},
376
+ /* 31 */ { 4, s_8_31, -1, 2, 0},
377
+ /* 32 */ { 3, s_8_32, -1, 2, 0},
378
+ /* 33 */ { 3, s_8_33, -1, 2, 0},
379
+ /* 34 */ { 4, s_8_34, -1, 2, 0},
380
+ /* 35 */ { 5, s_8_35, -1, 2, 0},
381
+ /* 36 */ { 2, s_8_36, -1, 2, 0},
382
+ /* 37 */ { 2, s_8_37, -1, 2, 0},
383
+ /* 38 */ { 2, s_8_38, -1, 2, 0},
384
+ /* 39 */ { 2, s_8_39, -1, 2, 0},
385
+ /* 40 */ { 4, s_8_40, 39, 2, 0},
386
+ /* 41 */ { 4, s_8_41, 39, 2, 0},
387
+ /* 42 */ { 4, s_8_42, 39, 2, 0},
388
+ /* 43 */ { 4, s_8_43, 39, 2, 0},
389
+ /* 44 */ { 5, s_8_44, 39, 2, 0},
390
+ /* 45 */ { 3, s_8_45, 39, 2, 0},
391
+ /* 46 */ { 5, s_8_46, 45, 2, 0},
392
+ /* 47 */ { 5, s_8_47, 45, 2, 0},
393
+ /* 48 */ { 5, s_8_48, 45, 2, 0},
394
+ /* 49 */ { 2, s_8_49, -1, 1, 0},
395
+ /* 50 */ { 4, s_8_50, 49, 2, 0},
396
+ /* 51 */ { 5, s_8_51, 49, 2, 0},
397
+ /* 52 */ { 5, s_8_52, -1, 2, 0},
398
+ /* 53 */ { 5, s_8_53, -1, 2, 0},
399
+ /* 54 */ { 6, s_8_54, -1, 2, 0},
400
+ /* 55 */ { 4, s_8_55, -1, 2, 0},
401
+ /* 56 */ { 6, s_8_56, 55, 2, 0},
402
+ /* 57 */ { 6, s_8_57, 55, 2, 0},
403
+ /* 58 */ { 6, s_8_58, 55, 2, 0},
404
+ /* 59 */ { 5, s_8_59, -1, 2, 0},
405
+ /* 60 */ { 6, s_8_60, -1, 2, 0},
406
+ /* 61 */ { 6, s_8_61, -1, 2, 0},
407
+ /* 62 */ { 6, s_8_62, -1, 2, 0},
408
+ /* 63 */ { 3, s_8_63, -1, 2, 0},
409
+ /* 64 */ { 3, s_8_64, -1, 1, 0},
410
+ /* 65 */ { 5, s_8_65, 64, 2, 0},
411
+ /* 66 */ { 5, s_8_66, 64, 2, 0},
412
+ /* 67 */ { 5, s_8_67, 64, 2, 0},
413
+ /* 68 */ { 4, s_8_68, -1, 2, 0},
414
+ /* 69 */ { 4, s_8_69, -1, 2, 0},
415
+ /* 70 */ { 4, s_8_70, -1, 2, 0},
416
+ /* 71 */ { 6, s_8_71, 70, 2, 0},
417
+ /* 72 */ { 6, s_8_72, 70, 2, 0},
418
+ /* 73 */ { 7, s_8_73, 70, 2, 0},
419
+ /* 74 */ { 5, s_8_74, 70, 2, 0},
420
+ /* 75 */ { 7, s_8_75, 74, 2, 0},
421
+ /* 76 */ { 7, s_8_76, 74, 2, 0},
422
+ /* 77 */ { 7, s_8_77, 74, 2, 0},
423
+ /* 78 */ { 4, s_8_78, -1, 1, 0},
424
+ /* 79 */ { 6, s_8_79, 78, 2, 0},
425
+ /* 80 */ { 6, s_8_80, 78, 2, 0},
426
+ /* 81 */ { 6, s_8_81, 78, 2, 0},
427
+ /* 82 */ { 6, s_8_82, 78, 2, 0},
428
+ /* 83 */ { 7, s_8_83, 78, 2, 0},
429
+ /* 84 */ { 4, s_8_84, -1, 2, 0},
430
+ /* 85 */ { 4, s_8_85, -1, 2, 0},
431
+ /* 86 */ { 4, s_8_86, -1, 2, 0},
432
+ /* 87 */ { 4, s_8_87, -1, 2, 0},
433
+ /* 88 */ { 2, s_8_88, -1, 2, 0},
434
+ /* 89 */ { 3, s_8_89, -1, 2, 0},
435
+ /* 90 */ { 3, s_8_90, -1, 2, 0},
436
+ /* 91 */ { 3, s_8_91, -1, 2, 0},
437
+ /* 92 */ { 3, s_8_92, -1, 2, 0},
438
+ /* 93 */ { 3, s_8_93, -1, 2, 0},
439
+ /* 94 */ { 3, s_8_94, -1, 2, 0},
440
+ /* 95 */ { 2, s_8_95, -1, 2, 0}
441
+ };
442
+
443
+ static symbol s_9_0[1] = { 'a' };
444
+ static symbol s_9_1[1] = { 'e' };
445
+ static symbol s_9_2[1] = { 'o' };
446
+ static symbol s_9_3[2] = { 'o', 's' };
447
+ static symbol s_9_4[1] = { 225 };
448
+ static symbol s_9_5[1] = { 233 };
449
+ static symbol s_9_6[1] = { 237 };
450
+ static symbol s_9_7[1] = { 243 };
451
+
452
+ static struct among a_9[8] =
453
+ {
454
+ /* 0 */ { 1, s_9_0, -1, 1, 0},
455
+ /* 1 */ { 1, s_9_1, -1, 2, 0},
456
+ /* 2 */ { 1, s_9_2, -1, 1, 0},
457
+ /* 3 */ { 2, s_9_3, -1, 1, 0},
458
+ /* 4 */ { 1, s_9_4, -1, 1, 0},
459
+ /* 5 */ { 1, s_9_5, -1, 2, 0},
460
+ /* 6 */ { 1, s_9_6, -1, 1, 0},
461
+ /* 7 */ { 1, s_9_7, -1, 1, 0}
462
+ };
463
+
464
+ static unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 4, 10 };
465
+
466
+ static symbol s_0[] = { 'a' };
467
+ static symbol s_1[] = { 'e' };
468
+ static symbol s_2[] = { 'i' };
469
+ static symbol s_3[] = { 'o' };
470
+ static symbol s_4[] = { 'u' };
471
+ static symbol s_5[] = { 'i', 'e', 'n', 'd', 'o' };
472
+ static symbol s_6[] = { 'a', 'n', 'd', 'o' };
473
+ static symbol s_7[] = { 'a', 'r' };
474
+ static symbol s_8[] = { 'e', 'r' };
475
+ static symbol s_9[] = { 'i', 'r' };
476
+ static symbol s_10[] = { 'u' };
477
+ static symbol s_11[] = { 'i', 'c' };
478
+ static symbol s_12[] = { 'l', 'o', 'g' };
479
+ static symbol s_13[] = { 'u' };
480
+ static symbol s_14[] = { 'e', 'n', 't', 'e' };
481
+ static symbol s_15[] = { 'a', 't' };
482
+ static symbol s_16[] = { 'a', 't' };
483
+ static symbol s_17[] = { 'u' };
484
+ static symbol s_18[] = { 'u' };
485
+ static symbol s_19[] = { 'g' };
486
+ static symbol s_20[] = { 'u' };
487
+ static symbol s_21[] = { 'g' };
488
+
489
+ static int r_mark_regions(struct SN_env * z) {
490
+ z->I[0] = z->l;
491
+ z->I[1] = z->l;
492
+ z->I[2] = z->l;
493
+ { int c = z->c; /* do, line 37 */
494
+ { int c = z->c; /* or, line 39 */
495
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab2;
496
+ { int c = z->c; /* or, line 38 */
497
+ if (!(out_grouping(z, g_v, 97, 252))) goto lab4;
498
+ while(1) { /* gopast, line 38 */
499
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab5;
500
+ break;
501
+ lab5:
502
+ if (z->c >= z->l) goto lab4;
503
+ z->c++;
504
+ }
505
+ goto lab3;
506
+ lab4:
507
+ z->c = c;
508
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab2;
509
+ while(1) { /* gopast, line 38 */
510
+ if (!(out_grouping(z, g_v, 97, 252))) goto lab6;
511
+ break;
512
+ lab6:
513
+ if (z->c >= z->l) goto lab2;
514
+ z->c++;
515
+ }
516
+ }
517
+ lab3:
518
+ goto lab1;
519
+ lab2:
520
+ z->c = c;
521
+ if (!(out_grouping(z, g_v, 97, 252))) goto lab0;
522
+ { int c = z->c; /* or, line 40 */
523
+ if (!(out_grouping(z, g_v, 97, 252))) goto lab8;
524
+ while(1) { /* gopast, line 40 */
525
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab9;
526
+ break;
527
+ lab9:
528
+ if (z->c >= z->l) goto lab8;
529
+ z->c++;
530
+ }
531
+ goto lab7;
532
+ lab8:
533
+ z->c = c;
534
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab0;
535
+ if (z->c >= z->l) goto lab0;
536
+ z->c++; /* next, line 40 */
537
+ }
538
+ lab7:
539
+ ;
540
+ }
541
+ lab1:
542
+ z->I[0] = z->c; /* setmark pV, line 41 */
543
+ lab0:
544
+ z->c = c;
545
+ }
546
+ { int c = z->c; /* do, line 43 */
547
+ while(1) { /* gopast, line 44 */
548
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab11;
549
+ break;
550
+ lab11:
551
+ if (z->c >= z->l) goto lab10;
552
+ z->c++;
553
+ }
554
+ while(1) { /* gopast, line 44 */
555
+ if (!(out_grouping(z, g_v, 97, 252))) goto lab12;
556
+ break;
557
+ lab12:
558
+ if (z->c >= z->l) goto lab10;
559
+ z->c++;
560
+ }
561
+ z->I[1] = z->c; /* setmark p1, line 44 */
562
+ while(1) { /* gopast, line 45 */
563
+ if (!(in_grouping(z, g_v, 97, 252))) goto lab13;
564
+ break;
565
+ lab13:
566
+ if (z->c >= z->l) goto lab10;
567
+ z->c++;
568
+ }
569
+ while(1) { /* gopast, line 45 */
570
+ if (!(out_grouping(z, g_v, 97, 252))) goto lab14;
571
+ break;
572
+ lab14:
573
+ if (z->c >= z->l) goto lab10;
574
+ z->c++;
575
+ }
576
+ z->I[2] = z->c; /* setmark p2, line 45 */
577
+ lab10:
578
+ z->c = c;
579
+ }
580
+ return 1;
581
+ }
582
+
583
+ static int r_postlude(struct SN_env * z) {
584
+ int among_var;
585
+ while(1) { /* repeat, line 49 */
586
+ int c = z->c;
587
+ z->bra = z->c; /* [, line 50 */
588
+ among_var = find_among(z, a_0, 6); /* substring, line 50 */
589
+ if (!(among_var)) goto lab0;
590
+ z->ket = z->c; /* ], line 50 */
591
+ switch(among_var) {
592
+ case 0: goto lab0;
593
+ case 1:
594
+ { int ret;
595
+ ret = slice_from_s(z, 1, s_0); /* <-, line 51 */
596
+ if (ret < 0) return ret;
597
+ }
598
+ break;
599
+ case 2:
600
+ { int ret;
601
+ ret = slice_from_s(z, 1, s_1); /* <-, line 52 */
602
+ if (ret < 0) return ret;
603
+ }
604
+ break;
605
+ case 3:
606
+ { int ret;
607
+ ret = slice_from_s(z, 1, s_2); /* <-, line 53 */
608
+ if (ret < 0) return ret;
609
+ }
610
+ break;
611
+ case 4:
612
+ { int ret;
613
+ ret = slice_from_s(z, 1, s_3); /* <-, line 54 */
614
+ if (ret < 0) return ret;
615
+ }
616
+ break;
617
+ case 5:
618
+ { int ret;
619
+ ret = slice_from_s(z, 1, s_4); /* <-, line 55 */
620
+ if (ret < 0) return ret;
621
+ }
622
+ break;
623
+ case 6:
624
+ if (z->c >= z->l) goto lab0;
625
+ z->c++; /* next, line 57 */
626
+ break;
627
+ }
628
+ continue;
629
+ lab0:
630
+ z->c = c;
631
+ break;
632
+ }
633
+ return 1;
634
+ }
635
+
636
+ static int r_RV(struct SN_env * z) {
637
+ if (!(z->I[0] <= z->c)) return 0;
638
+ return 1;
639
+ }
640
+
641
+ static int r_R1(struct SN_env * z) {
642
+ if (!(z->I[1] <= z->c)) return 0;
643
+ return 1;
644
+ }
645
+
646
+ static int r_R2(struct SN_env * z) {
647
+ if (!(z->I[2] <= z->c)) return 0;
648
+ return 1;
649
+ }
650
+
651
+ static int r_attached_pronoun(struct SN_env * z) {
652
+ int among_var;
653
+ z->ket = z->c; /* [, line 68 */
654
+ if (!(find_among_b(z, a_1, 13))) return 0; /* substring, line 68 */
655
+ z->bra = z->c; /* ], line 68 */
656
+ among_var = find_among_b(z, a_2, 11); /* substring, line 72 */
657
+ if (!(among_var)) return 0;
658
+ { int ret = r_RV(z);
659
+ if (ret == 0) return 0; /* call RV, line 72 */
660
+ if (ret < 0) return ret;
661
+ }
662
+ switch(among_var) {
663
+ case 0: return 0;
664
+ case 1:
665
+ z->bra = z->c; /* ], line 73 */
666
+ { int ret;
667
+ ret = slice_from_s(z, 5, s_5); /* <-, line 73 */
668
+ if (ret < 0) return ret;
669
+ }
670
+ break;
671
+ case 2:
672
+ z->bra = z->c; /* ], line 74 */
673
+ { int ret;
674
+ ret = slice_from_s(z, 4, s_6); /* <-, line 74 */
675
+ if (ret < 0) return ret;
676
+ }
677
+ break;
678
+ case 3:
679
+ z->bra = z->c; /* ], line 75 */
680
+ { int ret;
681
+ ret = slice_from_s(z, 2, s_7); /* <-, line 75 */
682
+ if (ret < 0) return ret;
683
+ }
684
+ break;
685
+ case 4:
686
+ z->bra = z->c; /* ], line 76 */
687
+ { int ret;
688
+ ret = slice_from_s(z, 2, s_8); /* <-, line 76 */
689
+ if (ret < 0) return ret;
690
+ }
691
+ break;
692
+ case 5:
693
+ z->bra = z->c; /* ], line 77 */
694
+ { int ret;
695
+ ret = slice_from_s(z, 2, s_9); /* <-, line 77 */
696
+ if (ret < 0) return ret;
697
+ }
698
+ break;
699
+ case 6:
700
+ { int ret;
701
+ ret = slice_del(z); /* delete, line 81 */
702
+ if (ret < 0) return ret;
703
+ }
704
+ break;
705
+ case 7:
706
+ if (!(eq_s_b(z, 1, s_10))) return 0;
707
+ { int ret;
708
+ ret = slice_del(z); /* delete, line 82 */
709
+ if (ret < 0) return ret;
710
+ }
711
+ break;
712
+ }
713
+ return 1;
714
+ }
715
+
716
+ static int r_standard_suffix(struct SN_env * z) {
717
+ int among_var;
718
+ z->ket = z->c; /* [, line 87 */
719
+ among_var = find_among_b(z, a_6, 42); /* substring, line 87 */
720
+ if (!(among_var)) return 0;
721
+ z->bra = z->c; /* ], line 87 */
722
+ switch(among_var) {
723
+ case 0: return 0;
724
+ case 1:
725
+ { int ret = r_R2(z);
726
+ if (ret == 0) return 0; /* call R2, line 99 */
727
+ if (ret < 0) return ret;
728
+ }
729
+ { int ret;
730
+ ret = slice_del(z); /* delete, line 99 */
731
+ if (ret < 0) return ret;
732
+ }
733
+ break;
734
+ case 2:
735
+ { int ret = r_R2(z);
736
+ if (ret == 0) return 0; /* call R2, line 104 */
737
+ if (ret < 0) return ret;
738
+ }
739
+ { int ret;
740
+ ret = slice_del(z); /* delete, line 104 */
741
+ if (ret < 0) return ret;
742
+ }
743
+ { int m = z->l - z->c; (void) m; /* try, line 105 */
744
+ z->ket = z->c; /* [, line 105 */
745
+ if (!(eq_s_b(z, 2, s_11))) { z->c = z->l - m; goto lab0; }
746
+ z->bra = z->c; /* ], line 105 */
747
+ { int ret = r_R2(z);
748
+ if (ret == 0) { z->c = z->l - m; goto lab0; } /* call R2, line 105 */
749
+ if (ret < 0) return ret;
750
+ }
751
+ { int ret;
752
+ ret = slice_del(z); /* delete, line 105 */
753
+ if (ret < 0) return ret;
754
+ }
755
+ lab0:
756
+ ;
757
+ }
758
+ break;
759
+ case 3:
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_from_s(z, 3, s_12); /* <-, line 110 */
766
+ if (ret < 0) return ret;
767
+ }
768
+ break;
769
+ case 4:
770
+ { int ret = r_R2(z);
771
+ if (ret == 0) return 0; /* call R2, line 114 */
772
+ if (ret < 0) return ret;
773
+ }
774
+ { int ret;
775
+ ret = slice_from_s(z, 1, s_13); /* <-, line 114 */
776
+ if (ret < 0) return ret;
777
+ }
778
+ break;
779
+ case 5:
780
+ { int ret = r_R2(z);
781
+ if (ret == 0) return 0; /* call R2, line 118 */
782
+ if (ret < 0) return ret;
783
+ }
784
+ { int ret;
785
+ ret = slice_from_s(z, 4, s_14); /* <-, line 118 */
786
+ if (ret < 0) return ret;
787
+ }
788
+ break;
789
+ case 6:
790
+ { int ret = r_R1(z);
791
+ if (ret == 0) return 0; /* call R1, line 122 */
792
+ if (ret < 0) return ret;
793
+ }
794
+ { int ret;
795
+ ret = slice_del(z); /* delete, line 122 */
796
+ if (ret < 0) return ret;
797
+ }
798
+ { int m = z->l - z->c; (void) m; /* try, line 123 */
799
+ z->ket = z->c; /* [, line 124 */
800
+ among_var = find_among_b(z, a_3, 4); /* substring, line 124 */
801
+ if (!(among_var)) { z->c = z->l - m; goto lab1; }
802
+ z->bra = z->c; /* ], line 124 */
803
+ { int ret = r_R2(z);
804
+ if (ret == 0) { z->c = z->l - m; goto lab1; } /* call R2, line 124 */
805
+ if (ret < 0) return ret;
806
+ }
807
+ { int ret;
808
+ ret = slice_del(z); /* delete, line 124 */
809
+ if (ret < 0) return ret;
810
+ }
811
+ switch(among_var) {
812
+ case 0: { z->c = z->l - m; goto lab1; }
813
+ case 1:
814
+ z->ket = z->c; /* [, line 125 */
815
+ if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m; goto lab1; }
816
+ z->bra = z->c; /* ], line 125 */
817
+ { int ret = r_R2(z);
818
+ if (ret == 0) { z->c = z->l - m; goto lab1; } /* call R2, line 125 */
819
+ if (ret < 0) return ret;
820
+ }
821
+ { int ret;
822
+ ret = slice_del(z); /* delete, line 125 */
823
+ if (ret < 0) return ret;
824
+ }
825
+ break;
826
+ }
827
+ lab1:
828
+ ;
829
+ }
830
+ break;
831
+ case 7:
832
+ { int ret = r_R2(z);
833
+ if (ret == 0) return 0; /* call R2, line 134 */
834
+ if (ret < 0) return ret;
835
+ }
836
+ { int ret;
837
+ ret = slice_del(z); /* delete, line 134 */
838
+ if (ret < 0) return ret;
839
+ }
840
+ { int m = z->l - z->c; (void) m; /* try, line 135 */
841
+ z->ket = z->c; /* [, line 136 */
842
+ among_var = find_among_b(z, a_4, 2); /* substring, line 136 */
843
+ if (!(among_var)) { z->c = z->l - m; goto lab2; }
844
+ z->bra = z->c; /* ], line 136 */
845
+ switch(among_var) {
846
+ case 0: { z->c = z->l - m; goto lab2; }
847
+ case 1:
848
+ { int ret = r_R2(z);
849
+ if (ret == 0) { z->c = z->l - m; goto lab2; } /* call R2, line 138 */
850
+ if (ret < 0) return ret;
851
+ }
852
+ { int ret;
853
+ ret = slice_del(z); /* delete, line 138 */
854
+ if (ret < 0) return ret;
855
+ }
856
+ break;
857
+ }
858
+ lab2:
859
+ ;
860
+ }
861
+ break;
862
+ case 8:
863
+ { int ret = r_R2(z);
864
+ if (ret == 0) return 0; /* call R2, line 145 */
865
+ if (ret < 0) return ret;
866
+ }
867
+ { int ret;
868
+ ret = slice_del(z); /* delete, line 145 */
869
+ if (ret < 0) return ret;
870
+ }
871
+ { int m = z->l - z->c; (void) m; /* try, line 146 */
872
+ z->ket = z->c; /* [, line 147 */
873
+ among_var = find_among_b(z, a_5, 3); /* substring, line 147 */
874
+ if (!(among_var)) { z->c = z->l - m; goto lab3; }
875
+ z->bra = z->c; /* ], line 147 */
876
+ switch(among_var) {
877
+ case 0: { z->c = z->l - m; goto lab3; }
878
+ case 1:
879
+ { int ret = r_R2(z);
880
+ if (ret == 0) { z->c = z->l - m; goto lab3; } /* call R2, line 150 */
881
+ if (ret < 0) return ret;
882
+ }
883
+ { int ret;
884
+ ret = slice_del(z); /* delete, line 150 */
885
+ if (ret < 0) return ret;
886
+ }
887
+ break;
888
+ }
889
+ lab3:
890
+ ;
891
+ }
892
+ break;
893
+ case 9:
894
+ { int ret = r_R2(z);
895
+ if (ret == 0) return 0; /* call R2, line 157 */
896
+ if (ret < 0) return ret;
897
+ }
898
+ { int ret;
899
+ ret = slice_del(z); /* delete, line 157 */
900
+ if (ret < 0) return ret;
901
+ }
902
+ { int m = z->l - z->c; (void) m; /* try, line 158 */
903
+ z->ket = z->c; /* [, line 159 */
904
+ if (!(eq_s_b(z, 2, s_16))) { z->c = z->l - m; goto lab4; }
905
+ z->bra = z->c; /* ], line 159 */
906
+ { int ret = r_R2(z);
907
+ if (ret == 0) { z->c = z->l - m; goto lab4; } /* call R2, line 159 */
908
+ if (ret < 0) return ret;
909
+ }
910
+ { int ret;
911
+ ret = slice_del(z); /* delete, line 159 */
912
+ if (ret < 0) return ret;
913
+ }
914
+ lab4:
915
+ ;
916
+ }
917
+ break;
918
+ }
919
+ return 1;
920
+ }
921
+
922
+ static int r_y_verb_suffix(struct SN_env * z) {
923
+ int among_var;
924
+ { int m3; /* setlimit, line 166 */
925
+ int m = z->l - z->c; (void) m;
926
+ if (z->c < z->I[0]) return 0;
927
+ z->c = z->I[0]; /* tomark, line 166 */
928
+ m3 = z->lb; z->lb = z->c;
929
+ z->c = z->l - m;
930
+ z->ket = z->c; /* [, line 166 */
931
+ among_var = find_among_b(z, a_7, 12); /* substring, line 166 */
932
+ if (!(among_var)) { z->lb = m3; return 0; }
933
+ z->bra = z->c; /* ], line 166 */
934
+ z->lb = m3;
935
+ }
936
+ switch(among_var) {
937
+ case 0: return 0;
938
+ case 1:
939
+ if (!(eq_s_b(z, 1, s_17))) return 0;
940
+ { int ret;
941
+ ret = slice_del(z); /* delete, line 169 */
942
+ if (ret < 0) return ret;
943
+ }
944
+ break;
945
+ }
946
+ return 1;
947
+ }
948
+
949
+ static int r_verb_suffix(struct SN_env * z) {
950
+ int among_var;
951
+ { int m3; /* setlimit, line 174 */
952
+ int m = z->l - z->c; (void) m;
953
+ if (z->c < z->I[0]) return 0;
954
+ z->c = z->I[0]; /* tomark, line 174 */
955
+ m3 = z->lb; z->lb = z->c;
956
+ z->c = z->l - m;
957
+ z->ket = z->c; /* [, line 174 */
958
+ among_var = find_among_b(z, a_8, 96); /* substring, line 174 */
959
+ if (!(among_var)) { z->lb = m3; return 0; }
960
+ z->bra = z->c; /* ], line 174 */
961
+ z->lb = m3;
962
+ }
963
+ switch(among_var) {
964
+ case 0: return 0;
965
+ case 1:
966
+ { int m = z->l - z->c; (void) m; /* try, line 177 */
967
+ if (!(eq_s_b(z, 1, s_18))) { z->c = z->l - m; goto lab0; }
968
+ { int m_test = z->l - z->c; /* test, line 177 */
969
+ if (!(eq_s_b(z, 1, s_19))) { z->c = z->l - m; goto lab0; }
970
+ z->c = z->l - m_test;
971
+ }
972
+ lab0:
973
+ ;
974
+ }
975
+ z->bra = z->c; /* ], line 177 */
976
+ { int ret;
977
+ ret = slice_del(z); /* delete, line 177 */
978
+ if (ret < 0) return ret;
979
+ }
980
+ break;
981
+ case 2:
982
+ { int ret;
983
+ ret = slice_del(z); /* delete, line 198 */
984
+ if (ret < 0) return ret;
985
+ }
986
+ break;
987
+ }
988
+ return 1;
989
+ }
990
+
991
+ static int r_residual_suffix(struct SN_env * z) {
992
+ int among_var;
993
+ z->ket = z->c; /* [, line 203 */
994
+ among_var = find_among_b(z, a_9, 8); /* substring, line 203 */
995
+ if (!(among_var)) return 0;
996
+ z->bra = z->c; /* ], line 203 */
997
+ switch(among_var) {
998
+ case 0: return 0;
999
+ case 1:
1000
+ { int ret = r_RV(z);
1001
+ if (ret == 0) return 0; /* call RV, line 206 */
1002
+ if (ret < 0) return ret;
1003
+ }
1004
+ { int ret;
1005
+ ret = slice_del(z); /* delete, line 206 */
1006
+ if (ret < 0) return ret;
1007
+ }
1008
+ break;
1009
+ case 2:
1010
+ { int ret = r_RV(z);
1011
+ if (ret == 0) return 0; /* call RV, line 208 */
1012
+ if (ret < 0) return ret;
1013
+ }
1014
+ { int ret;
1015
+ ret = slice_del(z); /* delete, line 208 */
1016
+ if (ret < 0) return ret;
1017
+ }
1018
+ { int m = z->l - z->c; (void) m; /* try, line 208 */
1019
+ z->ket = z->c; /* [, line 208 */
1020
+ if (!(eq_s_b(z, 1, s_20))) { z->c = z->l - m; goto lab0; }
1021
+ z->bra = z->c; /* ], line 208 */
1022
+ { int m_test = z->l - z->c; /* test, line 208 */
1023
+ if (!(eq_s_b(z, 1, s_21))) { z->c = z->l - m; goto lab0; }
1024
+ z->c = z->l - m_test;
1025
+ }
1026
+ { int ret = r_RV(z);
1027
+ if (ret == 0) { z->c = z->l - m; goto lab0; } /* call RV, line 208 */
1028
+ if (ret < 0) return ret;
1029
+ }
1030
+ { int ret;
1031
+ ret = slice_del(z); /* delete, line 208 */
1032
+ if (ret < 0) return ret;
1033
+ }
1034
+ lab0:
1035
+ ;
1036
+ }
1037
+ break;
1038
+ }
1039
+ return 1;
1040
+ }
1041
+
1042
+ extern int spanish_stem(struct SN_env * z) {
1043
+ { int c = z->c; /* do, line 214 */
1044
+ { int ret = r_mark_regions(z);
1045
+ if (ret == 0) goto lab0; /* call mark_regions, line 214 */
1046
+ if (ret < 0) return ret;
1047
+ }
1048
+ lab0:
1049
+ z->c = c;
1050
+ }
1051
+ z->lb = z->c; z->c = z->l; /* backwards, line 215 */
1052
+
1053
+ { int m = z->l - z->c; (void) m; /* do, line 216 */
1054
+ { int ret = r_attached_pronoun(z);
1055
+ if (ret == 0) goto lab1; /* call attached_pronoun, line 216 */
1056
+ if (ret < 0) return ret;
1057
+ }
1058
+ lab1:
1059
+ z->c = z->l - m;
1060
+ }
1061
+ { int m = z->l - z->c; (void) m; /* do, line 217 */
1062
+ { int m = z->l - z->c; (void) m; /* or, line 217 */
1063
+ { int ret = r_standard_suffix(z);
1064
+ if (ret == 0) goto lab4; /* call standard_suffix, line 217 */
1065
+ if (ret < 0) return ret;
1066
+ }
1067
+ goto lab3;
1068
+ lab4:
1069
+ z->c = z->l - m;
1070
+ { int ret = r_y_verb_suffix(z);
1071
+ if (ret == 0) goto lab5; /* call y_verb_suffix, line 218 */
1072
+ if (ret < 0) return ret;
1073
+ }
1074
+ goto lab3;
1075
+ lab5:
1076
+ z->c = z->l - m;
1077
+ { int ret = r_verb_suffix(z);
1078
+ if (ret == 0) goto lab2; /* call verb_suffix, line 219 */
1079
+ if (ret < 0) return ret;
1080
+ }
1081
+ }
1082
+ lab3:
1083
+ lab2:
1084
+ z->c = z->l - m;
1085
+ }
1086
+ { int m = z->l - z->c; (void) m; /* do, line 221 */
1087
+ { int ret = r_residual_suffix(z);
1088
+ if (ret == 0) goto lab6; /* call residual_suffix, line 221 */
1089
+ if (ret < 0) return ret;
1090
+ }
1091
+ lab6:
1092
+ z->c = z->l - m;
1093
+ }
1094
+ z->c = z->lb;
1095
+ { int c = z->c; /* do, line 223 */
1096
+ { int ret = r_postlude(z);
1097
+ if (ret == 0) goto lab7; /* call postlude, line 223 */
1098
+ if (ret < 0) return ret;
1099
+ }
1100
+ lab7:
1101
+ z->c = c;
1102
+ }
1103
+ return 1;
1104
+ }
1105
+
1106
+ extern struct SN_env * spanish_create_env(void) { return SN_create_env(0, 3, 0); }
1107
+
1108
+ extern void spanish_close_env(struct SN_env * z) { SN_close_env(z); }
1109
+