isomorfeus-ferret 0.12.7 → 0.13.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +101 -19
  3. data/README.md +85 -13
  4. data/ext/isomorfeus_ferret_ext/bm_bitvector.c +22 -30
  5. data/ext/isomorfeus_ferret_ext/bm_hash.c +6 -12
  6. data/ext/isomorfeus_ferret_ext/bm_micro_string.c +3 -6
  7. data/ext/isomorfeus_ferret_ext/bm_store.c +11 -22
  8. data/ext/isomorfeus_ferret_ext/brotli_common_dictionary.c +1 -1
  9. data/ext/isomorfeus_ferret_ext/brotli_dec_decode.c +1 -1
  10. data/ext/isomorfeus_ferret_ext/bzlib.c +1572 -0
  11. data/ext/isomorfeus_ferret_ext/bzlib.h +282 -0
  12. data/ext/isomorfeus_ferret_ext/bzlib_blocksort.c +1094 -0
  13. data/ext/isomorfeus_ferret_ext/bzlib_compress.c +672 -0
  14. data/ext/isomorfeus_ferret_ext/bzlib_crctable.c +104 -0
  15. data/ext/isomorfeus_ferret_ext/bzlib_decompress.c +652 -0
  16. data/ext/isomorfeus_ferret_ext/bzlib_huffman.c +205 -0
  17. data/ext/isomorfeus_ferret_ext/bzlib_private.h +509 -0
  18. data/ext/isomorfeus_ferret_ext/bzlib_randtable.c +84 -0
  19. data/ext/isomorfeus_ferret_ext/fio_tmpfile.h +53 -53
  20. data/ext/isomorfeus_ferret_ext/frb_analysis.c +785 -1192
  21. data/ext/isomorfeus_ferret_ext/frb_index.c +497 -495
  22. data/ext/isomorfeus_ferret_ext/frb_qparser.c +48 -60
  23. data/ext/isomorfeus_ferret_ext/frb_search.c +1520 -1002
  24. data/ext/isomorfeus_ferret_ext/frb_store.c +96 -96
  25. data/ext/isomorfeus_ferret_ext/frb_threading.h +0 -1
  26. data/ext/isomorfeus_ferret_ext/frb_utils.c +147 -196
  27. data/ext/isomorfeus_ferret_ext/frt_analysis.c +695 -1090
  28. data/ext/isomorfeus_ferret_ext/frt_analysis.h +174 -170
  29. data/ext/isomorfeus_ferret_ext/frt_array.c +2 -4
  30. data/ext/isomorfeus_ferret_ext/frt_bitvector.c +9 -16
  31. data/ext/isomorfeus_ferret_ext/frt_bitvector.h +32 -81
  32. data/ext/isomorfeus_ferret_ext/frt_document.c +15 -20
  33. data/ext/isomorfeus_ferret_ext/frt_document.h +10 -10
  34. data/ext/isomorfeus_ferret_ext/frt_except.c +5 -12
  35. data/ext/isomorfeus_ferret_ext/frt_field_index.c +3 -3
  36. data/ext/isomorfeus_ferret_ext/frt_field_index.h +6 -7
  37. data/ext/isomorfeus_ferret_ext/frt_filter.c +35 -46
  38. data/ext/isomorfeus_ferret_ext/frt_fs_store.c +1 -0
  39. data/ext/isomorfeus_ferret_ext/frt_global.c +91 -200
  40. data/ext/isomorfeus_ferret_ext/frt_global.h +7 -18
  41. data/ext/isomorfeus_ferret_ext/frt_hash.c +1 -2
  42. data/ext/isomorfeus_ferret_ext/frt_ind.c +32 -35
  43. data/ext/isomorfeus_ferret_ext/frt_ind.h +9 -9
  44. data/ext/isomorfeus_ferret_ext/frt_index.c +603 -410
  45. data/ext/isomorfeus_ferret_ext/frt_index.h +272 -291
  46. data/ext/isomorfeus_ferret_ext/frt_lang.c +0 -2
  47. data/ext/isomorfeus_ferret_ext/frt_mempool.c +1 -2
  48. data/ext/isomorfeus_ferret_ext/frt_multimapper.c +4 -7
  49. data/ext/isomorfeus_ferret_ext/frt_q_boolean.c +68 -91
  50. data/ext/isomorfeus_ferret_ext/frt_q_const_score.c +35 -38
  51. data/ext/isomorfeus_ferret_ext/frt_q_filtered_query.c +53 -72
  52. data/ext/isomorfeus_ferret_ext/frt_q_fuzzy.c +25 -32
  53. data/ext/isomorfeus_ferret_ext/frt_q_match_all.c +21 -23
  54. data/ext/isomorfeus_ferret_ext/frt_q_multi_term.c +66 -103
  55. data/ext/isomorfeus_ferret_ext/frt_q_parser.c +207 -195
  56. data/ext/isomorfeus_ferret_ext/frt_q_phrase.c +20 -16
  57. data/ext/isomorfeus_ferret_ext/frt_q_prefix.c +17 -14
  58. data/ext/isomorfeus_ferret_ext/frt_q_range.c +102 -131
  59. data/ext/isomorfeus_ferret_ext/frt_q_span.c +179 -178
  60. data/ext/isomorfeus_ferret_ext/frt_q_term.c +47 -60
  61. data/ext/isomorfeus_ferret_ext/frt_q_wildcard.c +18 -16
  62. data/ext/isomorfeus_ferret_ext/frt_ram_store.c +45 -84
  63. data/ext/isomorfeus_ferret_ext/frt_search.c +105 -146
  64. data/ext/isomorfeus_ferret_ext/frt_search.h +331 -320
  65. data/ext/isomorfeus_ferret_ext/frt_similarity.c +5 -13
  66. data/ext/isomorfeus_ferret_ext/frt_similarity.h +7 -12
  67. data/ext/isomorfeus_ferret_ext/frt_sort.c +105 -149
  68. data/ext/isomorfeus_ferret_ext/frt_store.c +13 -7
  69. data/ext/isomorfeus_ferret_ext/frt_store.h +10 -2
  70. data/ext/isomorfeus_ferret_ext/frt_threading.h +0 -1
  71. data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.c +22 -112
  72. data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.h +2 -32
  73. data/ext/isomorfeus_ferret_ext/lz4.c +2495 -0
  74. data/ext/isomorfeus_ferret_ext/lz4.h +774 -0
  75. data/ext/isomorfeus_ferret_ext/lz4frame.c +1899 -0
  76. data/ext/isomorfeus_ferret_ext/lz4frame.h +623 -0
  77. data/ext/isomorfeus_ferret_ext/lz4hc.c +1615 -0
  78. data/ext/isomorfeus_ferret_ext/lz4hc.h +413 -0
  79. data/ext/isomorfeus_ferret_ext/lz4xxhash.c +1030 -0
  80. data/ext/isomorfeus_ferret_ext/lz4xxhash.h +328 -0
  81. data/ext/isomorfeus_ferret_ext/stem_modules.h +0 -86
  82. data/ext/isomorfeus_ferret_ext/test.c +0 -17
  83. data/ext/isomorfeus_ferret_ext/test_1710.c +11 -12
  84. data/ext/isomorfeus_ferret_ext/test_analysis.c +590 -583
  85. data/ext/isomorfeus_ferret_ext/test_compound_io.c +1 -1
  86. data/ext/isomorfeus_ferret_ext/test_document.c +19 -15
  87. data/ext/isomorfeus_ferret_ext/test_except.c +1 -2
  88. data/ext/isomorfeus_ferret_ext/test_fields.c +59 -60
  89. data/ext/isomorfeus_ferret_ext/test_file_deleter.c +10 -27
  90. data/ext/isomorfeus_ferret_ext/test_filter.c +11 -8
  91. data/ext/isomorfeus_ferret_ext/test_global.c +0 -46
  92. data/ext/isomorfeus_ferret_ext/test_hash.c +2 -2
  93. data/ext/isomorfeus_ferret_ext/test_hashset.c +1 -1
  94. data/ext/isomorfeus_ferret_ext/test_highlighter.c +15 -11
  95. data/ext/isomorfeus_ferret_ext/test_index.c +372 -365
  96. data/ext/isomorfeus_ferret_ext/test_q_const_score.c +5 -3
  97. data/ext/isomorfeus_ferret_ext/test_q_filtered.c +5 -3
  98. data/ext/isomorfeus_ferret_ext/test_q_fuzzy.c +13 -10
  99. data/ext/isomorfeus_ferret_ext/test_q_parser.c +45 -7
  100. data/ext/isomorfeus_ferret_ext/test_q_span.c +15 -12
  101. data/ext/isomorfeus_ferret_ext/test_ram_store.c +3 -3
  102. data/ext/isomorfeus_ferret_ext/test_search.c +60 -64
  103. data/ext/isomorfeus_ferret_ext/test_segments.c +5 -4
  104. data/ext/isomorfeus_ferret_ext/test_sort.c +17 -14
  105. data/ext/isomorfeus_ferret_ext/test_store.c +2 -0
  106. data/ext/isomorfeus_ferret_ext/test_term.c +3 -1
  107. data/ext/isomorfeus_ferret_ext/test_term_vectors.c +9 -10
  108. data/ext/isomorfeus_ferret_ext/test_test.c +1 -2
  109. data/ext/isomorfeus_ferret_ext/test_threading.c +9 -10
  110. data/ext/isomorfeus_ferret_ext/testhelper.c +1 -2
  111. data/lib/isomorfeus/ferret/version.rb +1 -1
  112. metadata +27 -57
  113. data/ext/isomorfeus_ferret_ext/email.rl +0 -21
  114. data/ext/isomorfeus_ferret_ext/frt_scanner.c +0 -900
  115. data/ext/isomorfeus_ferret_ext/frt_scanner.h +0 -28
  116. data/ext/isomorfeus_ferret_ext/frt_scanner_mb.c +0 -6706
  117. data/ext/isomorfeus_ferret_ext/frt_scanner_utf8.c +0 -4420
  118. data/ext/isomorfeus_ferret_ext/scanner.h +0 -28
  119. data/ext/isomorfeus_ferret_ext/scanner.in +0 -43
  120. data/ext/isomorfeus_ferret_ext/scanner.rl +0 -84
  121. data/ext/isomorfeus_ferret_ext/scanner_mb.rl +0 -200
  122. data/ext/isomorfeus_ferret_ext/scanner_utf8.rl +0 -85
  123. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.c +0 -1167
  124. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_basque.h +0 -6
  125. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.c +0 -1433
  126. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_catalan.h +0 -6
  127. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.c +0 -301
  128. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.h +0 -6
  129. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.c +0 -590
  130. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.h +0 -6
  131. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.c +0 -1049
  132. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.h +0 -6
  133. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.c +0 -705
  134. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.h +0 -6
  135. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.c +0 -1239
  136. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.h +0 -6
  137. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.c +0 -477
  138. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.h +0 -6
  139. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.c +0 -1217
  140. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.h +0 -7
  141. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.c +0 -394
  142. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_indonesian.h +0 -6
  143. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.c +0 -457
  144. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_irish.h +0 -6
  145. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.c +0 -1009
  146. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.h +0 -6
  147. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.c +0 -259
  148. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.h +0 -6
  149. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.c +0 -704
  150. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.h +0 -6
  151. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.c +0 -948
  152. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.h +0 -6
  153. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.c +0 -1028
  154. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.h +0 -6
  155. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.c +0 -275
  156. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.h +0 -6
  157. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.c +0 -849
  158. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_hungarian.h +0 -6
  159. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.c +0 -952
  160. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.h +0 -6
  161. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.c +0 -669
  162. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.h +0 -6
  163. data/ext/isomorfeus_ferret_ext/stem_modules.txt +0 -63
  164. data/ext/isomorfeus_ferret_ext/uchar-ucs4.rl +0 -1854
  165. data/ext/isomorfeus_ferret_ext/uchar-utf8.rl +0 -1999
  166. data/ext/isomorfeus_ferret_ext/url.rl +0 -27
@@ -1,1028 +0,0 @@
1
- /* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
2
-
3
- #include "stem_header.h"
4
-
5
- extern int spanish_ISO_8859_1_stem(struct SN_env * z);
6
-
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_ISO_8859_1_create_env(void);
19
- extern void spanish_ISO_8859_1_close_env(struct SN_env * z);
20
-
21
- static const symbol s_0_1[1] = { 0xE1 };
22
- static const symbol s_0_2[1] = { 0xE9 };
23
- static const symbol s_0_3[1] = { 0xED };
24
- static const symbol s_0_4[1] = { 0xF3 };
25
- static const symbol s_0_5[1] = { 0xFA };
26
-
27
- static const struct among a_0[6] =
28
- {
29
- { 0, 0, -1, 6, 0},
30
- { 1, s_0_1, 0, 1, 0},
31
- { 1, s_0_2, 0, 2, 0},
32
- { 1, s_0_3, 0, 3, 0},
33
- { 1, s_0_4, 0, 4, 0},
34
- { 1, s_0_5, 0, 5, 0}
35
- };
36
-
37
- static const symbol s_1_0[2] = { 'l', 'a' };
38
- static const symbol s_1_1[4] = { 's', 'e', 'l', 'a' };
39
- static const symbol s_1_2[2] = { 'l', 'e' };
40
- static const symbol s_1_3[2] = { 'm', 'e' };
41
- static const symbol s_1_4[2] = { 's', 'e' };
42
- static const symbol s_1_5[2] = { 'l', 'o' };
43
- static const symbol s_1_6[4] = { 's', 'e', 'l', 'o' };
44
- static const symbol s_1_7[3] = { 'l', 'a', 's' };
45
- static const symbol s_1_8[5] = { 's', 'e', 'l', 'a', 's' };
46
- static const symbol s_1_9[3] = { 'l', 'e', 's' };
47
- static const symbol s_1_10[3] = { 'l', 'o', 's' };
48
- static const symbol s_1_11[5] = { 's', 'e', 'l', 'o', 's' };
49
- static const symbol s_1_12[3] = { 'n', 'o', 's' };
50
-
51
- static const struct among a_1[13] =
52
- {
53
- { 2, s_1_0, -1, -1, 0},
54
- { 4, s_1_1, 0, -1, 0},
55
- { 2, s_1_2, -1, -1, 0},
56
- { 2, s_1_3, -1, -1, 0},
57
- { 2, s_1_4, -1, -1, 0},
58
- { 2, s_1_5, -1, -1, 0},
59
- { 4, s_1_6, 5, -1, 0},
60
- { 3, s_1_7, -1, -1, 0},
61
- { 5, s_1_8, 7, -1, 0},
62
- { 3, s_1_9, -1, -1, 0},
63
- { 3, s_1_10, -1, -1, 0},
64
- { 5, s_1_11, 10, -1, 0},
65
- { 3, s_1_12, -1, -1, 0}
66
- };
67
-
68
- static const symbol s_2_0[4] = { 'a', 'n', 'd', 'o' };
69
- static const symbol s_2_1[5] = { 'i', 'e', 'n', 'd', 'o' };
70
- static const symbol s_2_2[5] = { 'y', 'e', 'n', 'd', 'o' };
71
- static const symbol s_2_3[4] = { 0xE1, 'n', 'd', 'o' };
72
- static const symbol s_2_4[5] = { 'i', 0xE9, 'n', 'd', 'o' };
73
- static const symbol s_2_5[2] = { 'a', 'r' };
74
- static const symbol s_2_6[2] = { 'e', 'r' };
75
- static const symbol s_2_7[2] = { 'i', 'r' };
76
- static const symbol s_2_8[2] = { 0xE1, 'r' };
77
- static const symbol s_2_9[2] = { 0xE9, 'r' };
78
- static const symbol s_2_10[2] = { 0xED, 'r' };
79
-
80
- static const struct among a_2[11] =
81
- {
82
- { 4, s_2_0, -1, 6, 0},
83
- { 5, s_2_1, -1, 6, 0},
84
- { 5, s_2_2, -1, 7, 0},
85
- { 4, s_2_3, -1, 2, 0},
86
- { 5, s_2_4, -1, 1, 0},
87
- { 2, s_2_5, -1, 6, 0},
88
- { 2, s_2_6, -1, 6, 0},
89
- { 2, s_2_7, -1, 6, 0},
90
- { 2, s_2_8, -1, 3, 0},
91
- { 2, s_2_9, -1, 4, 0},
92
- { 2, s_2_10, -1, 5, 0}
93
- };
94
-
95
- static const symbol s_3_0[2] = { 'i', 'c' };
96
- static const symbol s_3_1[2] = { 'a', 'd' };
97
- static const symbol s_3_2[2] = { 'o', 's' };
98
- static const symbol s_3_3[2] = { 'i', 'v' };
99
-
100
- static const struct among a_3[4] =
101
- {
102
- { 2, s_3_0, -1, -1, 0},
103
- { 2, s_3_1, -1, -1, 0},
104
- { 2, s_3_2, -1, -1, 0},
105
- { 2, s_3_3, -1, 1, 0}
106
- };
107
-
108
- static const symbol s_4_0[4] = { 'a', 'b', 'l', 'e' };
109
- static const symbol s_4_1[4] = { 'i', 'b', 'l', 'e' };
110
- static const symbol s_4_2[4] = { 'a', 'n', 't', 'e' };
111
-
112
- static const struct among a_4[3] =
113
- {
114
- { 4, s_4_0, -1, 1, 0},
115
- { 4, s_4_1, -1, 1, 0},
116
- { 4, s_4_2, -1, 1, 0}
117
- };
118
-
119
- static const symbol s_5_0[2] = { 'i', 'c' };
120
- static const symbol s_5_1[4] = { 'a', 'b', 'i', 'l' };
121
- static const symbol s_5_2[2] = { 'i', 'v' };
122
-
123
- static const struct among a_5[3] =
124
- {
125
- { 2, s_5_0, -1, 1, 0},
126
- { 4, s_5_1, -1, 1, 0},
127
- { 2, s_5_2, -1, 1, 0}
128
- };
129
-
130
- static const symbol s_6_0[3] = { 'i', 'c', 'a' };
131
- static const symbol s_6_1[5] = { 'a', 'n', 'c', 'i', 'a' };
132
- static const symbol s_6_2[5] = { 'e', 'n', 'c', 'i', 'a' };
133
- static const symbol s_6_3[5] = { 'a', 'd', 'o', 'r', 'a' };
134
- static const symbol s_6_4[3] = { 'o', 's', 'a' };
135
- static const symbol s_6_5[4] = { 'i', 's', 't', 'a' };
136
- static const symbol s_6_6[3] = { 'i', 'v', 'a' };
137
- static const symbol s_6_7[4] = { 'a', 'n', 'z', 'a' };
138
- static const symbol s_6_8[5] = { 'l', 'o', 'g', 0xED, 'a' };
139
- static const symbol s_6_9[4] = { 'i', 'd', 'a', 'd' };
140
- static const symbol s_6_10[4] = { 'a', 'b', 'l', 'e' };
141
- static const symbol s_6_11[4] = { 'i', 'b', 'l', 'e' };
142
- static const symbol s_6_12[4] = { 'a', 'n', 't', 'e' };
143
- static const symbol s_6_13[5] = { 'm', 'e', 'n', 't', 'e' };
144
- static const symbol s_6_14[6] = { 'a', 'm', 'e', 'n', 't', 'e' };
145
- static const symbol s_6_15[5] = { 'a', 'c', 'i', 0xF3, 'n' };
146
- static const symbol s_6_16[5] = { 'u', 'c', 'i', 0xF3, 'n' };
147
- static const symbol s_6_17[3] = { 'i', 'c', 'o' };
148
- static const symbol s_6_18[4] = { 'i', 's', 'm', 'o' };
149
- static const symbol s_6_19[3] = { 'o', 's', 'o' };
150
- static const symbol s_6_20[7] = { 'a', 'm', 'i', 'e', 'n', 't', 'o' };
151
- static const symbol s_6_21[7] = { 'i', 'm', 'i', 'e', 'n', 't', 'o' };
152
- static const symbol s_6_22[3] = { 'i', 'v', 'o' };
153
- static const symbol s_6_23[4] = { 'a', 'd', 'o', 'r' };
154
- static const symbol s_6_24[4] = { 'i', 'c', 'a', 's' };
155
- static const symbol s_6_25[6] = { 'a', 'n', 'c', 'i', 'a', 's' };
156
- static const symbol s_6_26[6] = { 'e', 'n', 'c', 'i', 'a', 's' };
157
- static const symbol s_6_27[6] = { 'a', 'd', 'o', 'r', 'a', 's' };
158
- static const symbol s_6_28[4] = { 'o', 's', 'a', 's' };
159
- static const symbol s_6_29[5] = { 'i', 's', 't', 'a', 's' };
160
- static const symbol s_6_30[4] = { 'i', 'v', 'a', 's' };
161
- static const symbol s_6_31[5] = { 'a', 'n', 'z', 'a', 's' };
162
- static const symbol s_6_32[6] = { 'l', 'o', 'g', 0xED, 'a', 's' };
163
- static const symbol s_6_33[6] = { 'i', 'd', 'a', 'd', 'e', 's' };
164
- static const symbol s_6_34[5] = { 'a', 'b', 'l', 'e', 's' };
165
- static const symbol s_6_35[5] = { 'i', 'b', 'l', 'e', 's' };
166
- static const symbol s_6_36[7] = { 'a', 'c', 'i', 'o', 'n', 'e', 's' };
167
- static const symbol s_6_37[7] = { 'u', 'c', 'i', 'o', 'n', 'e', 's' };
168
- static const symbol s_6_38[6] = { 'a', 'd', 'o', 'r', 'e', 's' };
169
- static const symbol s_6_39[5] = { 'a', 'n', 't', 'e', 's' };
170
- static const symbol s_6_40[4] = { 'i', 'c', 'o', 's' };
171
- static const symbol s_6_41[5] = { 'i', 's', 'm', 'o', 's' };
172
- static const symbol s_6_42[4] = { 'o', 's', 'o', 's' };
173
- static const symbol s_6_43[8] = { 'a', 'm', 'i', 'e', 'n', 't', 'o', 's' };
174
- static const symbol s_6_44[8] = { 'i', 'm', 'i', 'e', 'n', 't', 'o', 's' };
175
- static const symbol s_6_45[4] = { 'i', 'v', 'o', 's' };
176
-
177
- static const struct among a_6[46] =
178
- {
179
- { 3, s_6_0, -1, 1, 0},
180
- { 5, s_6_1, -1, 2, 0},
181
- { 5, s_6_2, -1, 5, 0},
182
- { 5, s_6_3, -1, 2, 0},
183
- { 3, s_6_4, -1, 1, 0},
184
- { 4, s_6_5, -1, 1, 0},
185
- { 3, s_6_6, -1, 9, 0},
186
- { 4, s_6_7, -1, 1, 0},
187
- { 5, s_6_8, -1, 3, 0},
188
- { 4, s_6_9, -1, 8, 0},
189
- { 4, s_6_10, -1, 1, 0},
190
- { 4, s_6_11, -1, 1, 0},
191
- { 4, s_6_12, -1, 2, 0},
192
- { 5, s_6_13, -1, 7, 0},
193
- { 6, s_6_14, 13, 6, 0},
194
- { 5, s_6_15, -1, 2, 0},
195
- { 5, s_6_16, -1, 4, 0},
196
- { 3, s_6_17, -1, 1, 0},
197
- { 4, s_6_18, -1, 1, 0},
198
- { 3, s_6_19, -1, 1, 0},
199
- { 7, s_6_20, -1, 1, 0},
200
- { 7, s_6_21, -1, 1, 0},
201
- { 3, s_6_22, -1, 9, 0},
202
- { 4, s_6_23, -1, 2, 0},
203
- { 4, s_6_24, -1, 1, 0},
204
- { 6, s_6_25, -1, 2, 0},
205
- { 6, s_6_26, -1, 5, 0},
206
- { 6, s_6_27, -1, 2, 0},
207
- { 4, s_6_28, -1, 1, 0},
208
- { 5, s_6_29, -1, 1, 0},
209
- { 4, s_6_30, -1, 9, 0},
210
- { 5, s_6_31, -1, 1, 0},
211
- { 6, s_6_32, -1, 3, 0},
212
- { 6, s_6_33, -1, 8, 0},
213
- { 5, s_6_34, -1, 1, 0},
214
- { 5, s_6_35, -1, 1, 0},
215
- { 7, s_6_36, -1, 2, 0},
216
- { 7, s_6_37, -1, 4, 0},
217
- { 6, s_6_38, -1, 2, 0},
218
- { 5, s_6_39, -1, 2, 0},
219
- { 4, s_6_40, -1, 1, 0},
220
- { 5, s_6_41, -1, 1, 0},
221
- { 4, s_6_42, -1, 1, 0},
222
- { 8, s_6_43, -1, 1, 0},
223
- { 8, s_6_44, -1, 1, 0},
224
- { 4, s_6_45, -1, 9, 0}
225
- };
226
-
227
- static const symbol s_7_0[2] = { 'y', 'a' };
228
- static const symbol s_7_1[2] = { 'y', 'e' };
229
- static const symbol s_7_2[3] = { 'y', 'a', 'n' };
230
- static const symbol s_7_3[3] = { 'y', 'e', 'n' };
231
- static const symbol s_7_4[5] = { 'y', 'e', 'r', 'o', 'n' };
232
- static const symbol s_7_5[5] = { 'y', 'e', 'n', 'd', 'o' };
233
- static const symbol s_7_6[2] = { 'y', 'o' };
234
- static const symbol s_7_7[3] = { 'y', 'a', 's' };
235
- static const symbol s_7_8[3] = { 'y', 'e', 's' };
236
- static const symbol s_7_9[4] = { 'y', 'a', 'i', 's' };
237
- static const symbol s_7_10[5] = { 'y', 'a', 'm', 'o', 's' };
238
- static const symbol s_7_11[2] = { 'y', 0xF3 };
239
-
240
- static const struct among a_7[12] =
241
- {
242
- { 2, s_7_0, -1, 1, 0},
243
- { 2, s_7_1, -1, 1, 0},
244
- { 3, s_7_2, -1, 1, 0},
245
- { 3, s_7_3, -1, 1, 0},
246
- { 5, s_7_4, -1, 1, 0},
247
- { 5, s_7_5, -1, 1, 0},
248
- { 2, s_7_6, -1, 1, 0},
249
- { 3, s_7_7, -1, 1, 0},
250
- { 3, s_7_8, -1, 1, 0},
251
- { 4, s_7_9, -1, 1, 0},
252
- { 5, s_7_10, -1, 1, 0},
253
- { 2, s_7_11, -1, 1, 0}
254
- };
255
-
256
- static const symbol s_8_0[3] = { 'a', 'b', 'a' };
257
- static const symbol s_8_1[3] = { 'a', 'd', 'a' };
258
- static const symbol s_8_2[3] = { 'i', 'd', 'a' };
259
- static const symbol s_8_3[3] = { 'a', 'r', 'a' };
260
- static const symbol s_8_4[4] = { 'i', 'e', 'r', 'a' };
261
- static const symbol s_8_5[2] = { 0xED, 'a' };
262
- static const symbol s_8_6[4] = { 'a', 'r', 0xED, 'a' };
263
- static const symbol s_8_7[4] = { 'e', 'r', 0xED, 'a' };
264
- static const symbol s_8_8[4] = { 'i', 'r', 0xED, 'a' };
265
- static const symbol s_8_9[2] = { 'a', 'd' };
266
- static const symbol s_8_10[2] = { 'e', 'd' };
267
- static const symbol s_8_11[2] = { 'i', 'd' };
268
- static const symbol s_8_12[3] = { 'a', 's', 'e' };
269
- static const symbol s_8_13[4] = { 'i', 'e', 's', 'e' };
270
- static const symbol s_8_14[4] = { 'a', 's', 't', 'e' };
271
- static const symbol s_8_15[4] = { 'i', 's', 't', 'e' };
272
- static const symbol s_8_16[2] = { 'a', 'n' };
273
- static const symbol s_8_17[4] = { 'a', 'b', 'a', 'n' };
274
- static const symbol s_8_18[4] = { 'a', 'r', 'a', 'n' };
275
- static const symbol s_8_19[5] = { 'i', 'e', 'r', 'a', 'n' };
276
- static const symbol s_8_20[3] = { 0xED, 'a', 'n' };
277
- static const symbol s_8_21[5] = { 'a', 'r', 0xED, 'a', 'n' };
278
- static const symbol s_8_22[5] = { 'e', 'r', 0xED, 'a', 'n' };
279
- static const symbol s_8_23[5] = { 'i', 'r', 0xED, 'a', 'n' };
280
- static const symbol s_8_24[2] = { 'e', 'n' };
281
- static const symbol s_8_25[4] = { 'a', 's', 'e', 'n' };
282
- static const symbol s_8_26[5] = { 'i', 'e', 's', 'e', 'n' };
283
- static const symbol s_8_27[4] = { 'a', 'r', 'o', 'n' };
284
- static const symbol s_8_28[5] = { 'i', 'e', 'r', 'o', 'n' };
285
- static const symbol s_8_29[4] = { 'a', 'r', 0xE1, 'n' };
286
- static const symbol s_8_30[4] = { 'e', 'r', 0xE1, 'n' };
287
- static const symbol s_8_31[4] = { 'i', 'r', 0xE1, 'n' };
288
- static const symbol s_8_32[3] = { 'a', 'd', 'o' };
289
- static const symbol s_8_33[3] = { 'i', 'd', 'o' };
290
- static const symbol s_8_34[4] = { 'a', 'n', 'd', 'o' };
291
- static const symbol s_8_35[5] = { 'i', 'e', 'n', 'd', 'o' };
292
- static const symbol s_8_36[2] = { 'a', 'r' };
293
- static const symbol s_8_37[2] = { 'e', 'r' };
294
- static const symbol s_8_38[2] = { 'i', 'r' };
295
- static const symbol s_8_39[2] = { 'a', 's' };
296
- static const symbol s_8_40[4] = { 'a', 'b', 'a', 's' };
297
- static const symbol s_8_41[4] = { 'a', 'd', 'a', 's' };
298
- static const symbol s_8_42[4] = { 'i', 'd', 'a', 's' };
299
- static const symbol s_8_43[4] = { 'a', 'r', 'a', 's' };
300
- static const symbol s_8_44[5] = { 'i', 'e', 'r', 'a', 's' };
301
- static const symbol s_8_45[3] = { 0xED, 'a', 's' };
302
- static const symbol s_8_46[5] = { 'a', 'r', 0xED, 'a', 's' };
303
- static const symbol s_8_47[5] = { 'e', 'r', 0xED, 'a', 's' };
304
- static const symbol s_8_48[5] = { 'i', 'r', 0xED, 'a', 's' };
305
- static const symbol s_8_49[2] = { 'e', 's' };
306
- static const symbol s_8_50[4] = { 'a', 's', 'e', 's' };
307
- static const symbol s_8_51[5] = { 'i', 'e', 's', 'e', 's' };
308
- static const symbol s_8_52[5] = { 'a', 'b', 'a', 'i', 's' };
309
- static const symbol s_8_53[5] = { 'a', 'r', 'a', 'i', 's' };
310
- static const symbol s_8_54[6] = { 'i', 'e', 'r', 'a', 'i', 's' };
311
- static const symbol s_8_55[4] = { 0xED, 'a', 'i', 's' };
312
- static const symbol s_8_56[6] = { 'a', 'r', 0xED, 'a', 'i', 's' };
313
- static const symbol s_8_57[6] = { 'e', 'r', 0xED, 'a', 'i', 's' };
314
- static const symbol s_8_58[6] = { 'i', 'r', 0xED, 'a', 'i', 's' };
315
- static const symbol s_8_59[5] = { 'a', 's', 'e', 'i', 's' };
316
- static const symbol s_8_60[6] = { 'i', 'e', 's', 'e', 'i', 's' };
317
- static const symbol s_8_61[6] = { 'a', 's', 't', 'e', 'i', 's' };
318
- static const symbol s_8_62[6] = { 'i', 's', 't', 'e', 'i', 's' };
319
- static const symbol s_8_63[3] = { 0xE1, 'i', 's' };
320
- static const symbol s_8_64[3] = { 0xE9, 'i', 's' };
321
- static const symbol s_8_65[5] = { 'a', 'r', 0xE9, 'i', 's' };
322
- static const symbol s_8_66[5] = { 'e', 'r', 0xE9, 'i', 's' };
323
- static const symbol s_8_67[5] = { 'i', 'r', 0xE9, 'i', 's' };
324
- static const symbol s_8_68[4] = { 'a', 'd', 'o', 's' };
325
- static const symbol s_8_69[4] = { 'i', 'd', 'o', 's' };
326
- static const symbol s_8_70[4] = { 'a', 'm', 'o', 's' };
327
- static const symbol s_8_71[6] = { 0xE1, 'b', 'a', 'm', 'o', 's' };
328
- static const symbol s_8_72[6] = { 0xE1, 'r', 'a', 'm', 'o', 's' };
329
- static const symbol s_8_73[7] = { 'i', 0xE9, 'r', 'a', 'm', 'o', 's' };
330
- static const symbol s_8_74[5] = { 0xED, 'a', 'm', 'o', 's' };
331
- static const symbol s_8_75[7] = { 'a', 'r', 0xED, 'a', 'm', 'o', 's' };
332
- static const symbol s_8_76[7] = { 'e', 'r', 0xED, 'a', 'm', 'o', 's' };
333
- static const symbol s_8_77[7] = { 'i', 'r', 0xED, 'a', 'm', 'o', 's' };
334
- static const symbol s_8_78[4] = { 'e', 'm', 'o', 's' };
335
- static const symbol s_8_79[6] = { 'a', 'r', 'e', 'm', 'o', 's' };
336
- static const symbol s_8_80[6] = { 'e', 'r', 'e', 'm', 'o', 's' };
337
- static const symbol s_8_81[6] = { 'i', 'r', 'e', 'm', 'o', 's' };
338
- static const symbol s_8_82[6] = { 0xE1, 's', 'e', 'm', 'o', 's' };
339
- static const symbol s_8_83[7] = { 'i', 0xE9, 's', 'e', 'm', 'o', 's' };
340
- static const symbol s_8_84[4] = { 'i', 'm', 'o', 's' };
341
- static const symbol s_8_85[4] = { 'a', 'r', 0xE1, 's' };
342
- static const symbol s_8_86[4] = { 'e', 'r', 0xE1, 's' };
343
- static const symbol s_8_87[4] = { 'i', 'r', 0xE1, 's' };
344
- static const symbol s_8_88[2] = { 0xED, 's' };
345
- static const symbol s_8_89[3] = { 'a', 'r', 0xE1 };
346
- static const symbol s_8_90[3] = { 'e', 'r', 0xE1 };
347
- static const symbol s_8_91[3] = { 'i', 'r', 0xE1 };
348
- static const symbol s_8_92[3] = { 'a', 'r', 0xE9 };
349
- static const symbol s_8_93[3] = { 'e', 'r', 0xE9 };
350
- static const symbol s_8_94[3] = { 'i', 'r', 0xE9 };
351
- static const symbol s_8_95[2] = { 'i', 0xF3 };
352
-
353
- static const struct among a_8[96] =
354
- {
355
- { 3, s_8_0, -1, 2, 0},
356
- { 3, s_8_1, -1, 2, 0},
357
- { 3, s_8_2, -1, 2, 0},
358
- { 3, s_8_3, -1, 2, 0},
359
- { 4, s_8_4, -1, 2, 0},
360
- { 2, s_8_5, -1, 2, 0},
361
- { 4, s_8_6, 5, 2, 0},
362
- { 4, s_8_7, 5, 2, 0},
363
- { 4, s_8_8, 5, 2, 0},
364
- { 2, s_8_9, -1, 2, 0},
365
- { 2, s_8_10, -1, 2, 0},
366
- { 2, s_8_11, -1, 2, 0},
367
- { 3, s_8_12, -1, 2, 0},
368
- { 4, s_8_13, -1, 2, 0},
369
- { 4, s_8_14, -1, 2, 0},
370
- { 4, s_8_15, -1, 2, 0},
371
- { 2, s_8_16, -1, 2, 0},
372
- { 4, s_8_17, 16, 2, 0},
373
- { 4, s_8_18, 16, 2, 0},
374
- { 5, s_8_19, 16, 2, 0},
375
- { 3, s_8_20, 16, 2, 0},
376
- { 5, s_8_21, 20, 2, 0},
377
- { 5, s_8_22, 20, 2, 0},
378
- { 5, s_8_23, 20, 2, 0},
379
- { 2, s_8_24, -1, 1, 0},
380
- { 4, s_8_25, 24, 2, 0},
381
- { 5, s_8_26, 24, 2, 0},
382
- { 4, s_8_27, -1, 2, 0},
383
- { 5, s_8_28, -1, 2, 0},
384
- { 4, s_8_29, -1, 2, 0},
385
- { 4, s_8_30, -1, 2, 0},
386
- { 4, s_8_31, -1, 2, 0},
387
- { 3, s_8_32, -1, 2, 0},
388
- { 3, s_8_33, -1, 2, 0},
389
- { 4, s_8_34, -1, 2, 0},
390
- { 5, s_8_35, -1, 2, 0},
391
- { 2, s_8_36, -1, 2, 0},
392
- { 2, s_8_37, -1, 2, 0},
393
- { 2, s_8_38, -1, 2, 0},
394
- { 2, s_8_39, -1, 2, 0},
395
- { 4, s_8_40, 39, 2, 0},
396
- { 4, s_8_41, 39, 2, 0},
397
- { 4, s_8_42, 39, 2, 0},
398
- { 4, s_8_43, 39, 2, 0},
399
- { 5, s_8_44, 39, 2, 0},
400
- { 3, s_8_45, 39, 2, 0},
401
- { 5, s_8_46, 45, 2, 0},
402
- { 5, s_8_47, 45, 2, 0},
403
- { 5, s_8_48, 45, 2, 0},
404
- { 2, s_8_49, -1, 1, 0},
405
- { 4, s_8_50, 49, 2, 0},
406
- { 5, s_8_51, 49, 2, 0},
407
- { 5, s_8_52, -1, 2, 0},
408
- { 5, s_8_53, -1, 2, 0},
409
- { 6, s_8_54, -1, 2, 0},
410
- { 4, s_8_55, -1, 2, 0},
411
- { 6, s_8_56, 55, 2, 0},
412
- { 6, s_8_57, 55, 2, 0},
413
- { 6, s_8_58, 55, 2, 0},
414
- { 5, s_8_59, -1, 2, 0},
415
- { 6, s_8_60, -1, 2, 0},
416
- { 6, s_8_61, -1, 2, 0},
417
- { 6, s_8_62, -1, 2, 0},
418
- { 3, s_8_63, -1, 2, 0},
419
- { 3, s_8_64, -1, 1, 0},
420
- { 5, s_8_65, 64, 2, 0},
421
- { 5, s_8_66, 64, 2, 0},
422
- { 5, s_8_67, 64, 2, 0},
423
- { 4, s_8_68, -1, 2, 0},
424
- { 4, s_8_69, -1, 2, 0},
425
- { 4, s_8_70, -1, 2, 0},
426
- { 6, s_8_71, 70, 2, 0},
427
- { 6, s_8_72, 70, 2, 0},
428
- { 7, s_8_73, 70, 2, 0},
429
- { 5, s_8_74, 70, 2, 0},
430
- { 7, s_8_75, 74, 2, 0},
431
- { 7, s_8_76, 74, 2, 0},
432
- { 7, s_8_77, 74, 2, 0},
433
- { 4, s_8_78, -1, 1, 0},
434
- { 6, s_8_79, 78, 2, 0},
435
- { 6, s_8_80, 78, 2, 0},
436
- { 6, s_8_81, 78, 2, 0},
437
- { 6, s_8_82, 78, 2, 0},
438
- { 7, s_8_83, 78, 2, 0},
439
- { 4, s_8_84, -1, 2, 0},
440
- { 4, s_8_85, -1, 2, 0},
441
- { 4, s_8_86, -1, 2, 0},
442
- { 4, s_8_87, -1, 2, 0},
443
- { 2, s_8_88, -1, 2, 0},
444
- { 3, s_8_89, -1, 2, 0},
445
- { 3, s_8_90, -1, 2, 0},
446
- { 3, s_8_91, -1, 2, 0},
447
- { 3, s_8_92, -1, 2, 0},
448
- { 3, s_8_93, -1, 2, 0},
449
- { 3, s_8_94, -1, 2, 0},
450
- { 2, s_8_95, -1, 2, 0}
451
- };
452
-
453
- static const symbol s_9_0[1] = { 'a' };
454
- static const symbol s_9_1[1] = { 'e' };
455
- static const symbol s_9_2[1] = { 'o' };
456
- static const symbol s_9_3[2] = { 'o', 's' };
457
- static const symbol s_9_4[1] = { 0xE1 };
458
- static const symbol s_9_5[1] = { 0xE9 };
459
- static const symbol s_9_6[1] = { 0xED };
460
- static const symbol s_9_7[1] = { 0xF3 };
461
-
462
- static const struct among a_9[8] =
463
- {
464
- { 1, s_9_0, -1, 1, 0},
465
- { 1, s_9_1, -1, 2, 0},
466
- { 1, s_9_2, -1, 1, 0},
467
- { 2, s_9_3, -1, 1, 0},
468
- { 1, s_9_4, -1, 1, 0},
469
- { 1, s_9_5, -1, 2, 0},
470
- { 1, s_9_6, -1, 1, 0},
471
- { 1, s_9_7, -1, 1, 0}
472
- };
473
-
474
- static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 4, 10 };
475
-
476
- static const symbol s_0[] = { 'a' };
477
- static const symbol s_1[] = { 'e' };
478
- static const symbol s_2[] = { 'i' };
479
- static const symbol s_3[] = { 'o' };
480
- static const symbol s_4[] = { 'u' };
481
- static const symbol s_5[] = { 'i', 'e', 'n', 'd', 'o' };
482
- static const symbol s_6[] = { 'a', 'n', 'd', 'o' };
483
- static const symbol s_7[] = { 'a', 'r' };
484
- static const symbol s_8[] = { 'e', 'r' };
485
- static const symbol s_9[] = { 'i', 'r' };
486
- static const symbol s_10[] = { 'i', 'c' };
487
- static const symbol s_11[] = { 'l', 'o', 'g' };
488
- static const symbol s_12[] = { 'u' };
489
- static const symbol s_13[] = { 'e', 'n', 't', 'e' };
490
- static const symbol s_14[] = { 'a', 't' };
491
- static const symbol s_15[] = { 'a', 't' };
492
-
493
- static int r_mark_regions(struct SN_env * z) {
494
- z->I[2] = z->l;
495
- z->I[1] = z->l;
496
- z->I[0] = z->l;
497
- { int c1 = z->c;
498
- { int c2 = z->c;
499
- if (in_grouping(z, g_v, 97, 252, 0)) goto lab2;
500
- { int c3 = z->c;
501
- if (out_grouping(z, g_v, 97, 252, 0)) goto lab4;
502
- {
503
- int ret = out_grouping(z, g_v, 97, 252, 1);
504
- if (ret < 0) goto lab4;
505
- z->c += ret;
506
- }
507
- goto lab3;
508
- lab4:
509
- z->c = c3;
510
- if (in_grouping(z, g_v, 97, 252, 0)) goto lab2;
511
- {
512
- int ret = in_grouping(z, g_v, 97, 252, 1);
513
- if (ret < 0) goto lab2;
514
- z->c += ret;
515
- }
516
- }
517
- lab3:
518
- goto lab1;
519
- lab2:
520
- z->c = c2;
521
- if (out_grouping(z, g_v, 97, 252, 0)) goto lab0;
522
- { int c4 = z->c;
523
- if (out_grouping(z, g_v, 97, 252, 0)) goto lab6;
524
- {
525
- int ret = out_grouping(z, g_v, 97, 252, 1);
526
- if (ret < 0) goto lab6;
527
- z->c += ret;
528
- }
529
- goto lab5;
530
- lab6:
531
- z->c = c4;
532
- if (in_grouping(z, g_v, 97, 252, 0)) goto lab0;
533
- if (z->c >= z->l) goto lab0;
534
- z->c++;
535
- }
536
- lab5:
537
- ;
538
- }
539
- lab1:
540
- z->I[2] = z->c;
541
- lab0:
542
- z->c = c1;
543
- }
544
- { int c5 = z->c;
545
- {
546
- int ret = out_grouping(z, g_v, 97, 252, 1);
547
- if (ret < 0) goto lab7;
548
- z->c += ret;
549
- }
550
- {
551
- int ret = in_grouping(z, g_v, 97, 252, 1);
552
- if (ret < 0) goto lab7;
553
- z->c += ret;
554
- }
555
- z->I[1] = z->c;
556
- {
557
- int ret = out_grouping(z, g_v, 97, 252, 1);
558
- if (ret < 0) goto lab7;
559
- z->c += ret;
560
- }
561
- {
562
- int ret = in_grouping(z, g_v, 97, 252, 1);
563
- if (ret < 0) goto lab7;
564
- z->c += ret;
565
- }
566
- z->I[0] = z->c;
567
- lab7:
568
- z->c = c5;
569
- }
570
- return 1;
571
- }
572
-
573
- static int r_postlude(struct SN_env * z) {
574
- int among_var;
575
- while(1) {
576
- int c1 = z->c;
577
- z->bra = z->c;
578
- if (z->c >= z->l || z->p[z->c + 0] >> 5 != 7 || !((67641858 >> (z->p[z->c + 0] & 0x1f)) & 1)) among_var = 6; else
579
- among_var = find_among(z, a_0, 6);
580
- if (!(among_var)) goto lab0;
581
- z->ket = z->c;
582
- switch (among_var) {
583
- case 1:
584
- { int ret = slice_from_s(z, 1, s_0);
585
- if (ret < 0) return ret;
586
- }
587
- break;
588
- case 2:
589
- { int ret = slice_from_s(z, 1, s_1);
590
- if (ret < 0) return ret;
591
- }
592
- break;
593
- case 3:
594
- { int ret = slice_from_s(z, 1, s_2);
595
- if (ret < 0) return ret;
596
- }
597
- break;
598
- case 4:
599
- { int ret = slice_from_s(z, 1, s_3);
600
- if (ret < 0) return ret;
601
- }
602
- break;
603
- case 5:
604
- { int ret = slice_from_s(z, 1, s_4);
605
- if (ret < 0) return ret;
606
- }
607
- break;
608
- case 6:
609
- if (z->c >= z->l) goto lab0;
610
- z->c++;
611
- break;
612
- }
613
- continue;
614
- lab0:
615
- z->c = c1;
616
- break;
617
- }
618
- return 1;
619
- }
620
-
621
- static int r_RV(struct SN_env * z) {
622
- if (!(z->I[2] <= z->c)) return 0;
623
- return 1;
624
- }
625
-
626
- static int r_R1(struct SN_env * z) {
627
- if (!(z->I[1] <= z->c)) return 0;
628
- return 1;
629
- }
630
-
631
- static int r_R2(struct SN_env * z) {
632
- if (!(z->I[0] <= z->c)) return 0;
633
- return 1;
634
- }
635
-
636
- static int r_attached_pronoun(struct SN_env * z) {
637
- int among_var;
638
- z->ket = z->c;
639
- if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((557090 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
640
- if (!(find_among_b(z, a_1, 13))) return 0;
641
- z->bra = z->c;
642
- if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 111 && z->p[z->c - 1] != 114)) return 0;
643
- among_var = find_among_b(z, a_2, 11);
644
- if (!(among_var)) return 0;
645
- { int ret = r_RV(z);
646
- if (ret <= 0) return ret;
647
- }
648
- switch (among_var) {
649
- case 1:
650
- z->bra = z->c;
651
- { int ret = slice_from_s(z, 5, s_5);
652
- if (ret < 0) return ret;
653
- }
654
- break;
655
- case 2:
656
- z->bra = z->c;
657
- { int ret = slice_from_s(z, 4, s_6);
658
- if (ret < 0) return ret;
659
- }
660
- break;
661
- case 3:
662
- z->bra = z->c;
663
- { int ret = slice_from_s(z, 2, s_7);
664
- if (ret < 0) return ret;
665
- }
666
- break;
667
- case 4:
668
- z->bra = z->c;
669
- { int ret = slice_from_s(z, 2, s_8);
670
- if (ret < 0) return ret;
671
- }
672
- break;
673
- case 5:
674
- z->bra = z->c;
675
- { int ret = slice_from_s(z, 2, s_9);
676
- if (ret < 0) return ret;
677
- }
678
- break;
679
- case 6:
680
- { int ret = slice_del(z);
681
- if (ret < 0) return ret;
682
- }
683
- break;
684
- case 7:
685
- if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0;
686
- z->c--;
687
- { int ret = slice_del(z);
688
- if (ret < 0) return ret;
689
- }
690
- break;
691
- }
692
- return 1;
693
- }
694
-
695
- static int r_standard_suffix(struct SN_env * z) {
696
- int among_var;
697
- z->ket = z->c;
698
- if (z->c - 2 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((835634 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
699
- among_var = find_among_b(z, a_6, 46);
700
- if (!(among_var)) return 0;
701
- z->bra = z->c;
702
- switch (among_var) {
703
- case 1:
704
- { int ret = r_R2(z);
705
- if (ret <= 0) return ret;
706
- }
707
- { int ret = slice_del(z);
708
- if (ret < 0) return ret;
709
- }
710
- break;
711
- case 2:
712
- { int ret = r_R2(z);
713
- if (ret <= 0) return ret;
714
- }
715
- { int ret = slice_del(z);
716
- if (ret < 0) return ret;
717
- }
718
- { int m1 = z->l - z->c; (void)m1;
719
- z->ket = z->c;
720
- if (!(eq_s_b(z, 2, s_10))) { z->c = z->l - m1; goto lab0; }
721
- z->bra = z->c;
722
- { int ret = r_R2(z);
723
- if (ret == 0) { z->c = z->l - m1; goto lab0; }
724
- if (ret < 0) return ret;
725
- }
726
- { int ret = slice_del(z);
727
- if (ret < 0) return ret;
728
- }
729
- lab0:
730
- ;
731
- }
732
- break;
733
- case 3:
734
- { int ret = r_R2(z);
735
- if (ret <= 0) return ret;
736
- }
737
- { int ret = slice_from_s(z, 3, s_11);
738
- if (ret < 0) return ret;
739
- }
740
- break;
741
- case 4:
742
- { int ret = r_R2(z);
743
- if (ret <= 0) return ret;
744
- }
745
- { int ret = slice_from_s(z, 1, s_12);
746
- if (ret < 0) return ret;
747
- }
748
- break;
749
- case 5:
750
- { int ret = r_R2(z);
751
- if (ret <= 0) return ret;
752
- }
753
- { int ret = slice_from_s(z, 4, s_13);
754
- if (ret < 0) return ret;
755
- }
756
- break;
757
- case 6:
758
- { int ret = r_R1(z);
759
- if (ret <= 0) return ret;
760
- }
761
- { int ret = slice_del(z);
762
- if (ret < 0) return ret;
763
- }
764
- { int m2 = z->l - z->c; (void)m2;
765
- z->ket = z->c;
766
- if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((4718616 >> (z->p[z->c - 1] & 0x1f)) & 1)) { z->c = z->l - m2; goto lab1; }
767
- among_var = find_among_b(z, a_3, 4);
768
- if (!(among_var)) { z->c = z->l - m2; goto lab1; }
769
- z->bra = z->c;
770
- { int ret = r_R2(z);
771
- if (ret == 0) { z->c = z->l - m2; goto lab1; }
772
- if (ret < 0) return ret;
773
- }
774
- { int ret = slice_del(z);
775
- if (ret < 0) return ret;
776
- }
777
- switch (among_var) {
778
- case 1:
779
- z->ket = z->c;
780
- if (!(eq_s_b(z, 2, s_14))) { z->c = z->l - m2; goto lab1; }
781
- z->bra = z->c;
782
- { int ret = r_R2(z);
783
- if (ret == 0) { z->c = z->l - m2; goto lab1; }
784
- if (ret < 0) return ret;
785
- }
786
- { int ret = slice_del(z);
787
- if (ret < 0) return ret;
788
- }
789
- break;
790
- }
791
- lab1:
792
- ;
793
- }
794
- break;
795
- case 7:
796
- { int ret = r_R2(z);
797
- if (ret <= 0) return ret;
798
- }
799
- { int ret = slice_del(z);
800
- if (ret < 0) return ret;
801
- }
802
- { int m3 = z->l - z->c; (void)m3;
803
- z->ket = z->c;
804
- if (z->c - 3 <= z->lb || z->p[z->c - 1] != 101) { z->c = z->l - m3; goto lab2; }
805
- if (!(find_among_b(z, a_4, 3))) { z->c = z->l - m3; goto lab2; }
806
- z->bra = z->c;
807
- { int ret = r_R2(z);
808
- if (ret == 0) { z->c = z->l - m3; goto lab2; }
809
- if (ret < 0) return ret;
810
- }
811
- { int ret = slice_del(z);
812
- if (ret < 0) return ret;
813
- }
814
- lab2:
815
- ;
816
- }
817
- break;
818
- case 8:
819
- { int ret = r_R2(z);
820
- if (ret <= 0) return ret;
821
- }
822
- { int ret = slice_del(z);
823
- if (ret < 0) return ret;
824
- }
825
- { int m4 = z->l - z->c; (void)m4;
826
- z->ket = z->c;
827
- 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 - m4; goto lab3; }
828
- if (!(find_among_b(z, a_5, 3))) { z->c = z->l - m4; goto lab3; }
829
- z->bra = z->c;
830
- { int ret = r_R2(z);
831
- if (ret == 0) { z->c = z->l - m4; goto lab3; }
832
- if (ret < 0) return ret;
833
- }
834
- { int ret = slice_del(z);
835
- if (ret < 0) return ret;
836
- }
837
- lab3:
838
- ;
839
- }
840
- break;
841
- case 9:
842
- { int ret = r_R2(z);
843
- if (ret <= 0) return ret;
844
- }
845
- { int ret = slice_del(z);
846
- if (ret < 0) return ret;
847
- }
848
- { int m5 = z->l - z->c; (void)m5;
849
- z->ket = z->c;
850
- if (!(eq_s_b(z, 2, s_15))) { z->c = z->l - m5; goto lab4; }
851
- z->bra = z->c;
852
- { int ret = r_R2(z);
853
- if (ret == 0) { z->c = z->l - m5; goto lab4; }
854
- if (ret < 0) return ret;
855
- }
856
- { int ret = slice_del(z);
857
- if (ret < 0) return ret;
858
- }
859
- lab4:
860
- ;
861
- }
862
- break;
863
- }
864
- return 1;
865
- }
866
-
867
- static int r_y_verb_suffix(struct SN_env * z) {
868
-
869
- { int mlimit1;
870
- if (z->c < z->I[2]) return 0;
871
- mlimit1 = z->lb; z->lb = z->I[2];
872
- z->ket = z->c;
873
- if (!(find_among_b(z, a_7, 12))) { z->lb = mlimit1; return 0; }
874
- z->bra = z->c;
875
- z->lb = mlimit1;
876
- }
877
- if (z->c <= z->lb || z->p[z->c - 1] != 'u') return 0;
878
- z->c--;
879
- { int ret = slice_del(z);
880
- if (ret < 0) return ret;
881
- }
882
- return 1;
883
- }
884
-
885
- static int r_verb_suffix(struct SN_env * z) {
886
- int among_var;
887
-
888
- { int mlimit1;
889
- if (z->c < z->I[2]) return 0;
890
- mlimit1 = z->lb; z->lb = z->I[2];
891
- z->ket = z->c;
892
- among_var = find_among_b(z, a_8, 96);
893
- if (!(among_var)) { z->lb = mlimit1; return 0; }
894
- z->bra = z->c;
895
- z->lb = mlimit1;
896
- }
897
- switch (among_var) {
898
- case 1:
899
- { int m2 = z->l - z->c; (void)m2;
900
- if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->c = z->l - m2; goto lab0; }
901
- z->c--;
902
- { int m_test3 = z->l - z->c;
903
- if (z->c <= z->lb || z->p[z->c - 1] != 'g') { z->c = z->l - m2; goto lab0; }
904
- z->c--;
905
- z->c = z->l - m_test3;
906
- }
907
- lab0:
908
- ;
909
- }
910
- z->bra = z->c;
911
- { int ret = slice_del(z);
912
- if (ret < 0) return ret;
913
- }
914
- break;
915
- case 2:
916
- { int ret = slice_del(z);
917
- if (ret < 0) return ret;
918
- }
919
- break;
920
- }
921
- return 1;
922
- }
923
-
924
- static int r_residual_suffix(struct SN_env * z) {
925
- int among_var;
926
- z->ket = z->c;
927
- among_var = find_among_b(z, a_9, 8);
928
- if (!(among_var)) return 0;
929
- z->bra = z->c;
930
- switch (among_var) {
931
- case 1:
932
- { int ret = r_RV(z);
933
- if (ret <= 0) return ret;
934
- }
935
- { int ret = slice_del(z);
936
- if (ret < 0) return ret;
937
- }
938
- break;
939
- case 2:
940
- { int ret = r_RV(z);
941
- if (ret <= 0) return ret;
942
- }
943
- { int ret = slice_del(z);
944
- if (ret < 0) return ret;
945
- }
946
- { int m1 = z->l - z->c; (void)m1;
947
- z->ket = z->c;
948
- if (z->c <= z->lb || z->p[z->c - 1] != 'u') { z->c = z->l - m1; goto lab0; }
949
- z->c--;
950
- z->bra = z->c;
951
- { int m_test2 = z->l - z->c;
952
- if (z->c <= z->lb || z->p[z->c - 1] != 'g') { z->c = z->l - m1; goto lab0; }
953
- z->c--;
954
- z->c = z->l - m_test2;
955
- }
956
- { int ret = r_RV(z);
957
- if (ret == 0) { z->c = z->l - m1; goto lab0; }
958
- if (ret < 0) return ret;
959
- }
960
- { int ret = slice_del(z);
961
- if (ret < 0) return ret;
962
- }
963
- lab0:
964
- ;
965
- }
966
- break;
967
- }
968
- return 1;
969
- }
970
-
971
- extern int spanish_ISO_8859_1_stem(struct SN_env * z) {
972
-
973
- { int ret = r_mark_regions(z);
974
- if (ret < 0) return ret;
975
- }
976
- z->lb = z->c; z->c = z->l;
977
-
978
- { int m1 = z->l - z->c; (void)m1;
979
- { int ret = r_attached_pronoun(z);
980
- if (ret < 0) return ret;
981
- }
982
- z->c = z->l - m1;
983
- }
984
- { int m2 = z->l - z->c; (void)m2;
985
- { int m3 = z->l - z->c; (void)m3;
986
- { int ret = r_standard_suffix(z);
987
- if (ret == 0) goto lab2;
988
- if (ret < 0) return ret;
989
- }
990
- goto lab1;
991
- lab2:
992
- z->c = z->l - m3;
993
- { int ret = r_y_verb_suffix(z);
994
- if (ret == 0) goto lab3;
995
- if (ret < 0) return ret;
996
- }
997
- goto lab1;
998
- lab3:
999
- z->c = z->l - m3;
1000
- { int ret = r_verb_suffix(z);
1001
- if (ret == 0) goto lab0;
1002
- if (ret < 0) return ret;
1003
- }
1004
- }
1005
- lab1:
1006
- lab0:
1007
- z->c = z->l - m2;
1008
- }
1009
- { int m4 = z->l - z->c; (void)m4;
1010
- { int ret = r_residual_suffix(z);
1011
- if (ret < 0) return ret;
1012
- }
1013
- z->c = z->l - m4;
1014
- }
1015
- z->c = z->lb;
1016
- { int c5 = z->c;
1017
- { int ret = r_postlude(z);
1018
- if (ret < 0) return ret;
1019
- }
1020
- z->c = c5;
1021
- }
1022
- return 1;
1023
- }
1024
-
1025
- extern struct SN_env * spanish_ISO_8859_1_create_env(void) { return SN_create_env(0, 3); }
1026
-
1027
- extern void spanish_ISO_8859_1_close_env(struct SN_env * z) { SN_close_env(z, 0); }
1028
-