isomorfeus-ferret 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (222) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +612 -0
  3. data/README.md +44 -0
  4. data/ext/isomorfeus_ferret_ext/benchmark.c +223 -0
  5. data/ext/isomorfeus_ferret_ext/benchmark.h +45 -0
  6. data/ext/isomorfeus_ferret_ext/benchmarks_all.h +25 -0
  7. data/ext/isomorfeus_ferret_ext/bm_bitvector.c +123 -0
  8. data/ext/isomorfeus_ferret_ext/bm_hash.c +118 -0
  9. data/ext/isomorfeus_ferret_ext/bm_micro_string.c +40 -0
  10. data/ext/isomorfeus_ferret_ext/bm_store.c +93 -0
  11. data/ext/isomorfeus_ferret_ext/email.rl +21 -0
  12. data/ext/isomorfeus_ferret_ext/extconf.rb +5 -0
  13. data/ext/isomorfeus_ferret_ext/fio_tmpfile.h +53 -0
  14. data/ext/isomorfeus_ferret_ext/frb_analysis.c +2577 -0
  15. data/ext/isomorfeus_ferret_ext/frb_index.c +3457 -0
  16. data/ext/isomorfeus_ferret_ext/frb_lang.c +9 -0
  17. data/ext/isomorfeus_ferret_ext/frb_lang.h +17 -0
  18. data/ext/isomorfeus_ferret_ext/frb_qparser.c +629 -0
  19. data/ext/isomorfeus_ferret_ext/frb_search.c +4460 -0
  20. data/ext/isomorfeus_ferret_ext/frb_store.c +515 -0
  21. data/ext/isomorfeus_ferret_ext/frb_threading.h +30 -0
  22. data/ext/isomorfeus_ferret_ext/frb_utils.c +1127 -0
  23. data/ext/isomorfeus_ferret_ext/frt_analysis.c +1644 -0
  24. data/ext/isomorfeus_ferret_ext/frt_analysis.h +247 -0
  25. data/ext/isomorfeus_ferret_ext/frt_array.c +124 -0
  26. data/ext/isomorfeus_ferret_ext/frt_array.h +54 -0
  27. data/ext/isomorfeus_ferret_ext/frt_bitvector.c +95 -0
  28. data/ext/isomorfeus_ferret_ext/frt_bitvector.h +586 -0
  29. data/ext/isomorfeus_ferret_ext/frt_compound_io.c +374 -0
  30. data/ext/isomorfeus_ferret_ext/frt_config.h +44 -0
  31. data/ext/isomorfeus_ferret_ext/frt_document.c +134 -0
  32. data/ext/isomorfeus_ferret_ext/frt_document.h +52 -0
  33. data/ext/isomorfeus_ferret_ext/frt_except.c +95 -0
  34. data/ext/isomorfeus_ferret_ext/frt_except.h +188 -0
  35. data/ext/isomorfeus_ferret_ext/frt_field_index.c +233 -0
  36. data/ext/isomorfeus_ferret_ext/frt_field_index.h +42 -0
  37. data/ext/isomorfeus_ferret_ext/frt_filter.c +157 -0
  38. data/ext/isomorfeus_ferret_ext/frt_fs_store.c +502 -0
  39. data/ext/isomorfeus_ferret_ext/frt_global.c +427 -0
  40. data/ext/isomorfeus_ferret_ext/frt_global.h +290 -0
  41. data/ext/isomorfeus_ferret_ext/frt_hash.c +518 -0
  42. data/ext/isomorfeus_ferret_ext/frt_hash.h +466 -0
  43. data/ext/isomorfeus_ferret_ext/frt_hashset.c +191 -0
  44. data/ext/isomorfeus_ferret_ext/frt_hashset.h +206 -0
  45. data/ext/isomorfeus_ferret_ext/frt_helper.c +62 -0
  46. data/ext/isomorfeus_ferret_ext/frt_helper.h +13 -0
  47. data/ext/isomorfeus_ferret_ext/frt_ind.c +353 -0
  48. data/ext/isomorfeus_ferret_ext/frt_ind.h +54 -0
  49. data/ext/isomorfeus_ferret_ext/frt_index.c +6377 -0
  50. data/ext/isomorfeus_ferret_ext/frt_index.h +880 -0
  51. data/ext/isomorfeus_ferret_ext/frt_lang.c +104 -0
  52. data/ext/isomorfeus_ferret_ext/frt_lang.h +44 -0
  53. data/ext/isomorfeus_ferret_ext/frt_mempool.c +87 -0
  54. data/ext/isomorfeus_ferret_ext/frt_mempool.h +33 -0
  55. data/ext/isomorfeus_ferret_ext/frt_multimapper.c +349 -0
  56. data/ext/isomorfeus_ferret_ext/frt_multimapper.h +52 -0
  57. data/ext/isomorfeus_ferret_ext/frt_posh.c +1006 -0
  58. data/ext/isomorfeus_ferret_ext/frt_posh.h +973 -0
  59. data/ext/isomorfeus_ferret_ext/frt_priorityqueue.c +147 -0
  60. data/ext/isomorfeus_ferret_ext/frt_priorityqueue.h +147 -0
  61. data/ext/isomorfeus_ferret_ext/frt_q_boolean.c +1612 -0
  62. data/ext/isomorfeus_ferret_ext/frt_q_const_score.c +157 -0
  63. data/ext/isomorfeus_ferret_ext/frt_q_filtered_query.c +209 -0
  64. data/ext/isomorfeus_ferret_ext/frt_q_fuzzy.c +281 -0
  65. data/ext/isomorfeus_ferret_ext/frt_q_match_all.c +147 -0
  66. data/ext/isomorfeus_ferret_ext/frt_q_multi_term.c +672 -0
  67. data/ext/isomorfeus_ferret_ext/frt_q_parser.c +3084 -0
  68. data/ext/isomorfeus_ferret_ext/frt_q_phrase.c +1182 -0
  69. data/ext/isomorfeus_ferret_ext/frt_q_prefix.c +98 -0
  70. data/ext/isomorfeus_ferret_ext/frt_q_range.c +665 -0
  71. data/ext/isomorfeus_ferret_ext/frt_q_span.c +2386 -0
  72. data/ext/isomorfeus_ferret_ext/frt_q_term.c +311 -0
  73. data/ext/isomorfeus_ferret_ext/frt_q_wildcard.c +166 -0
  74. data/ext/isomorfeus_ferret_ext/frt_ram_store.c +460 -0
  75. data/ext/isomorfeus_ferret_ext/frt_scanner.c +899 -0
  76. data/ext/isomorfeus_ferret_ext/frt_scanner.h +28 -0
  77. data/ext/isomorfeus_ferret_ext/frt_scanner_mb.c +6705 -0
  78. data/ext/isomorfeus_ferret_ext/frt_scanner_utf8.c +4419 -0
  79. data/ext/isomorfeus_ferret_ext/frt_search.c +1824 -0
  80. data/ext/isomorfeus_ferret_ext/frt_search.h +924 -0
  81. data/ext/isomorfeus_ferret_ext/frt_similarity.c +150 -0
  82. data/ext/isomorfeus_ferret_ext/frt_similarity.h +79 -0
  83. data/ext/isomorfeus_ferret_ext/frt_sort.c +796 -0
  84. data/ext/isomorfeus_ferret_ext/frt_stopwords.c +395 -0
  85. data/ext/isomorfeus_ferret_ext/frt_store.c +680 -0
  86. data/ext/isomorfeus_ferret_ext/frt_store.h +789 -0
  87. data/ext/isomorfeus_ferret_ext/frt_term_vectors.c +72 -0
  88. data/ext/isomorfeus_ferret_ext/frt_threading.h +23 -0
  89. data/ext/isomorfeus_ferret_ext/frt_win32.h +54 -0
  90. data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.c +409 -0
  91. data/ext/isomorfeus_ferret_ext/isomorfeus_ferret.h +95 -0
  92. data/ext/isomorfeus_ferret_ext/libstemmer.c +93 -0
  93. data/ext/isomorfeus_ferret_ext/libstemmer.h +73 -0
  94. data/ext/isomorfeus_ferret_ext/q_parser.y +1366 -0
  95. data/ext/isomorfeus_ferret_ext/scanner.h +28 -0
  96. data/ext/isomorfeus_ferret_ext/scanner.in +43 -0
  97. data/ext/isomorfeus_ferret_ext/scanner.rl +84 -0
  98. data/ext/isomorfeus_ferret_ext/scanner_mb.rl +200 -0
  99. data/ext/isomorfeus_ferret_ext/scanner_utf8.rl +85 -0
  100. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.c +324 -0
  101. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_danish.h +7 -0
  102. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.c +610 -0
  103. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_dutch.h +6 -0
  104. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.c +1104 -0
  105. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_english.h +6 -0
  106. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.c +749 -0
  107. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_finnish.h +7 -0
  108. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.c +1233 -0
  109. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_french.h +6 -0
  110. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.c +490 -0
  111. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_german.h +6 -0
  112. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.c +1217 -0
  113. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_hungarian.h +7 -0
  114. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.c +1052 -0
  115. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_italian.h +6 -0
  116. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.c +283 -0
  117. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_norwegian.h +6 -0
  118. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.c +735 -0
  119. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_porter.h +6 -0
  120. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.c +1003 -0
  121. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_portuguese.h +7 -0
  122. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.c +1079 -0
  123. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_spanish.h +6 -0
  124. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.c +293 -0
  125. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_1_swedish.h +6 -0
  126. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.c +984 -0
  127. data/ext/isomorfeus_ferret_ext/stem_ISO_8859_2_romanian.h +6 -0
  128. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.c +686 -0
  129. data/ext/isomorfeus_ferret_ext/stem_KOI8_R_russian.h +6 -0
  130. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.c +325 -0
  131. data/ext/isomorfeus_ferret_ext/stem_UTF_8_danish.h +6 -0
  132. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.c +620 -0
  133. data/ext/isomorfeus_ferret_ext/stem_UTF_8_dutch.h +6 -0
  134. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.c +1111 -0
  135. data/ext/isomorfeus_ferret_ext/stem_UTF_8_english.h +6 -0
  136. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.c +754 -0
  137. data/ext/isomorfeus_ferret_ext/stem_UTF_8_finnish.h +6 -0
  138. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.c +1242 -0
  139. data/ext/isomorfeus_ferret_ext/stem_UTF_8_french.h +6 -0
  140. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.c +495 -0
  141. data/ext/isomorfeus_ferret_ext/stem_UTF_8_german.h +6 -0
  142. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.c +1220 -0
  143. data/ext/isomorfeus_ferret_ext/stem_UTF_8_hungarian.h +6 -0
  144. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.c +1059 -0
  145. data/ext/isomorfeus_ferret_ext/stem_UTF_8_italian.h +6 -0
  146. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.c +285 -0
  147. data/ext/isomorfeus_ferret_ext/stem_UTF_8_norwegian.h +6 -0
  148. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.c +741 -0
  149. data/ext/isomorfeus_ferret_ext/stem_UTF_8_porter.h +6 -0
  150. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.c +1009 -0
  151. data/ext/isomorfeus_ferret_ext/stem_UTF_8_portuguese.h +6 -0
  152. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.c +990 -0
  153. data/ext/isomorfeus_ferret_ext/stem_UTF_8_romanian.h +6 -0
  154. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.c +680 -0
  155. data/ext/isomorfeus_ferret_ext/stem_UTF_8_russian.h +6 -0
  156. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.c +1083 -0
  157. data/ext/isomorfeus_ferret_ext/stem_UTF_8_spanish.h +6 -0
  158. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.c +294 -0
  159. data/ext/isomorfeus_ferret_ext/stem_UTF_8_swedish.h +6 -0
  160. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.c +2191 -0
  161. data/ext/isomorfeus_ferret_ext/stem_UTF_8_turkish.h +6 -0
  162. data/ext/isomorfeus_ferret_ext/stem_api.c +66 -0
  163. data/ext/isomorfeus_ferret_ext/stem_api.h +26 -0
  164. data/ext/isomorfeus_ferret_ext/stem_header.h +57 -0
  165. data/ext/isomorfeus_ferret_ext/stem_modules.h +190 -0
  166. data/ext/isomorfeus_ferret_ext/stem_modules.txt +50 -0
  167. data/ext/isomorfeus_ferret_ext/stem_utilities.c +478 -0
  168. data/ext/isomorfeus_ferret_ext/test.c +850 -0
  169. data/ext/isomorfeus_ferret_ext/test.h +416 -0
  170. data/ext/isomorfeus_ferret_ext/test_1710.c +63 -0
  171. data/ext/isomorfeus_ferret_ext/test_analysis.c +1221 -0
  172. data/ext/isomorfeus_ferret_ext/test_array.c +272 -0
  173. data/ext/isomorfeus_ferret_ext/test_bitvector.c +600 -0
  174. data/ext/isomorfeus_ferret_ext/test_compound_io.c +170 -0
  175. data/ext/isomorfeus_ferret_ext/test_document.c +156 -0
  176. data/ext/isomorfeus_ferret_ext/test_except.c +244 -0
  177. data/ext/isomorfeus_ferret_ext/test_fields.c +522 -0
  178. data/ext/isomorfeus_ferret_ext/test_file_deleter.c +185 -0
  179. data/ext/isomorfeus_ferret_ext/test_filter.c +331 -0
  180. data/ext/isomorfeus_ferret_ext/test_fs_store.c +25 -0
  181. data/ext/isomorfeus_ferret_ext/test_global.c +299 -0
  182. data/ext/isomorfeus_ferret_ext/test_hash.c +485 -0
  183. data/ext/isomorfeus_ferret_ext/test_hashset.c +288 -0
  184. data/ext/isomorfeus_ferret_ext/test_helper.c +47 -0
  185. data/ext/isomorfeus_ferret_ext/test_highlighter.c +548 -0
  186. data/ext/isomorfeus_ferret_ext/test_index.c +2323 -0
  187. data/ext/isomorfeus_ferret_ext/test_lang.c +74 -0
  188. data/ext/isomorfeus_ferret_ext/test_mempool.c +102 -0
  189. data/ext/isomorfeus_ferret_ext/test_multimapper.c +64 -0
  190. data/ext/isomorfeus_ferret_ext/test_priorityqueue.c +213 -0
  191. data/ext/isomorfeus_ferret_ext/test_q_const_score.c +84 -0
  192. data/ext/isomorfeus_ferret_ext/test_q_filtered.c +61 -0
  193. data/ext/isomorfeus_ferret_ext/test_q_fuzzy.c +241 -0
  194. data/ext/isomorfeus_ferret_ext/test_q_parser.c +464 -0
  195. data/ext/isomorfeus_ferret_ext/test_q_span.c +575 -0
  196. data/ext/isomorfeus_ferret_ext/test_ram_store.c +77 -0
  197. data/ext/isomorfeus_ferret_ext/test_search.c +1874 -0
  198. data/ext/isomorfeus_ferret_ext/test_segments.c +167 -0
  199. data/ext/isomorfeus_ferret_ext/test_similarity.c +25 -0
  200. data/ext/isomorfeus_ferret_ext/test_sort.c +333 -0
  201. data/ext/isomorfeus_ferret_ext/test_store.c +591 -0
  202. data/ext/isomorfeus_ferret_ext/test_store.h +3 -0
  203. data/ext/isomorfeus_ferret_ext/test_term.c +351 -0
  204. data/ext/isomorfeus_ferret_ext/test_term_vectors.c +373 -0
  205. data/ext/isomorfeus_ferret_ext/test_test.c +83 -0
  206. data/ext/isomorfeus_ferret_ext/test_threading.c +188 -0
  207. data/ext/isomorfeus_ferret_ext/testhelper.c +561 -0
  208. data/ext/isomorfeus_ferret_ext/testhelper.h +25 -0
  209. data/ext/isomorfeus_ferret_ext/tests_all.h +87 -0
  210. data/ext/isomorfeus_ferret_ext/uchar-ucs4.rl +1854 -0
  211. data/ext/isomorfeus_ferret_ext/uchar-utf8.rl +1999 -0
  212. data/ext/isomorfeus_ferret_ext/url.rl +27 -0
  213. data/ext/isomorfeus_ferret_ext/word_list.h +15156 -0
  214. data/lib/isomorfeus/ferret/document.rb +132 -0
  215. data/lib/isomorfeus/ferret/field_symbol.rb +85 -0
  216. data/lib/isomorfeus/ferret/index/field_infos.rb +48 -0
  217. data/lib/isomorfeus/ferret/index/index.rb +970 -0
  218. data/lib/isomorfeus/ferret/monitor.rb +323 -0
  219. data/lib/isomorfeus/ferret/stdlib_patches.rb +151 -0
  220. data/lib/isomorfeus/ferret/version.rb +5 -0
  221. data/lib/isomorfeus-ferret.rb +8 -0
  222. metadata +307 -0
@@ -0,0 +1,2191 @@
1
+ /* This file was generated automatically by the Snowball to ANSI C compiler */
2
+
3
+ #include "stem_header.h"
4
+
5
+ extern int turkish_UTF_8_stem(struct SN_env * z);
6
+
7
+ static int r_stem_suffix_chain_before_ki(struct SN_env * z);
8
+ static int r_stem_noun_suffixes(struct SN_env * z);
9
+ static int r_stem_nominal_verb_suffixes(struct SN_env * z);
10
+ static int r_postlude(struct SN_env * z);
11
+ static int r_post_process_last_consonants(struct SN_env * z);
12
+ static int r_more_than_one_syllable_word(struct SN_env * z);
13
+ static int r_mark_suffix_with_optional_s_consonant(struct SN_env * z);
14
+ static int r_mark_suffix_with_optional_n_consonant(struct SN_env * z);
15
+ static int r_mark_suffix_with_optional_U_vowel(struct SN_env * z);
16
+ static int r_mark_suffix_with_optional_y_consonant(struct SN_env * z);
17
+ static int r_mark_ysA(struct SN_env * z);
18
+ static int r_mark_ymUs_(struct SN_env * z);
19
+ static int r_mark_yken(struct SN_env * z);
20
+ static int r_mark_yDU(struct SN_env * z);
21
+ static int r_mark_yUz(struct SN_env * z);
22
+ static int r_mark_yUm(struct SN_env * z);
23
+ static int r_mark_yU(struct SN_env * z);
24
+ static int r_mark_ylA(struct SN_env * z);
25
+ static int r_mark_yA(struct SN_env * z);
26
+ static int r_mark_possessives(struct SN_env * z);
27
+ static int r_mark_sUnUz(struct SN_env * z);
28
+ static int r_mark_sUn(struct SN_env * z);
29
+ static int r_mark_sU(struct SN_env * z);
30
+ static int r_mark_nUz(struct SN_env * z);
31
+ static int r_mark_nUn(struct SN_env * z);
32
+ static int r_mark_nU(struct SN_env * z);
33
+ static int r_mark_ndAn(struct SN_env * z);
34
+ static int r_mark_ndA(struct SN_env * z);
35
+ static int r_mark_ncA(struct SN_env * z);
36
+ static int r_mark_nA(struct SN_env * z);
37
+ static int r_mark_lArI(struct SN_env * z);
38
+ static int r_mark_lAr(struct SN_env * z);
39
+ static int r_mark_ki(struct SN_env * z);
40
+ static int r_mark_DUr(struct SN_env * z);
41
+ static int r_mark_DAn(struct SN_env * z);
42
+ static int r_mark_DA(struct SN_env * z);
43
+ static int r_mark_cAsInA(struct SN_env * z);
44
+ static int r_is_reserved_word(struct SN_env * z);
45
+ static int r_check_vowel_harmony(struct SN_env * z);
46
+ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z);
47
+
48
+ extern struct SN_env * turkish_UTF_8_create_env(void);
49
+ extern void turkish_UTF_8_close_env(struct SN_env * z);
50
+
51
+ static const symbol s_0_0[1] = { 'm' };
52
+ static const symbol s_0_1[1] = { 'n' };
53
+ static const symbol s_0_2[3] = { 'm', 'i', 'z' };
54
+ static const symbol s_0_3[3] = { 'n', 'i', 'z' };
55
+ static const symbol s_0_4[3] = { 'm', 'u', 'z' };
56
+ static const symbol s_0_5[3] = { 'n', 'u', 'z' };
57
+ static const symbol s_0_6[4] = { 'm', 0xC4, 0xB1, 'z' };
58
+ static const symbol s_0_7[4] = { 'n', 0xC4, 0xB1, 'z' };
59
+ static const symbol s_0_8[4] = { 'm', 0xC3, 0xBC, 'z' };
60
+ static const symbol s_0_9[4] = { 'n', 0xC3, 0xBC, 'z' };
61
+
62
+ static const struct among a_0[10] =
63
+ {
64
+ /* 0 */ { 1, s_0_0, -1, -1, 0},
65
+ /* 1 */ { 1, s_0_1, -1, -1, 0},
66
+ /* 2 */ { 3, s_0_2, -1, -1, 0},
67
+ /* 3 */ { 3, s_0_3, -1, -1, 0},
68
+ /* 4 */ { 3, s_0_4, -1, -1, 0},
69
+ /* 5 */ { 3, s_0_5, -1, -1, 0},
70
+ /* 6 */ { 4, s_0_6, -1, -1, 0},
71
+ /* 7 */ { 4, s_0_7, -1, -1, 0},
72
+ /* 8 */ { 4, s_0_8, -1, -1, 0},
73
+ /* 9 */ { 4, s_0_9, -1, -1, 0}
74
+ };
75
+
76
+ static const symbol s_1_0[4] = { 'l', 'e', 'r', 'i' };
77
+ static const symbol s_1_1[5] = { 'l', 'a', 'r', 0xC4, 0xB1 };
78
+
79
+ static const struct among a_1[2] =
80
+ {
81
+ /* 0 */ { 4, s_1_0, -1, -1, 0},
82
+ /* 1 */ { 5, s_1_1, -1, -1, 0}
83
+ };
84
+
85
+ static const symbol s_2_0[2] = { 'n', 'i' };
86
+ static const symbol s_2_1[2] = { 'n', 'u' };
87
+ static const symbol s_2_2[3] = { 'n', 0xC4, 0xB1 };
88
+ static const symbol s_2_3[3] = { 'n', 0xC3, 0xBC };
89
+
90
+ static const struct among a_2[4] =
91
+ {
92
+ /* 0 */ { 2, s_2_0, -1, -1, 0},
93
+ /* 1 */ { 2, s_2_1, -1, -1, 0},
94
+ /* 2 */ { 3, s_2_2, -1, -1, 0},
95
+ /* 3 */ { 3, s_2_3, -1, -1, 0}
96
+ };
97
+
98
+ static const symbol s_3_0[2] = { 'i', 'n' };
99
+ static const symbol s_3_1[2] = { 'u', 'n' };
100
+ static const symbol s_3_2[3] = { 0xC4, 0xB1, 'n' };
101
+ static const symbol s_3_3[3] = { 0xC3, 0xBC, 'n' };
102
+
103
+ static const struct among a_3[4] =
104
+ {
105
+ /* 0 */ { 2, s_3_0, -1, -1, 0},
106
+ /* 1 */ { 2, s_3_1, -1, -1, 0},
107
+ /* 2 */ { 3, s_3_2, -1, -1, 0},
108
+ /* 3 */ { 3, s_3_3, -1, -1, 0}
109
+ };
110
+
111
+ static const symbol s_4_0[1] = { 'a' };
112
+ static const symbol s_4_1[1] = { 'e' };
113
+
114
+ static const struct among a_4[2] =
115
+ {
116
+ /* 0 */ { 1, s_4_0, -1, -1, 0},
117
+ /* 1 */ { 1, s_4_1, -1, -1, 0}
118
+ };
119
+
120
+ static const symbol s_5_0[2] = { 'n', 'a' };
121
+ static const symbol s_5_1[2] = { 'n', 'e' };
122
+
123
+ static const struct among a_5[2] =
124
+ {
125
+ /* 0 */ { 2, s_5_0, -1, -1, 0},
126
+ /* 1 */ { 2, s_5_1, -1, -1, 0}
127
+ };
128
+
129
+ static const symbol s_6_0[2] = { 'd', 'a' };
130
+ static const symbol s_6_1[2] = { 't', 'a' };
131
+ static const symbol s_6_2[2] = { 'd', 'e' };
132
+ static const symbol s_6_3[2] = { 't', 'e' };
133
+
134
+ static const struct among a_6[4] =
135
+ {
136
+ /* 0 */ { 2, s_6_0, -1, -1, 0},
137
+ /* 1 */ { 2, s_6_1, -1, -1, 0},
138
+ /* 2 */ { 2, s_6_2, -1, -1, 0},
139
+ /* 3 */ { 2, s_6_3, -1, -1, 0}
140
+ };
141
+
142
+ static const symbol s_7_0[3] = { 'n', 'd', 'a' };
143
+ static const symbol s_7_1[3] = { 'n', 'd', 'e' };
144
+
145
+ static const struct among a_7[2] =
146
+ {
147
+ /* 0 */ { 3, s_7_0, -1, -1, 0},
148
+ /* 1 */ { 3, s_7_1, -1, -1, 0}
149
+ };
150
+
151
+ static const symbol s_8_0[3] = { 'd', 'a', 'n' };
152
+ static const symbol s_8_1[3] = { 't', 'a', 'n' };
153
+ static const symbol s_8_2[3] = { 'd', 'e', 'n' };
154
+ static const symbol s_8_3[3] = { 't', 'e', 'n' };
155
+
156
+ static const struct among a_8[4] =
157
+ {
158
+ /* 0 */ { 3, s_8_0, -1, -1, 0},
159
+ /* 1 */ { 3, s_8_1, -1, -1, 0},
160
+ /* 2 */ { 3, s_8_2, -1, -1, 0},
161
+ /* 3 */ { 3, s_8_3, -1, -1, 0}
162
+ };
163
+
164
+ static const symbol s_9_0[4] = { 'n', 'd', 'a', 'n' };
165
+ static const symbol s_9_1[4] = { 'n', 'd', 'e', 'n' };
166
+
167
+ static const struct among a_9[2] =
168
+ {
169
+ /* 0 */ { 4, s_9_0, -1, -1, 0},
170
+ /* 1 */ { 4, s_9_1, -1, -1, 0}
171
+ };
172
+
173
+ static const symbol s_10_0[2] = { 'l', 'a' };
174
+ static const symbol s_10_1[2] = { 'l', 'e' };
175
+
176
+ static const struct among a_10[2] =
177
+ {
178
+ /* 0 */ { 2, s_10_0, -1, -1, 0},
179
+ /* 1 */ { 2, s_10_1, -1, -1, 0}
180
+ };
181
+
182
+ static const symbol s_11_0[2] = { 'c', 'a' };
183
+ static const symbol s_11_1[2] = { 'c', 'e' };
184
+
185
+ static const struct among a_11[2] =
186
+ {
187
+ /* 0 */ { 2, s_11_0, -1, -1, 0},
188
+ /* 1 */ { 2, s_11_1, -1, -1, 0}
189
+ };
190
+
191
+ static const symbol s_12_0[2] = { 'i', 'm' };
192
+ static const symbol s_12_1[2] = { 'u', 'm' };
193
+ static const symbol s_12_2[3] = { 0xC4, 0xB1, 'm' };
194
+ static const symbol s_12_3[3] = { 0xC3, 0xBC, 'm' };
195
+
196
+ static const struct among a_12[4] =
197
+ {
198
+ /* 0 */ { 2, s_12_0, -1, -1, 0},
199
+ /* 1 */ { 2, s_12_1, -1, -1, 0},
200
+ /* 2 */ { 3, s_12_2, -1, -1, 0},
201
+ /* 3 */ { 3, s_12_3, -1, -1, 0}
202
+ };
203
+
204
+ static const symbol s_13_0[3] = { 's', 'i', 'n' };
205
+ static const symbol s_13_1[3] = { 's', 'u', 'n' };
206
+ static const symbol s_13_2[4] = { 's', 0xC4, 0xB1, 'n' };
207
+ static const symbol s_13_3[4] = { 's', 0xC3, 0xBC, 'n' };
208
+
209
+ static const struct among a_13[4] =
210
+ {
211
+ /* 0 */ { 3, s_13_0, -1, -1, 0},
212
+ /* 1 */ { 3, s_13_1, -1, -1, 0},
213
+ /* 2 */ { 4, s_13_2, -1, -1, 0},
214
+ /* 3 */ { 4, s_13_3, -1, -1, 0}
215
+ };
216
+
217
+ static const symbol s_14_0[2] = { 'i', 'z' };
218
+ static const symbol s_14_1[2] = { 'u', 'z' };
219
+ static const symbol s_14_2[3] = { 0xC4, 0xB1, 'z' };
220
+ static const symbol s_14_3[3] = { 0xC3, 0xBC, 'z' };
221
+
222
+ static const struct among a_14[4] =
223
+ {
224
+ /* 0 */ { 2, s_14_0, -1, -1, 0},
225
+ /* 1 */ { 2, s_14_1, -1, -1, 0},
226
+ /* 2 */ { 3, s_14_2, -1, -1, 0},
227
+ /* 3 */ { 3, s_14_3, -1, -1, 0}
228
+ };
229
+
230
+ static const symbol s_15_0[5] = { 's', 'i', 'n', 'i', 'z' };
231
+ static const symbol s_15_1[5] = { 's', 'u', 'n', 'u', 'z' };
232
+ static const symbol s_15_2[7] = { 's', 0xC4, 0xB1, 'n', 0xC4, 0xB1, 'z' };
233
+ static const symbol s_15_3[7] = { 's', 0xC3, 0xBC, 'n', 0xC3, 0xBC, 'z' };
234
+
235
+ static const struct among a_15[4] =
236
+ {
237
+ /* 0 */ { 5, s_15_0, -1, -1, 0},
238
+ /* 1 */ { 5, s_15_1, -1, -1, 0},
239
+ /* 2 */ { 7, s_15_2, -1, -1, 0},
240
+ /* 3 */ { 7, s_15_3, -1, -1, 0}
241
+ };
242
+
243
+ static const symbol s_16_0[3] = { 'l', 'a', 'r' };
244
+ static const symbol s_16_1[3] = { 'l', 'e', 'r' };
245
+
246
+ static const struct among a_16[2] =
247
+ {
248
+ /* 0 */ { 3, s_16_0, -1, -1, 0},
249
+ /* 1 */ { 3, s_16_1, -1, -1, 0}
250
+ };
251
+
252
+ static const symbol s_17_0[3] = { 'n', 'i', 'z' };
253
+ static const symbol s_17_1[3] = { 'n', 'u', 'z' };
254
+ static const symbol s_17_2[4] = { 'n', 0xC4, 0xB1, 'z' };
255
+ static const symbol s_17_3[4] = { 'n', 0xC3, 0xBC, 'z' };
256
+
257
+ static const struct among a_17[4] =
258
+ {
259
+ /* 0 */ { 3, s_17_0, -1, -1, 0},
260
+ /* 1 */ { 3, s_17_1, -1, -1, 0},
261
+ /* 2 */ { 4, s_17_2, -1, -1, 0},
262
+ /* 3 */ { 4, s_17_3, -1, -1, 0}
263
+ };
264
+
265
+ static const symbol s_18_0[3] = { 'd', 'i', 'r' };
266
+ static const symbol s_18_1[3] = { 't', 'i', 'r' };
267
+ static const symbol s_18_2[3] = { 'd', 'u', 'r' };
268
+ static const symbol s_18_3[3] = { 't', 'u', 'r' };
269
+ static const symbol s_18_4[4] = { 'd', 0xC4, 0xB1, 'r' };
270
+ static const symbol s_18_5[4] = { 't', 0xC4, 0xB1, 'r' };
271
+ static const symbol s_18_6[4] = { 'd', 0xC3, 0xBC, 'r' };
272
+ static const symbol s_18_7[4] = { 't', 0xC3, 0xBC, 'r' };
273
+
274
+ static const struct among a_18[8] =
275
+ {
276
+ /* 0 */ { 3, s_18_0, -1, -1, 0},
277
+ /* 1 */ { 3, s_18_1, -1, -1, 0},
278
+ /* 2 */ { 3, s_18_2, -1, -1, 0},
279
+ /* 3 */ { 3, s_18_3, -1, -1, 0},
280
+ /* 4 */ { 4, s_18_4, -1, -1, 0},
281
+ /* 5 */ { 4, s_18_5, -1, -1, 0},
282
+ /* 6 */ { 4, s_18_6, -1, -1, 0},
283
+ /* 7 */ { 4, s_18_7, -1, -1, 0}
284
+ };
285
+
286
+ static const symbol s_19_0[7] = { 'c', 'a', 's', 0xC4, 0xB1, 'n', 'a' };
287
+ static const symbol s_19_1[6] = { 'c', 'e', 's', 'i', 'n', 'e' };
288
+
289
+ static const struct among a_19[2] =
290
+ {
291
+ /* 0 */ { 7, s_19_0, -1, -1, 0},
292
+ /* 1 */ { 6, s_19_1, -1, -1, 0}
293
+ };
294
+
295
+ static const symbol s_20_0[2] = { 'd', 'i' };
296
+ static const symbol s_20_1[2] = { 't', 'i' };
297
+ static const symbol s_20_2[3] = { 'd', 'i', 'k' };
298
+ static const symbol s_20_3[3] = { 't', 'i', 'k' };
299
+ static const symbol s_20_4[3] = { 'd', 'u', 'k' };
300
+ static const symbol s_20_5[3] = { 't', 'u', 'k' };
301
+ static const symbol s_20_6[4] = { 'd', 0xC4, 0xB1, 'k' };
302
+ static const symbol s_20_7[4] = { 't', 0xC4, 0xB1, 'k' };
303
+ static const symbol s_20_8[4] = { 'd', 0xC3, 0xBC, 'k' };
304
+ static const symbol s_20_9[4] = { 't', 0xC3, 0xBC, 'k' };
305
+ static const symbol s_20_10[3] = { 'd', 'i', 'm' };
306
+ static const symbol s_20_11[3] = { 't', 'i', 'm' };
307
+ static const symbol s_20_12[3] = { 'd', 'u', 'm' };
308
+ static const symbol s_20_13[3] = { 't', 'u', 'm' };
309
+ static const symbol s_20_14[4] = { 'd', 0xC4, 0xB1, 'm' };
310
+ static const symbol s_20_15[4] = { 't', 0xC4, 0xB1, 'm' };
311
+ static const symbol s_20_16[4] = { 'd', 0xC3, 0xBC, 'm' };
312
+ static const symbol s_20_17[4] = { 't', 0xC3, 0xBC, 'm' };
313
+ static const symbol s_20_18[3] = { 'd', 'i', 'n' };
314
+ static const symbol s_20_19[3] = { 't', 'i', 'n' };
315
+ static const symbol s_20_20[3] = { 'd', 'u', 'n' };
316
+ static const symbol s_20_21[3] = { 't', 'u', 'n' };
317
+ static const symbol s_20_22[4] = { 'd', 0xC4, 0xB1, 'n' };
318
+ static const symbol s_20_23[4] = { 't', 0xC4, 0xB1, 'n' };
319
+ static const symbol s_20_24[4] = { 'd', 0xC3, 0xBC, 'n' };
320
+ static const symbol s_20_25[4] = { 't', 0xC3, 0xBC, 'n' };
321
+ static const symbol s_20_26[2] = { 'd', 'u' };
322
+ static const symbol s_20_27[2] = { 't', 'u' };
323
+ static const symbol s_20_28[3] = { 'd', 0xC4, 0xB1 };
324
+ static const symbol s_20_29[3] = { 't', 0xC4, 0xB1 };
325
+ static const symbol s_20_30[3] = { 'd', 0xC3, 0xBC };
326
+ static const symbol s_20_31[3] = { 't', 0xC3, 0xBC };
327
+
328
+ static const struct among a_20[32] =
329
+ {
330
+ /* 0 */ { 2, s_20_0, -1, -1, 0},
331
+ /* 1 */ { 2, s_20_1, -1, -1, 0},
332
+ /* 2 */ { 3, s_20_2, -1, -1, 0},
333
+ /* 3 */ { 3, s_20_3, -1, -1, 0},
334
+ /* 4 */ { 3, s_20_4, -1, -1, 0},
335
+ /* 5 */ { 3, s_20_5, -1, -1, 0},
336
+ /* 6 */ { 4, s_20_6, -1, -1, 0},
337
+ /* 7 */ { 4, s_20_7, -1, -1, 0},
338
+ /* 8 */ { 4, s_20_8, -1, -1, 0},
339
+ /* 9 */ { 4, s_20_9, -1, -1, 0},
340
+ /* 10 */ { 3, s_20_10, -1, -1, 0},
341
+ /* 11 */ { 3, s_20_11, -1, -1, 0},
342
+ /* 12 */ { 3, s_20_12, -1, -1, 0},
343
+ /* 13 */ { 3, s_20_13, -1, -1, 0},
344
+ /* 14 */ { 4, s_20_14, -1, -1, 0},
345
+ /* 15 */ { 4, s_20_15, -1, -1, 0},
346
+ /* 16 */ { 4, s_20_16, -1, -1, 0},
347
+ /* 17 */ { 4, s_20_17, -1, -1, 0},
348
+ /* 18 */ { 3, s_20_18, -1, -1, 0},
349
+ /* 19 */ { 3, s_20_19, -1, -1, 0},
350
+ /* 20 */ { 3, s_20_20, -1, -1, 0},
351
+ /* 21 */ { 3, s_20_21, -1, -1, 0},
352
+ /* 22 */ { 4, s_20_22, -1, -1, 0},
353
+ /* 23 */ { 4, s_20_23, -1, -1, 0},
354
+ /* 24 */ { 4, s_20_24, -1, -1, 0},
355
+ /* 25 */ { 4, s_20_25, -1, -1, 0},
356
+ /* 26 */ { 2, s_20_26, -1, -1, 0},
357
+ /* 27 */ { 2, s_20_27, -1, -1, 0},
358
+ /* 28 */ { 3, s_20_28, -1, -1, 0},
359
+ /* 29 */ { 3, s_20_29, -1, -1, 0},
360
+ /* 30 */ { 3, s_20_30, -1, -1, 0},
361
+ /* 31 */ { 3, s_20_31, -1, -1, 0}
362
+ };
363
+
364
+ static const symbol s_21_0[2] = { 's', 'a' };
365
+ static const symbol s_21_1[2] = { 's', 'e' };
366
+ static const symbol s_21_2[3] = { 's', 'a', 'k' };
367
+ static const symbol s_21_3[3] = { 's', 'e', 'k' };
368
+ static const symbol s_21_4[3] = { 's', 'a', 'm' };
369
+ static const symbol s_21_5[3] = { 's', 'e', 'm' };
370
+ static const symbol s_21_6[3] = { 's', 'a', 'n' };
371
+ static const symbol s_21_7[3] = { 's', 'e', 'n' };
372
+
373
+ static const struct among a_21[8] =
374
+ {
375
+ /* 0 */ { 2, s_21_0, -1, -1, 0},
376
+ /* 1 */ { 2, s_21_1, -1, -1, 0},
377
+ /* 2 */ { 3, s_21_2, -1, -1, 0},
378
+ /* 3 */ { 3, s_21_3, -1, -1, 0},
379
+ /* 4 */ { 3, s_21_4, -1, -1, 0},
380
+ /* 5 */ { 3, s_21_5, -1, -1, 0},
381
+ /* 6 */ { 3, s_21_6, -1, -1, 0},
382
+ /* 7 */ { 3, s_21_7, -1, -1, 0}
383
+ };
384
+
385
+ static const symbol s_22_0[4] = { 'm', 'i', 0xC5, 0x9F };
386
+ static const symbol s_22_1[4] = { 'm', 'u', 0xC5, 0x9F };
387
+ static const symbol s_22_2[5] = { 'm', 0xC4, 0xB1, 0xC5, 0x9F };
388
+ static const symbol s_22_3[5] = { 'm', 0xC3, 0xBC, 0xC5, 0x9F };
389
+
390
+ static const struct among a_22[4] =
391
+ {
392
+ /* 0 */ { 4, s_22_0, -1, -1, 0},
393
+ /* 1 */ { 4, s_22_1, -1, -1, 0},
394
+ /* 2 */ { 5, s_22_2, -1, -1, 0},
395
+ /* 3 */ { 5, s_22_3, -1, -1, 0}
396
+ };
397
+
398
+ static const symbol s_23_0[1] = { 'b' };
399
+ static const symbol s_23_1[1] = { 'c' };
400
+ static const symbol s_23_2[1] = { 'd' };
401
+ static const symbol s_23_3[2] = { 0xC4, 0x9F };
402
+
403
+ static const struct among a_23[4] =
404
+ {
405
+ /* 0 */ { 1, s_23_0, -1, 1, 0},
406
+ /* 1 */ { 1, s_23_1, -1, 2, 0},
407
+ /* 2 */ { 1, s_23_2, -1, 3, 0},
408
+ /* 3 */ { 2, s_23_3, -1, 4, 0}
409
+ };
410
+
411
+ static const unsigned char g_vowel[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32, 8, 0, 0, 0, 0, 0, 0, 1 };
412
+
413
+ static const unsigned char g_U[] = { 1, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1 };
414
+
415
+ static const unsigned char g_vowel1[] = { 1, 64, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
416
+
417
+ static const unsigned char g_vowel2[] = { 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130 };
418
+
419
+ static const unsigned char g_vowel3[] = { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 };
420
+
421
+ static const unsigned char g_vowel4[] = { 17 };
422
+
423
+ static const unsigned char g_vowel5[] = { 65 };
424
+
425
+ static const unsigned char g_vowel6[] = { 65 };
426
+
427
+ static const symbol s_0[] = { 'a' };
428
+ static const symbol s_1[] = { 'e' };
429
+ static const symbol s_2[] = { 0xC4, 0xB1 };
430
+ static const symbol s_3[] = { 'i' };
431
+ static const symbol s_4[] = { 'o' };
432
+ static const symbol s_5[] = { 0xC3, 0xB6 };
433
+ static const symbol s_6[] = { 'u' };
434
+ static const symbol s_7[] = { 0xC3, 0xBC };
435
+ static const symbol s_8[] = { 'n' };
436
+ static const symbol s_9[] = { 'n' };
437
+ static const symbol s_10[] = { 's' };
438
+ static const symbol s_11[] = { 's' };
439
+ static const symbol s_12[] = { 'y' };
440
+ static const symbol s_13[] = { 'y' };
441
+ static const symbol s_14[] = { 'k', 'i' };
442
+ static const symbol s_15[] = { 'k', 'e', 'n' };
443
+ static const symbol s_16[] = { 'p' };
444
+ static const symbol s_17[] = { 0xC3, 0xA7 };
445
+ static const symbol s_18[] = { 't' };
446
+ static const symbol s_19[] = { 'k' };
447
+ static const symbol s_20[] = { 'd' };
448
+ static const symbol s_21[] = { 'g' };
449
+ static const symbol s_22[] = { 'a' };
450
+ static const symbol s_23[] = { 0xC4, 0xB1 };
451
+ static const symbol s_24[] = { 0xC4, 0xB1 };
452
+ static const symbol s_25[] = { 'e' };
453
+ static const symbol s_26[] = { 'i' };
454
+ static const symbol s_27[] = { 'i' };
455
+ static const symbol s_28[] = { 'o' };
456
+ static const symbol s_29[] = { 'u' };
457
+ static const symbol s_30[] = { 'u' };
458
+ static const symbol s_31[] = { 0xC3, 0xB6 };
459
+ static const symbol s_32[] = { 0xC3, 0xBC };
460
+ static const symbol s_33[] = { 0xC3, 0xBC };
461
+ static const symbol s_34[] = { 'a', 'd' };
462
+ static const symbol s_35[] = { 's', 'o', 'y', 'a', 'd' };
463
+
464
+ static int r_check_vowel_harmony(struct SN_env * z) {
465
+ { int m_test = z->l - z->c; /* test, line 112 */
466
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) return 0; /* goto */ /* grouping vowel, line 114 */
467
+ { int m1 = z->l - z->c; (void)m1; /* or, line 116 */
468
+ if (!(eq_s_b(z, 1, s_0))) goto lab1;
469
+ if (out_grouping_b_U(z, g_vowel1, 97, 305, 1) < 0) goto lab1; /* goto */ /* grouping vowel1, line 116 */
470
+ goto lab0;
471
+ lab1:
472
+ z->c = z->l - m1;
473
+ if (!(eq_s_b(z, 1, s_1))) goto lab2;
474
+ if (out_grouping_b_U(z, g_vowel2, 101, 252, 1) < 0) goto lab2; /* goto */ /* grouping vowel2, line 117 */
475
+ goto lab0;
476
+ lab2:
477
+ z->c = z->l - m1;
478
+ if (!(eq_s_b(z, 2, s_2))) goto lab3;
479
+ if (out_grouping_b_U(z, g_vowel3, 97, 305, 1) < 0) goto lab3; /* goto */ /* grouping vowel3, line 118 */
480
+ goto lab0;
481
+ lab3:
482
+ z->c = z->l - m1;
483
+ if (!(eq_s_b(z, 1, s_3))) goto lab4;
484
+ if (out_grouping_b_U(z, g_vowel4, 101, 105, 1) < 0) goto lab4; /* goto */ /* grouping vowel4, line 119 */
485
+ goto lab0;
486
+ lab4:
487
+ z->c = z->l - m1;
488
+ if (!(eq_s_b(z, 1, s_4))) goto lab5;
489
+ if (out_grouping_b_U(z, g_vowel5, 111, 117, 1) < 0) goto lab5; /* goto */ /* grouping vowel5, line 120 */
490
+ goto lab0;
491
+ lab5:
492
+ z->c = z->l - m1;
493
+ if (!(eq_s_b(z, 2, s_5))) goto lab6;
494
+ if (out_grouping_b_U(z, g_vowel6, 246, 252, 1) < 0) goto lab6; /* goto */ /* grouping vowel6, line 121 */
495
+ goto lab0;
496
+ lab6:
497
+ z->c = z->l - m1;
498
+ if (!(eq_s_b(z, 1, s_6))) goto lab7;
499
+ if (out_grouping_b_U(z, g_vowel5, 111, 117, 1) < 0) goto lab7; /* goto */ /* grouping vowel5, line 122 */
500
+ goto lab0;
501
+ lab7:
502
+ z->c = z->l - m1;
503
+ if (!(eq_s_b(z, 2, s_7))) return 0;
504
+ if (out_grouping_b_U(z, g_vowel6, 246, 252, 1) < 0) return 0; /* goto */ /* grouping vowel6, line 123 */
505
+ }
506
+ lab0:
507
+ z->c = z->l - m_test;
508
+ }
509
+ return 1;
510
+ }
511
+
512
+ static int r_mark_suffix_with_optional_n_consonant(struct SN_env * z) {
513
+ { int m1 = z->l - z->c; (void)m1; /* or, line 134 */
514
+ { int m_test = z->l - z->c; /* test, line 133 */
515
+ if (!(eq_s_b(z, 1, s_8))) goto lab1;
516
+ z->c = z->l - m_test;
517
+ }
518
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
519
+ if (ret < 0) goto lab1;
520
+ z->c = ret; /* next, line 133 */
521
+ }
522
+ { int m_test = z->l - z->c; /* test, line 133 */
523
+ if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1;
524
+ z->c = z->l - m_test;
525
+ }
526
+ goto lab0;
527
+ lab1:
528
+ z->c = z->l - m1;
529
+ { int m2 = z->l - z->c; (void)m2; /* not, line 135 */
530
+ { int m_test = z->l - z->c; /* test, line 135 */
531
+ if (!(eq_s_b(z, 1, s_9))) goto lab2;
532
+ z->c = z->l - m_test;
533
+ }
534
+ return 0;
535
+ lab2:
536
+ z->c = z->l - m2;
537
+ }
538
+ { int m_test = z->l - z->c; /* test, line 135 */
539
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
540
+ if (ret < 0) return 0;
541
+ z->c = ret; /* next, line 135 */
542
+ }
543
+ { int m_test = z->l - z->c; /* test, line 135 */
544
+ if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0;
545
+ z->c = z->l - m_test;
546
+ }
547
+ z->c = z->l - m_test;
548
+ }
549
+ }
550
+ lab0:
551
+ return 1;
552
+ }
553
+
554
+ static int r_mark_suffix_with_optional_s_consonant(struct SN_env * z) {
555
+ { int m1 = z->l - z->c; (void)m1; /* or, line 145 */
556
+ { int m_test = z->l - z->c; /* test, line 144 */
557
+ if (!(eq_s_b(z, 1, s_10))) goto lab1;
558
+ z->c = z->l - m_test;
559
+ }
560
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
561
+ if (ret < 0) goto lab1;
562
+ z->c = ret; /* next, line 144 */
563
+ }
564
+ { int m_test = z->l - z->c; /* test, line 144 */
565
+ if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1;
566
+ z->c = z->l - m_test;
567
+ }
568
+ goto lab0;
569
+ lab1:
570
+ z->c = z->l - m1;
571
+ { int m2 = z->l - z->c; (void)m2; /* not, line 146 */
572
+ { int m_test = z->l - z->c; /* test, line 146 */
573
+ if (!(eq_s_b(z, 1, s_11))) goto lab2;
574
+ z->c = z->l - m_test;
575
+ }
576
+ return 0;
577
+ lab2:
578
+ z->c = z->l - m2;
579
+ }
580
+ { int m_test = z->l - z->c; /* test, line 146 */
581
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
582
+ if (ret < 0) return 0;
583
+ z->c = ret; /* next, line 146 */
584
+ }
585
+ { int m_test = z->l - z->c; /* test, line 146 */
586
+ if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0;
587
+ z->c = z->l - m_test;
588
+ }
589
+ z->c = z->l - m_test;
590
+ }
591
+ }
592
+ lab0:
593
+ return 1;
594
+ }
595
+
596
+ static int r_mark_suffix_with_optional_y_consonant(struct SN_env * z) {
597
+ { int m1 = z->l - z->c; (void)m1; /* or, line 155 */
598
+ { int m_test = z->l - z->c; /* test, line 154 */
599
+ if (!(eq_s_b(z, 1, s_12))) goto lab1;
600
+ z->c = z->l - m_test;
601
+ }
602
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
603
+ if (ret < 0) goto lab1;
604
+ z->c = ret; /* next, line 154 */
605
+ }
606
+ { int m_test = z->l - z->c; /* test, line 154 */
607
+ if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1;
608
+ z->c = z->l - m_test;
609
+ }
610
+ goto lab0;
611
+ lab1:
612
+ z->c = z->l - m1;
613
+ { int m2 = z->l - z->c; (void)m2; /* not, line 156 */
614
+ { int m_test = z->l - z->c; /* test, line 156 */
615
+ if (!(eq_s_b(z, 1, s_13))) goto lab2;
616
+ z->c = z->l - m_test;
617
+ }
618
+ return 0;
619
+ lab2:
620
+ z->c = z->l - m2;
621
+ }
622
+ { int m_test = z->l - z->c; /* test, line 156 */
623
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
624
+ if (ret < 0) return 0;
625
+ z->c = ret; /* next, line 156 */
626
+ }
627
+ { int m_test = z->l - z->c; /* test, line 156 */
628
+ if (in_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0;
629
+ z->c = z->l - m_test;
630
+ }
631
+ z->c = z->l - m_test;
632
+ }
633
+ }
634
+ lab0:
635
+ return 1;
636
+ }
637
+
638
+ static int r_mark_suffix_with_optional_U_vowel(struct SN_env * z) {
639
+ { int m1 = z->l - z->c; (void)m1; /* or, line 161 */
640
+ { int m_test = z->l - z->c; /* test, line 160 */
641
+ if (in_grouping_b_U(z, g_U, 105, 305, 0)) goto lab1;
642
+ z->c = z->l - m_test;
643
+ }
644
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
645
+ if (ret < 0) goto lab1;
646
+ z->c = ret; /* next, line 160 */
647
+ }
648
+ { int m_test = z->l - z->c; /* test, line 160 */
649
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 0)) goto lab1;
650
+ z->c = z->l - m_test;
651
+ }
652
+ goto lab0;
653
+ lab1:
654
+ z->c = z->l - m1;
655
+ { int m2 = z->l - z->c; (void)m2; /* not, line 162 */
656
+ { int m_test = z->l - z->c; /* test, line 162 */
657
+ if (in_grouping_b_U(z, g_U, 105, 305, 0)) goto lab2;
658
+ z->c = z->l - m_test;
659
+ }
660
+ return 0;
661
+ lab2:
662
+ z->c = z->l - m2;
663
+ }
664
+ { int m_test = z->l - z->c; /* test, line 162 */
665
+ { int ret = skip_utf8(z->p, z->c, z->lb, 0, -1);
666
+ if (ret < 0) return 0;
667
+ z->c = ret; /* next, line 162 */
668
+ }
669
+ { int m_test = z->l - z->c; /* test, line 162 */
670
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 0)) return 0;
671
+ z->c = z->l - m_test;
672
+ }
673
+ z->c = z->l - m_test;
674
+ }
675
+ }
676
+ lab0:
677
+ return 1;
678
+ }
679
+
680
+ static int r_mark_possessives(struct SN_env * z) {
681
+ if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((67133440 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
682
+ if (!(find_among_b(z, a_0, 10))) return 0; /* among, line 167 */
683
+ { int ret = r_mark_suffix_with_optional_U_vowel(z);
684
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_U_vowel, line 169 */
685
+ if (ret < 0) return ret;
686
+ }
687
+ return 1;
688
+ }
689
+
690
+ static int r_mark_sU(struct SN_env * z) {
691
+ { int ret = r_check_vowel_harmony(z);
692
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 173 */
693
+ if (ret < 0) return ret;
694
+ }
695
+ if (in_grouping_b_U(z, g_U, 105, 305, 0)) return 0;
696
+ { int ret = r_mark_suffix_with_optional_s_consonant(z);
697
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_s_consonant, line 175 */
698
+ if (ret < 0) return ret;
699
+ }
700
+ return 1;
701
+ }
702
+
703
+ static int r_mark_lArI(struct SN_env * z) {
704
+ if (z->c - 3 <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 177)) return 0;
705
+ if (!(find_among_b(z, a_1, 2))) return 0; /* among, line 179 */
706
+ return 1;
707
+ }
708
+
709
+ static int r_mark_yU(struct SN_env * z) {
710
+ { int ret = r_check_vowel_harmony(z);
711
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 183 */
712
+ if (ret < 0) return ret;
713
+ }
714
+ if (in_grouping_b_U(z, g_U, 105, 305, 0)) return 0;
715
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
716
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 185 */
717
+ if (ret < 0) return ret;
718
+ }
719
+ return 1;
720
+ }
721
+
722
+ static int r_mark_nU(struct SN_env * z) {
723
+ { int ret = r_check_vowel_harmony(z);
724
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 189 */
725
+ if (ret < 0) return ret;
726
+ }
727
+ if (!(find_among_b(z, a_2, 4))) return 0; /* among, line 190 */
728
+ return 1;
729
+ }
730
+
731
+ static int r_mark_nUn(struct SN_env * z) {
732
+ { int ret = r_check_vowel_harmony(z);
733
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 194 */
734
+ if (ret < 0) return ret;
735
+ }
736
+ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 110) return 0;
737
+ if (!(find_among_b(z, a_3, 4))) return 0; /* among, line 195 */
738
+ { int ret = r_mark_suffix_with_optional_n_consonant(z);
739
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_n_consonant, line 196 */
740
+ if (ret < 0) return ret;
741
+ }
742
+ return 1;
743
+ }
744
+
745
+ static int r_mark_yA(struct SN_env * z) {
746
+ { int ret = r_check_vowel_harmony(z);
747
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 200 */
748
+ if (ret < 0) return ret;
749
+ }
750
+ if (z->c <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
751
+ if (!(find_among_b(z, a_4, 2))) return 0; /* among, line 201 */
752
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
753
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 202 */
754
+ if (ret < 0) return ret;
755
+ }
756
+ return 1;
757
+ }
758
+
759
+ static int r_mark_nA(struct SN_env * z) {
760
+ { int ret = r_check_vowel_harmony(z);
761
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 206 */
762
+ if (ret < 0) return ret;
763
+ }
764
+ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
765
+ if (!(find_among_b(z, a_5, 2))) return 0; /* among, line 207 */
766
+ return 1;
767
+ }
768
+
769
+ static int r_mark_DA(struct SN_env * z) {
770
+ { int ret = r_check_vowel_harmony(z);
771
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 211 */
772
+ if (ret < 0) return ret;
773
+ }
774
+ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
775
+ if (!(find_among_b(z, a_6, 4))) return 0; /* among, line 212 */
776
+ return 1;
777
+ }
778
+
779
+ static int r_mark_ndA(struct SN_env * z) {
780
+ { int ret = r_check_vowel_harmony(z);
781
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 216 */
782
+ if (ret < 0) return ret;
783
+ }
784
+ if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
785
+ if (!(find_among_b(z, a_7, 2))) return 0; /* among, line 217 */
786
+ return 1;
787
+ }
788
+
789
+ static int r_mark_DAn(struct SN_env * z) {
790
+ { int ret = r_check_vowel_harmony(z);
791
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 221 */
792
+ if (ret < 0) return ret;
793
+ }
794
+ if (z->c - 2 <= z->lb || z->p[z->c - 1] != 110) return 0;
795
+ if (!(find_among_b(z, a_8, 4))) return 0; /* among, line 222 */
796
+ return 1;
797
+ }
798
+
799
+ static int r_mark_ndAn(struct SN_env * z) {
800
+ { int ret = r_check_vowel_harmony(z);
801
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 226 */
802
+ if (ret < 0) return ret;
803
+ }
804
+ if (z->c - 3 <= z->lb || z->p[z->c - 1] != 110) return 0;
805
+ if (!(find_among_b(z, a_9, 2))) return 0; /* among, line 227 */
806
+ return 1;
807
+ }
808
+
809
+ static int r_mark_ylA(struct SN_env * z) {
810
+ { int ret = r_check_vowel_harmony(z);
811
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 231 */
812
+ if (ret < 0) return ret;
813
+ }
814
+ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
815
+ if (!(find_among_b(z, a_10, 2))) return 0; /* among, line 232 */
816
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
817
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 233 */
818
+ if (ret < 0) return ret;
819
+ }
820
+ return 1;
821
+ }
822
+
823
+ static int r_mark_ki(struct SN_env * z) {
824
+ if (!(eq_s_b(z, 2, s_14))) return 0;
825
+ return 1;
826
+ }
827
+
828
+ static int r_mark_ncA(struct SN_env * z) {
829
+ { int ret = r_check_vowel_harmony(z);
830
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 241 */
831
+ if (ret < 0) return ret;
832
+ }
833
+ if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
834
+ if (!(find_among_b(z, a_11, 2))) return 0; /* among, line 242 */
835
+ { int ret = r_mark_suffix_with_optional_n_consonant(z);
836
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_n_consonant, line 243 */
837
+ if (ret < 0) return ret;
838
+ }
839
+ return 1;
840
+ }
841
+
842
+ static int r_mark_yUm(struct SN_env * z) {
843
+ { int ret = r_check_vowel_harmony(z);
844
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 247 */
845
+ if (ret < 0) return ret;
846
+ }
847
+ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 109) return 0;
848
+ if (!(find_among_b(z, a_12, 4))) return 0; /* among, line 248 */
849
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
850
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 249 */
851
+ if (ret < 0) return ret;
852
+ }
853
+ return 1;
854
+ }
855
+
856
+ static int r_mark_sUn(struct SN_env * z) {
857
+ { int ret = r_check_vowel_harmony(z);
858
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 253 */
859
+ if (ret < 0) return ret;
860
+ }
861
+ if (z->c - 2 <= z->lb || z->p[z->c - 1] != 110) return 0;
862
+ if (!(find_among_b(z, a_13, 4))) return 0; /* among, line 254 */
863
+ return 1;
864
+ }
865
+
866
+ static int r_mark_yUz(struct SN_env * z) {
867
+ { int ret = r_check_vowel_harmony(z);
868
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 258 */
869
+ if (ret < 0) return ret;
870
+ }
871
+ if (z->c - 1 <= z->lb || z->p[z->c - 1] != 122) return 0;
872
+ if (!(find_among_b(z, a_14, 4))) return 0; /* among, line 259 */
873
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
874
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 260 */
875
+ if (ret < 0) return ret;
876
+ }
877
+ return 1;
878
+ }
879
+
880
+ static int r_mark_sUnUz(struct SN_env * z) {
881
+ if (z->c - 4 <= z->lb || z->p[z->c - 1] != 122) return 0;
882
+ if (!(find_among_b(z, a_15, 4))) return 0; /* among, line 264 */
883
+ return 1;
884
+ }
885
+
886
+ static int r_mark_lAr(struct SN_env * z) {
887
+ { int ret = r_check_vowel_harmony(z);
888
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 268 */
889
+ if (ret < 0) return ret;
890
+ }
891
+ if (z->c - 2 <= z->lb || z->p[z->c - 1] != 114) return 0;
892
+ if (!(find_among_b(z, a_16, 2))) return 0; /* among, line 269 */
893
+ return 1;
894
+ }
895
+
896
+ static int r_mark_nUz(struct SN_env * z) {
897
+ { int ret = r_check_vowel_harmony(z);
898
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 273 */
899
+ if (ret < 0) return ret;
900
+ }
901
+ if (z->c - 2 <= z->lb || z->p[z->c - 1] != 122) return 0;
902
+ if (!(find_among_b(z, a_17, 4))) return 0; /* among, line 274 */
903
+ return 1;
904
+ }
905
+
906
+ static int r_mark_DUr(struct SN_env * z) {
907
+ { int ret = r_check_vowel_harmony(z);
908
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 278 */
909
+ if (ret < 0) return ret;
910
+ }
911
+ if (z->c - 2 <= z->lb || z->p[z->c - 1] != 114) return 0;
912
+ if (!(find_among_b(z, a_18, 8))) return 0; /* among, line 279 */
913
+ return 1;
914
+ }
915
+
916
+ static int r_mark_cAsInA(struct SN_env * z) {
917
+ if (z->c - 5 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 101)) return 0;
918
+ if (!(find_among_b(z, a_19, 2))) return 0; /* among, line 283 */
919
+ return 1;
920
+ }
921
+
922
+ static int r_mark_yDU(struct SN_env * z) {
923
+ { int ret = r_check_vowel_harmony(z);
924
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 287 */
925
+ if (ret < 0) return ret;
926
+ }
927
+ if (!(find_among_b(z, a_20, 32))) return 0; /* among, line 288 */
928
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
929
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 292 */
930
+ if (ret < 0) return ret;
931
+ }
932
+ return 1;
933
+ }
934
+
935
+ static int r_mark_ysA(struct SN_env * z) {
936
+ if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((26658 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
937
+ if (!(find_among_b(z, a_21, 8))) return 0; /* among, line 297 */
938
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
939
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 298 */
940
+ if (ret < 0) return ret;
941
+ }
942
+ return 1;
943
+ }
944
+
945
+ static int r_mark_ymUs_(struct SN_env * z) {
946
+ { int ret = r_check_vowel_harmony(z);
947
+ if (ret == 0) return 0; /* call check_vowel_harmony, line 302 */
948
+ if (ret < 0) return ret;
949
+ }
950
+ if (z->c - 3 <= z->lb || z->p[z->c - 1] != 159) return 0;
951
+ if (!(find_among_b(z, a_22, 4))) return 0; /* among, line 303 */
952
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
953
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 304 */
954
+ if (ret < 0) return ret;
955
+ }
956
+ return 1;
957
+ }
958
+
959
+ static int r_mark_yken(struct SN_env * z) {
960
+ if (!(eq_s_b(z, 3, s_15))) return 0;
961
+ { int ret = r_mark_suffix_with_optional_y_consonant(z);
962
+ if (ret == 0) return 0; /* call mark_suffix_with_optional_y_consonant, line 308 */
963
+ if (ret < 0) return ret;
964
+ }
965
+ return 1;
966
+ }
967
+
968
+ static int r_stem_nominal_verb_suffixes(struct SN_env * z) {
969
+ z->ket = z->c; /* [, line 312 */
970
+ z->B[0] = 1; /* set continue_stemming_noun_suffixes, line 313 */
971
+ { int m1 = z->l - z->c; (void)m1; /* or, line 315 */
972
+ { int m2 = z->l - z->c; (void)m2; /* or, line 314 */
973
+ { int ret = r_mark_ymUs_(z);
974
+ if (ret == 0) goto lab3; /* call mark_ymUs_, line 314 */
975
+ if (ret < 0) return ret;
976
+ }
977
+ goto lab2;
978
+ lab3:
979
+ z->c = z->l - m2;
980
+ { int ret = r_mark_yDU(z);
981
+ if (ret == 0) goto lab4; /* call mark_yDU, line 314 */
982
+ if (ret < 0) return ret;
983
+ }
984
+ goto lab2;
985
+ lab4:
986
+ z->c = z->l - m2;
987
+ { int ret = r_mark_ysA(z);
988
+ if (ret == 0) goto lab5; /* call mark_ysA, line 314 */
989
+ if (ret < 0) return ret;
990
+ }
991
+ goto lab2;
992
+ lab5:
993
+ z->c = z->l - m2;
994
+ { int ret = r_mark_yken(z);
995
+ if (ret == 0) goto lab1; /* call mark_yken, line 314 */
996
+ if (ret < 0) return ret;
997
+ }
998
+ }
999
+ lab2:
1000
+ goto lab0;
1001
+ lab1:
1002
+ z->c = z->l - m1;
1003
+ { int ret = r_mark_cAsInA(z);
1004
+ if (ret == 0) goto lab6; /* call mark_cAsInA, line 316 */
1005
+ if (ret < 0) return ret;
1006
+ }
1007
+ { int m3 = z->l - z->c; (void)m3; /* or, line 316 */
1008
+ { int ret = r_mark_sUnUz(z);
1009
+ if (ret == 0) goto lab8; /* call mark_sUnUz, line 316 */
1010
+ if (ret < 0) return ret;
1011
+ }
1012
+ goto lab7;
1013
+ lab8:
1014
+ z->c = z->l - m3;
1015
+ { int ret = r_mark_lAr(z);
1016
+ if (ret == 0) goto lab9; /* call mark_lAr, line 316 */
1017
+ if (ret < 0) return ret;
1018
+ }
1019
+ goto lab7;
1020
+ lab9:
1021
+ z->c = z->l - m3;
1022
+ { int ret = r_mark_yUm(z);
1023
+ if (ret == 0) goto lab10; /* call mark_yUm, line 316 */
1024
+ if (ret < 0) return ret;
1025
+ }
1026
+ goto lab7;
1027
+ lab10:
1028
+ z->c = z->l - m3;
1029
+ { int ret = r_mark_sUn(z);
1030
+ if (ret == 0) goto lab11; /* call mark_sUn, line 316 */
1031
+ if (ret < 0) return ret;
1032
+ }
1033
+ goto lab7;
1034
+ lab11:
1035
+ z->c = z->l - m3;
1036
+ { int ret = r_mark_yUz(z);
1037
+ if (ret == 0) goto lab12; /* call mark_yUz, line 316 */
1038
+ if (ret < 0) return ret;
1039
+ }
1040
+ goto lab7;
1041
+ lab12:
1042
+ z->c = z->l - m3;
1043
+ }
1044
+ lab7:
1045
+ { int ret = r_mark_ymUs_(z);
1046
+ if (ret == 0) goto lab6; /* call mark_ymUs_, line 316 */
1047
+ if (ret < 0) return ret;
1048
+ }
1049
+ goto lab0;
1050
+ lab6:
1051
+ z->c = z->l - m1;
1052
+ { int ret = r_mark_lAr(z);
1053
+ if (ret == 0) goto lab13; /* call mark_lAr, line 319 */
1054
+ if (ret < 0) return ret;
1055
+ }
1056
+ z->bra = z->c; /* ], line 319 */
1057
+ { int ret = slice_del(z); /* delete, line 319 */
1058
+ if (ret < 0) return ret;
1059
+ }
1060
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 319 */
1061
+ z->ket = z->c; /* [, line 319 */
1062
+ { int m4 = z->l - z->c; (void)m4; /* or, line 319 */
1063
+ { int ret = r_mark_DUr(z);
1064
+ if (ret == 0) goto lab16; /* call mark_DUr, line 319 */
1065
+ if (ret < 0) return ret;
1066
+ }
1067
+ goto lab15;
1068
+ lab16:
1069
+ z->c = z->l - m4;
1070
+ { int ret = r_mark_yDU(z);
1071
+ if (ret == 0) goto lab17; /* call mark_yDU, line 319 */
1072
+ if (ret < 0) return ret;
1073
+ }
1074
+ goto lab15;
1075
+ lab17:
1076
+ z->c = z->l - m4;
1077
+ { int ret = r_mark_ysA(z);
1078
+ if (ret == 0) goto lab18; /* call mark_ysA, line 319 */
1079
+ if (ret < 0) return ret;
1080
+ }
1081
+ goto lab15;
1082
+ lab18:
1083
+ z->c = z->l - m4;
1084
+ { int ret = r_mark_ymUs_(z);
1085
+ if (ret == 0) { z->c = z->l - m_keep; goto lab14; } /* call mark_ymUs_, line 319 */
1086
+ if (ret < 0) return ret;
1087
+ }
1088
+ }
1089
+ lab15:
1090
+ lab14:
1091
+ ;
1092
+ }
1093
+ z->B[0] = 0; /* unset continue_stemming_noun_suffixes, line 320 */
1094
+ goto lab0;
1095
+ lab13:
1096
+ z->c = z->l - m1;
1097
+ { int ret = r_mark_nUz(z);
1098
+ if (ret == 0) goto lab19; /* call mark_nUz, line 323 */
1099
+ if (ret < 0) return ret;
1100
+ }
1101
+ { int m5 = z->l - z->c; (void)m5; /* or, line 323 */
1102
+ { int ret = r_mark_yDU(z);
1103
+ if (ret == 0) goto lab21; /* call mark_yDU, line 323 */
1104
+ if (ret < 0) return ret;
1105
+ }
1106
+ goto lab20;
1107
+ lab21:
1108
+ z->c = z->l - m5;
1109
+ { int ret = r_mark_ysA(z);
1110
+ if (ret == 0) goto lab19; /* call mark_ysA, line 323 */
1111
+ if (ret < 0) return ret;
1112
+ }
1113
+ }
1114
+ lab20:
1115
+ goto lab0;
1116
+ lab19:
1117
+ z->c = z->l - m1;
1118
+ { int m6 = z->l - z->c; (void)m6; /* or, line 325 */
1119
+ { int ret = r_mark_sUnUz(z);
1120
+ if (ret == 0) goto lab24; /* call mark_sUnUz, line 325 */
1121
+ if (ret < 0) return ret;
1122
+ }
1123
+ goto lab23;
1124
+ lab24:
1125
+ z->c = z->l - m6;
1126
+ { int ret = r_mark_yUz(z);
1127
+ if (ret == 0) goto lab25; /* call mark_yUz, line 325 */
1128
+ if (ret < 0) return ret;
1129
+ }
1130
+ goto lab23;
1131
+ lab25:
1132
+ z->c = z->l - m6;
1133
+ { int ret = r_mark_sUn(z);
1134
+ if (ret == 0) goto lab26; /* call mark_sUn, line 325 */
1135
+ if (ret < 0) return ret;
1136
+ }
1137
+ goto lab23;
1138
+ lab26:
1139
+ z->c = z->l - m6;
1140
+ { int ret = r_mark_yUm(z);
1141
+ if (ret == 0) goto lab22; /* call mark_yUm, line 325 */
1142
+ if (ret < 0) return ret;
1143
+ }
1144
+ }
1145
+ lab23:
1146
+ z->bra = z->c; /* ], line 325 */
1147
+ { int ret = slice_del(z); /* delete, line 325 */
1148
+ if (ret < 0) return ret;
1149
+ }
1150
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 325 */
1151
+ z->ket = z->c; /* [, line 325 */
1152
+ { int ret = r_mark_ymUs_(z);
1153
+ if (ret == 0) { z->c = z->l - m_keep; goto lab27; } /* call mark_ymUs_, line 325 */
1154
+ if (ret < 0) return ret;
1155
+ }
1156
+ lab27:
1157
+ ;
1158
+ }
1159
+ goto lab0;
1160
+ lab22:
1161
+ z->c = z->l - m1;
1162
+ { int ret = r_mark_DUr(z);
1163
+ if (ret == 0) return 0; /* call mark_DUr, line 327 */
1164
+ if (ret < 0) return ret;
1165
+ }
1166
+ z->bra = z->c; /* ], line 327 */
1167
+ { int ret = slice_del(z); /* delete, line 327 */
1168
+ if (ret < 0) return ret;
1169
+ }
1170
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 327 */
1171
+ z->ket = z->c; /* [, line 327 */
1172
+ { int m7 = z->l - z->c; (void)m7; /* or, line 327 */
1173
+ { int ret = r_mark_sUnUz(z);
1174
+ if (ret == 0) goto lab30; /* call mark_sUnUz, line 327 */
1175
+ if (ret < 0) return ret;
1176
+ }
1177
+ goto lab29;
1178
+ lab30:
1179
+ z->c = z->l - m7;
1180
+ { int ret = r_mark_lAr(z);
1181
+ if (ret == 0) goto lab31; /* call mark_lAr, line 327 */
1182
+ if (ret < 0) return ret;
1183
+ }
1184
+ goto lab29;
1185
+ lab31:
1186
+ z->c = z->l - m7;
1187
+ { int ret = r_mark_yUm(z);
1188
+ if (ret == 0) goto lab32; /* call mark_yUm, line 327 */
1189
+ if (ret < 0) return ret;
1190
+ }
1191
+ goto lab29;
1192
+ lab32:
1193
+ z->c = z->l - m7;
1194
+ { int ret = r_mark_sUn(z);
1195
+ if (ret == 0) goto lab33; /* call mark_sUn, line 327 */
1196
+ if (ret < 0) return ret;
1197
+ }
1198
+ goto lab29;
1199
+ lab33:
1200
+ z->c = z->l - m7;
1201
+ { int ret = r_mark_yUz(z);
1202
+ if (ret == 0) goto lab34; /* call mark_yUz, line 327 */
1203
+ if (ret < 0) return ret;
1204
+ }
1205
+ goto lab29;
1206
+ lab34:
1207
+ z->c = z->l - m7;
1208
+ }
1209
+ lab29:
1210
+ { int ret = r_mark_ymUs_(z);
1211
+ if (ret == 0) { z->c = z->l - m_keep; goto lab28; } /* call mark_ymUs_, line 327 */
1212
+ if (ret < 0) return ret;
1213
+ }
1214
+ lab28:
1215
+ ;
1216
+ }
1217
+ }
1218
+ lab0:
1219
+ z->bra = z->c; /* ], line 328 */
1220
+ { int ret = slice_del(z); /* delete, line 328 */
1221
+ if (ret < 0) return ret;
1222
+ }
1223
+ return 1;
1224
+ }
1225
+
1226
+ static int r_stem_suffix_chain_before_ki(struct SN_env * z) {
1227
+ z->ket = z->c; /* [, line 333 */
1228
+ { int ret = r_mark_ki(z);
1229
+ if (ret == 0) return 0; /* call mark_ki, line 334 */
1230
+ if (ret < 0) return ret;
1231
+ }
1232
+ { int m1 = z->l - z->c; (void)m1; /* or, line 342 */
1233
+ { int ret = r_mark_DA(z);
1234
+ if (ret == 0) goto lab1; /* call mark_DA, line 336 */
1235
+ if (ret < 0) return ret;
1236
+ }
1237
+ z->bra = z->c; /* ], line 336 */
1238
+ { int ret = slice_del(z); /* delete, line 336 */
1239
+ if (ret < 0) return ret;
1240
+ }
1241
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 336 */
1242
+ z->ket = z->c; /* [, line 336 */
1243
+ { int m2 = z->l - z->c; (void)m2; /* or, line 338 */
1244
+ { int ret = r_mark_lAr(z);
1245
+ if (ret == 0) goto lab4; /* call mark_lAr, line 337 */
1246
+ if (ret < 0) return ret;
1247
+ }
1248
+ z->bra = z->c; /* ], line 337 */
1249
+ { int ret = slice_del(z); /* delete, line 337 */
1250
+ if (ret < 0) return ret;
1251
+ }
1252
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 337 */
1253
+ { int ret = r_stem_suffix_chain_before_ki(z);
1254
+ if (ret == 0) { z->c = z->l - m_keep; goto lab5; } /* call stem_suffix_chain_before_ki, line 337 */
1255
+ if (ret < 0) return ret;
1256
+ }
1257
+ lab5:
1258
+ ;
1259
+ }
1260
+ goto lab3;
1261
+ lab4:
1262
+ z->c = z->l - m2;
1263
+ { int ret = r_mark_possessives(z);
1264
+ if (ret == 0) { z->c = z->l - m_keep; goto lab2; } /* call mark_possessives, line 339 */
1265
+ if (ret < 0) return ret;
1266
+ }
1267
+ z->bra = z->c; /* ], line 339 */
1268
+ { int ret = slice_del(z); /* delete, line 339 */
1269
+ if (ret < 0) return ret;
1270
+ }
1271
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 339 */
1272
+ z->ket = z->c; /* [, line 339 */
1273
+ { int ret = r_mark_lAr(z);
1274
+ if (ret == 0) { z->c = z->l - m_keep; goto lab6; } /* call mark_lAr, line 339 */
1275
+ if (ret < 0) return ret;
1276
+ }
1277
+ z->bra = z->c; /* ], line 339 */
1278
+ { int ret = slice_del(z); /* delete, line 339 */
1279
+ if (ret < 0) return ret;
1280
+ }
1281
+ { int ret = r_stem_suffix_chain_before_ki(z);
1282
+ if (ret == 0) { z->c = z->l - m_keep; goto lab6; } /* call stem_suffix_chain_before_ki, line 339 */
1283
+ if (ret < 0) return ret;
1284
+ }
1285
+ lab6:
1286
+ ;
1287
+ }
1288
+ }
1289
+ lab3:
1290
+ lab2:
1291
+ ;
1292
+ }
1293
+ goto lab0;
1294
+ lab1:
1295
+ z->c = z->l - m1;
1296
+ { int ret = r_mark_nUn(z);
1297
+ if (ret == 0) goto lab7; /* call mark_nUn, line 343 */
1298
+ if (ret < 0) return ret;
1299
+ }
1300
+ z->bra = z->c; /* ], line 343 */
1301
+ { int ret = slice_del(z); /* delete, line 343 */
1302
+ if (ret < 0) return ret;
1303
+ }
1304
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 343 */
1305
+ z->ket = z->c; /* [, line 343 */
1306
+ { int m3 = z->l - z->c; (void)m3; /* or, line 345 */
1307
+ { int ret = r_mark_lArI(z);
1308
+ if (ret == 0) goto lab10; /* call mark_lArI, line 344 */
1309
+ if (ret < 0) return ret;
1310
+ }
1311
+ z->bra = z->c; /* ], line 344 */
1312
+ { int ret = slice_del(z); /* delete, line 344 */
1313
+ if (ret < 0) return ret;
1314
+ }
1315
+ goto lab9;
1316
+ lab10:
1317
+ z->c = z->l - m3;
1318
+ z->ket = z->c; /* [, line 346 */
1319
+ { int m4 = z->l - z->c; (void)m4; /* or, line 346 */
1320
+ { int ret = r_mark_possessives(z);
1321
+ if (ret == 0) goto lab13; /* call mark_possessives, line 346 */
1322
+ if (ret < 0) return ret;
1323
+ }
1324
+ goto lab12;
1325
+ lab13:
1326
+ z->c = z->l - m4;
1327
+ { int ret = r_mark_sU(z);
1328
+ if (ret == 0) goto lab11; /* call mark_sU, line 346 */
1329
+ if (ret < 0) return ret;
1330
+ }
1331
+ }
1332
+ lab12:
1333
+ z->bra = z->c; /* ], line 346 */
1334
+ { int ret = slice_del(z); /* delete, line 346 */
1335
+ if (ret < 0) return ret;
1336
+ }
1337
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 346 */
1338
+ z->ket = z->c; /* [, line 346 */
1339
+ { int ret = r_mark_lAr(z);
1340
+ if (ret == 0) { z->c = z->l - m_keep; goto lab14; } /* call mark_lAr, line 346 */
1341
+ if (ret < 0) return ret;
1342
+ }
1343
+ z->bra = z->c; /* ], line 346 */
1344
+ { int ret = slice_del(z); /* delete, line 346 */
1345
+ if (ret < 0) return ret;
1346
+ }
1347
+ { int ret = r_stem_suffix_chain_before_ki(z);
1348
+ if (ret == 0) { z->c = z->l - m_keep; goto lab14; } /* call stem_suffix_chain_before_ki, line 346 */
1349
+ if (ret < 0) return ret;
1350
+ }
1351
+ lab14:
1352
+ ;
1353
+ }
1354
+ goto lab9;
1355
+ lab11:
1356
+ z->c = z->l - m3;
1357
+ { int ret = r_stem_suffix_chain_before_ki(z);
1358
+ if (ret == 0) { z->c = z->l - m_keep; goto lab8; } /* call stem_suffix_chain_before_ki, line 348 */
1359
+ if (ret < 0) return ret;
1360
+ }
1361
+ }
1362
+ lab9:
1363
+ lab8:
1364
+ ;
1365
+ }
1366
+ goto lab0;
1367
+ lab7:
1368
+ z->c = z->l - m1;
1369
+ { int ret = r_mark_ndA(z);
1370
+ if (ret == 0) return 0; /* call mark_ndA, line 351 */
1371
+ if (ret < 0) return ret;
1372
+ }
1373
+ { int m5 = z->l - z->c; (void)m5; /* or, line 353 */
1374
+ { int ret = r_mark_lArI(z);
1375
+ if (ret == 0) goto lab16; /* call mark_lArI, line 352 */
1376
+ if (ret < 0) return ret;
1377
+ }
1378
+ z->bra = z->c; /* ], line 352 */
1379
+ { int ret = slice_del(z); /* delete, line 352 */
1380
+ if (ret < 0) return ret;
1381
+ }
1382
+ goto lab15;
1383
+ lab16:
1384
+ z->c = z->l - m5;
1385
+ { int ret = r_mark_sU(z);
1386
+ if (ret == 0) goto lab17; /* call mark_sU, line 354 */
1387
+ if (ret < 0) return ret;
1388
+ }
1389
+ z->bra = z->c; /* ], line 354 */
1390
+ { int ret = slice_del(z); /* delete, line 354 */
1391
+ if (ret < 0) return ret;
1392
+ }
1393
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 354 */
1394
+ z->ket = z->c; /* [, line 354 */
1395
+ { int ret = r_mark_lAr(z);
1396
+ if (ret == 0) { z->c = z->l - m_keep; goto lab18; } /* call mark_lAr, line 354 */
1397
+ if (ret < 0) return ret;
1398
+ }
1399
+ z->bra = z->c; /* ], line 354 */
1400
+ { int ret = slice_del(z); /* delete, line 354 */
1401
+ if (ret < 0) return ret;
1402
+ }
1403
+ { int ret = r_stem_suffix_chain_before_ki(z);
1404
+ if (ret == 0) { z->c = z->l - m_keep; goto lab18; } /* call stem_suffix_chain_before_ki, line 354 */
1405
+ if (ret < 0) return ret;
1406
+ }
1407
+ lab18:
1408
+ ;
1409
+ }
1410
+ goto lab15;
1411
+ lab17:
1412
+ z->c = z->l - m5;
1413
+ { int ret = r_stem_suffix_chain_before_ki(z);
1414
+ if (ret == 0) return 0; /* call stem_suffix_chain_before_ki, line 356 */
1415
+ if (ret < 0) return ret;
1416
+ }
1417
+ }
1418
+ lab15:
1419
+ ;
1420
+ }
1421
+ lab0:
1422
+ return 1;
1423
+ }
1424
+
1425
+ static int r_stem_noun_suffixes(struct SN_env * z) {
1426
+ { int m1 = z->l - z->c; (void)m1; /* or, line 363 */
1427
+ z->ket = z->c; /* [, line 362 */
1428
+ { int ret = r_mark_lAr(z);
1429
+ if (ret == 0) goto lab1; /* call mark_lAr, line 362 */
1430
+ if (ret < 0) return ret;
1431
+ }
1432
+ z->bra = z->c; /* ], line 362 */
1433
+ { int ret = slice_del(z); /* delete, line 362 */
1434
+ if (ret < 0) return ret;
1435
+ }
1436
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 362 */
1437
+ { int ret = r_stem_suffix_chain_before_ki(z);
1438
+ if (ret == 0) { z->c = z->l - m_keep; goto lab2; } /* call stem_suffix_chain_before_ki, line 362 */
1439
+ if (ret < 0) return ret;
1440
+ }
1441
+ lab2:
1442
+ ;
1443
+ }
1444
+ goto lab0;
1445
+ lab1:
1446
+ z->c = z->l - m1;
1447
+ z->ket = z->c; /* [, line 364 */
1448
+ { int ret = r_mark_ncA(z);
1449
+ if (ret == 0) goto lab3; /* call mark_ncA, line 364 */
1450
+ if (ret < 0) return ret;
1451
+ }
1452
+ z->bra = z->c; /* ], line 364 */
1453
+ { int ret = slice_del(z); /* delete, line 364 */
1454
+ if (ret < 0) return ret;
1455
+ }
1456
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 365 */
1457
+ { int m2 = z->l - z->c; (void)m2; /* or, line 367 */
1458
+ z->ket = z->c; /* [, line 366 */
1459
+ { int ret = r_mark_lArI(z);
1460
+ if (ret == 0) goto lab6; /* call mark_lArI, line 366 */
1461
+ if (ret < 0) return ret;
1462
+ }
1463
+ z->bra = z->c; /* ], line 366 */
1464
+ { int ret = slice_del(z); /* delete, line 366 */
1465
+ if (ret < 0) return ret;
1466
+ }
1467
+ goto lab5;
1468
+ lab6:
1469
+ z->c = z->l - m2;
1470
+ z->ket = z->c; /* [, line 368 */
1471
+ { int m3 = z->l - z->c; (void)m3; /* or, line 368 */
1472
+ { int ret = r_mark_possessives(z);
1473
+ if (ret == 0) goto lab9; /* call mark_possessives, line 368 */
1474
+ if (ret < 0) return ret;
1475
+ }
1476
+ goto lab8;
1477
+ lab9:
1478
+ z->c = z->l - m3;
1479
+ { int ret = r_mark_sU(z);
1480
+ if (ret == 0) goto lab7; /* call mark_sU, line 368 */
1481
+ if (ret < 0) return ret;
1482
+ }
1483
+ }
1484
+ lab8:
1485
+ z->bra = z->c; /* ], line 368 */
1486
+ { int ret = slice_del(z); /* delete, line 368 */
1487
+ if (ret < 0) return ret;
1488
+ }
1489
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 368 */
1490
+ z->ket = z->c; /* [, line 368 */
1491
+ { int ret = r_mark_lAr(z);
1492
+ if (ret == 0) { z->c = z->l - m_keep; goto lab10; } /* call mark_lAr, line 368 */
1493
+ if (ret < 0) return ret;
1494
+ }
1495
+ z->bra = z->c; /* ], line 368 */
1496
+ { int ret = slice_del(z); /* delete, line 368 */
1497
+ if (ret < 0) return ret;
1498
+ }
1499
+ { int ret = r_stem_suffix_chain_before_ki(z);
1500
+ if (ret == 0) { z->c = z->l - m_keep; goto lab10; } /* call stem_suffix_chain_before_ki, line 368 */
1501
+ if (ret < 0) return ret;
1502
+ }
1503
+ lab10:
1504
+ ;
1505
+ }
1506
+ goto lab5;
1507
+ lab7:
1508
+ z->c = z->l - m2;
1509
+ z->ket = z->c; /* [, line 370 */
1510
+ { int ret = r_mark_lAr(z);
1511
+ if (ret == 0) { z->c = z->l - m_keep; goto lab4; } /* call mark_lAr, line 370 */
1512
+ if (ret < 0) return ret;
1513
+ }
1514
+ z->bra = z->c; /* ], line 370 */
1515
+ { int ret = slice_del(z); /* delete, line 370 */
1516
+ if (ret < 0) return ret;
1517
+ }
1518
+ { int ret = r_stem_suffix_chain_before_ki(z);
1519
+ if (ret == 0) { z->c = z->l - m_keep; goto lab4; } /* call stem_suffix_chain_before_ki, line 370 */
1520
+ if (ret < 0) return ret;
1521
+ }
1522
+ }
1523
+ lab5:
1524
+ lab4:
1525
+ ;
1526
+ }
1527
+ goto lab0;
1528
+ lab3:
1529
+ z->c = z->l - m1;
1530
+ z->ket = z->c; /* [, line 374 */
1531
+ { int m4 = z->l - z->c; (void)m4; /* or, line 374 */
1532
+ { int ret = r_mark_ndA(z);
1533
+ if (ret == 0) goto lab13; /* call mark_ndA, line 374 */
1534
+ if (ret < 0) return ret;
1535
+ }
1536
+ goto lab12;
1537
+ lab13:
1538
+ z->c = z->l - m4;
1539
+ { int ret = r_mark_nA(z);
1540
+ if (ret == 0) goto lab11; /* call mark_nA, line 374 */
1541
+ if (ret < 0) return ret;
1542
+ }
1543
+ }
1544
+ lab12:
1545
+ { int m5 = z->l - z->c; (void)m5; /* or, line 377 */
1546
+ { int ret = r_mark_lArI(z);
1547
+ if (ret == 0) goto lab15; /* call mark_lArI, line 376 */
1548
+ if (ret < 0) return ret;
1549
+ }
1550
+ z->bra = z->c; /* ], line 376 */
1551
+ { int ret = slice_del(z); /* delete, line 376 */
1552
+ if (ret < 0) return ret;
1553
+ }
1554
+ goto lab14;
1555
+ lab15:
1556
+ z->c = z->l - m5;
1557
+ { int ret = r_mark_sU(z);
1558
+ if (ret == 0) goto lab16; /* call mark_sU, line 378 */
1559
+ if (ret < 0) return ret;
1560
+ }
1561
+ z->bra = z->c; /* ], line 378 */
1562
+ { int ret = slice_del(z); /* delete, line 378 */
1563
+ if (ret < 0) return ret;
1564
+ }
1565
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 378 */
1566
+ z->ket = z->c; /* [, line 378 */
1567
+ { int ret = r_mark_lAr(z);
1568
+ if (ret == 0) { z->c = z->l - m_keep; goto lab17; } /* call mark_lAr, line 378 */
1569
+ if (ret < 0) return ret;
1570
+ }
1571
+ z->bra = z->c; /* ], line 378 */
1572
+ { int ret = slice_del(z); /* delete, line 378 */
1573
+ if (ret < 0) return ret;
1574
+ }
1575
+ { int ret = r_stem_suffix_chain_before_ki(z);
1576
+ if (ret == 0) { z->c = z->l - m_keep; goto lab17; } /* call stem_suffix_chain_before_ki, line 378 */
1577
+ if (ret < 0) return ret;
1578
+ }
1579
+ lab17:
1580
+ ;
1581
+ }
1582
+ goto lab14;
1583
+ lab16:
1584
+ z->c = z->l - m5;
1585
+ { int ret = r_stem_suffix_chain_before_ki(z);
1586
+ if (ret == 0) goto lab11; /* call stem_suffix_chain_before_ki, line 380 */
1587
+ if (ret < 0) return ret;
1588
+ }
1589
+ }
1590
+ lab14:
1591
+ goto lab0;
1592
+ lab11:
1593
+ z->c = z->l - m1;
1594
+ z->ket = z->c; /* [, line 384 */
1595
+ { int m6 = z->l - z->c; (void)m6; /* or, line 384 */
1596
+ { int ret = r_mark_ndAn(z);
1597
+ if (ret == 0) goto lab20; /* call mark_ndAn, line 384 */
1598
+ if (ret < 0) return ret;
1599
+ }
1600
+ goto lab19;
1601
+ lab20:
1602
+ z->c = z->l - m6;
1603
+ { int ret = r_mark_nU(z);
1604
+ if (ret == 0) goto lab18; /* call mark_nU, line 384 */
1605
+ if (ret < 0) return ret;
1606
+ }
1607
+ }
1608
+ lab19:
1609
+ { int m7 = z->l - z->c; (void)m7; /* or, line 384 */
1610
+ { int ret = r_mark_sU(z);
1611
+ if (ret == 0) goto lab22; /* call mark_sU, line 384 */
1612
+ if (ret < 0) return ret;
1613
+ }
1614
+ z->bra = z->c; /* ], line 384 */
1615
+ { int ret = slice_del(z); /* delete, line 384 */
1616
+ if (ret < 0) return ret;
1617
+ }
1618
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 384 */
1619
+ z->ket = z->c; /* [, line 384 */
1620
+ { int ret = r_mark_lAr(z);
1621
+ if (ret == 0) { z->c = z->l - m_keep; goto lab23; } /* call mark_lAr, line 384 */
1622
+ if (ret < 0) return ret;
1623
+ }
1624
+ z->bra = z->c; /* ], line 384 */
1625
+ { int ret = slice_del(z); /* delete, line 384 */
1626
+ if (ret < 0) return ret;
1627
+ }
1628
+ { int ret = r_stem_suffix_chain_before_ki(z);
1629
+ if (ret == 0) { z->c = z->l - m_keep; goto lab23; } /* call stem_suffix_chain_before_ki, line 384 */
1630
+ if (ret < 0) return ret;
1631
+ }
1632
+ lab23:
1633
+ ;
1634
+ }
1635
+ goto lab21;
1636
+ lab22:
1637
+ z->c = z->l - m7;
1638
+ { int ret = r_mark_lArI(z);
1639
+ if (ret == 0) goto lab18; /* call mark_lArI, line 384 */
1640
+ if (ret < 0) return ret;
1641
+ }
1642
+ }
1643
+ lab21:
1644
+ goto lab0;
1645
+ lab18:
1646
+ z->c = z->l - m1;
1647
+ z->ket = z->c; /* [, line 386 */
1648
+ { int ret = r_mark_DAn(z);
1649
+ if (ret == 0) goto lab24; /* call mark_DAn, line 386 */
1650
+ if (ret < 0) return ret;
1651
+ }
1652
+ z->bra = z->c; /* ], line 386 */
1653
+ { int ret = slice_del(z); /* delete, line 386 */
1654
+ if (ret < 0) return ret;
1655
+ }
1656
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 386 */
1657
+ z->ket = z->c; /* [, line 386 */
1658
+ { int m8 = z->l - z->c; (void)m8; /* or, line 389 */
1659
+ { int ret = r_mark_possessives(z);
1660
+ if (ret == 0) goto lab27; /* call mark_possessives, line 388 */
1661
+ if (ret < 0) return ret;
1662
+ }
1663
+ z->bra = z->c; /* ], line 388 */
1664
+ { int ret = slice_del(z); /* delete, line 388 */
1665
+ if (ret < 0) return ret;
1666
+ }
1667
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 388 */
1668
+ z->ket = z->c; /* [, line 388 */
1669
+ { int ret = r_mark_lAr(z);
1670
+ if (ret == 0) { z->c = z->l - m_keep; goto lab28; } /* call mark_lAr, line 388 */
1671
+ if (ret < 0) return ret;
1672
+ }
1673
+ z->bra = z->c; /* ], line 388 */
1674
+ { int ret = slice_del(z); /* delete, line 388 */
1675
+ if (ret < 0) return ret;
1676
+ }
1677
+ { int ret = r_stem_suffix_chain_before_ki(z);
1678
+ if (ret == 0) { z->c = z->l - m_keep; goto lab28; } /* call stem_suffix_chain_before_ki, line 388 */
1679
+ if (ret < 0) return ret;
1680
+ }
1681
+ lab28:
1682
+ ;
1683
+ }
1684
+ goto lab26;
1685
+ lab27:
1686
+ z->c = z->l - m8;
1687
+ { int ret = r_mark_lAr(z);
1688
+ if (ret == 0) goto lab29; /* call mark_lAr, line 390 */
1689
+ if (ret < 0) return ret;
1690
+ }
1691
+ z->bra = z->c; /* ], line 390 */
1692
+ { int ret = slice_del(z); /* delete, line 390 */
1693
+ if (ret < 0) return ret;
1694
+ }
1695
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 390 */
1696
+ { int ret = r_stem_suffix_chain_before_ki(z);
1697
+ if (ret == 0) { z->c = z->l - m_keep; goto lab30; } /* call stem_suffix_chain_before_ki, line 390 */
1698
+ if (ret < 0) return ret;
1699
+ }
1700
+ lab30:
1701
+ ;
1702
+ }
1703
+ goto lab26;
1704
+ lab29:
1705
+ z->c = z->l - m8;
1706
+ { int ret = r_stem_suffix_chain_before_ki(z);
1707
+ if (ret == 0) { z->c = z->l - m_keep; goto lab25; } /* call stem_suffix_chain_before_ki, line 392 */
1708
+ if (ret < 0) return ret;
1709
+ }
1710
+ }
1711
+ lab26:
1712
+ lab25:
1713
+ ;
1714
+ }
1715
+ goto lab0;
1716
+ lab24:
1717
+ z->c = z->l - m1;
1718
+ z->ket = z->c; /* [, line 396 */
1719
+ { int m9 = z->l - z->c; (void)m9; /* or, line 396 */
1720
+ { int ret = r_mark_nUn(z);
1721
+ if (ret == 0) goto lab33; /* call mark_nUn, line 396 */
1722
+ if (ret < 0) return ret;
1723
+ }
1724
+ goto lab32;
1725
+ lab33:
1726
+ z->c = z->l - m9;
1727
+ { int ret = r_mark_ylA(z);
1728
+ if (ret == 0) goto lab31; /* call mark_ylA, line 396 */
1729
+ if (ret < 0) return ret;
1730
+ }
1731
+ }
1732
+ lab32:
1733
+ z->bra = z->c; /* ], line 396 */
1734
+ { int ret = slice_del(z); /* delete, line 396 */
1735
+ if (ret < 0) return ret;
1736
+ }
1737
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 397 */
1738
+ { int m10 = z->l - z->c; (void)m10; /* or, line 399 */
1739
+ z->ket = z->c; /* [, line 398 */
1740
+ { int ret = r_mark_lAr(z);
1741
+ if (ret == 0) goto lab36; /* call mark_lAr, line 398 */
1742
+ if (ret < 0) return ret;
1743
+ }
1744
+ z->bra = z->c; /* ], line 398 */
1745
+ { int ret = slice_del(z); /* delete, line 398 */
1746
+ if (ret < 0) return ret;
1747
+ }
1748
+ { int ret = r_stem_suffix_chain_before_ki(z);
1749
+ if (ret == 0) goto lab36; /* call stem_suffix_chain_before_ki, line 398 */
1750
+ if (ret < 0) return ret;
1751
+ }
1752
+ goto lab35;
1753
+ lab36:
1754
+ z->c = z->l - m10;
1755
+ z->ket = z->c; /* [, line 400 */
1756
+ { int m11 = z->l - z->c; (void)m11; /* or, line 400 */
1757
+ { int ret = r_mark_possessives(z);
1758
+ if (ret == 0) goto lab39; /* call mark_possessives, line 400 */
1759
+ if (ret < 0) return ret;
1760
+ }
1761
+ goto lab38;
1762
+ lab39:
1763
+ z->c = z->l - m11;
1764
+ { int ret = r_mark_sU(z);
1765
+ if (ret == 0) goto lab37; /* call mark_sU, line 400 */
1766
+ if (ret < 0) return ret;
1767
+ }
1768
+ }
1769
+ lab38:
1770
+ z->bra = z->c; /* ], line 400 */
1771
+ { int ret = slice_del(z); /* delete, line 400 */
1772
+ if (ret < 0) return ret;
1773
+ }
1774
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 400 */
1775
+ z->ket = z->c; /* [, line 400 */
1776
+ { int ret = r_mark_lAr(z);
1777
+ if (ret == 0) { z->c = z->l - m_keep; goto lab40; } /* call mark_lAr, line 400 */
1778
+ if (ret < 0) return ret;
1779
+ }
1780
+ z->bra = z->c; /* ], line 400 */
1781
+ { int ret = slice_del(z); /* delete, line 400 */
1782
+ if (ret < 0) return ret;
1783
+ }
1784
+ { int ret = r_stem_suffix_chain_before_ki(z);
1785
+ if (ret == 0) { z->c = z->l - m_keep; goto lab40; } /* call stem_suffix_chain_before_ki, line 400 */
1786
+ if (ret < 0) return ret;
1787
+ }
1788
+ lab40:
1789
+ ;
1790
+ }
1791
+ goto lab35;
1792
+ lab37:
1793
+ z->c = z->l - m10;
1794
+ { int ret = r_stem_suffix_chain_before_ki(z);
1795
+ if (ret == 0) { z->c = z->l - m_keep; goto lab34; } /* call stem_suffix_chain_before_ki, line 402 */
1796
+ if (ret < 0) return ret;
1797
+ }
1798
+ }
1799
+ lab35:
1800
+ lab34:
1801
+ ;
1802
+ }
1803
+ goto lab0;
1804
+ lab31:
1805
+ z->c = z->l - m1;
1806
+ z->ket = z->c; /* [, line 406 */
1807
+ { int ret = r_mark_lArI(z);
1808
+ if (ret == 0) goto lab41; /* call mark_lArI, line 406 */
1809
+ if (ret < 0) return ret;
1810
+ }
1811
+ z->bra = z->c; /* ], line 406 */
1812
+ { int ret = slice_del(z); /* delete, line 406 */
1813
+ if (ret < 0) return ret;
1814
+ }
1815
+ goto lab0;
1816
+ lab41:
1817
+ z->c = z->l - m1;
1818
+ { int ret = r_stem_suffix_chain_before_ki(z);
1819
+ if (ret == 0) goto lab42; /* call stem_suffix_chain_before_ki, line 408 */
1820
+ if (ret < 0) return ret;
1821
+ }
1822
+ goto lab0;
1823
+ lab42:
1824
+ z->c = z->l - m1;
1825
+ z->ket = z->c; /* [, line 410 */
1826
+ { int m12 = z->l - z->c; (void)m12; /* or, line 410 */
1827
+ { int ret = r_mark_DA(z);
1828
+ if (ret == 0) goto lab45; /* call mark_DA, line 410 */
1829
+ if (ret < 0) return ret;
1830
+ }
1831
+ goto lab44;
1832
+ lab45:
1833
+ z->c = z->l - m12;
1834
+ { int ret = r_mark_yU(z);
1835
+ if (ret == 0) goto lab46; /* call mark_yU, line 410 */
1836
+ if (ret < 0) return ret;
1837
+ }
1838
+ goto lab44;
1839
+ lab46:
1840
+ z->c = z->l - m12;
1841
+ { int ret = r_mark_yA(z);
1842
+ if (ret == 0) goto lab43; /* call mark_yA, line 410 */
1843
+ if (ret < 0) return ret;
1844
+ }
1845
+ }
1846
+ lab44:
1847
+ z->bra = z->c; /* ], line 410 */
1848
+ { int ret = slice_del(z); /* delete, line 410 */
1849
+ if (ret < 0) return ret;
1850
+ }
1851
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 410 */
1852
+ z->ket = z->c; /* [, line 410 */
1853
+ { int m13 = z->l - z->c; (void)m13; /* or, line 410 */
1854
+ { int ret = r_mark_possessives(z);
1855
+ if (ret == 0) goto lab49; /* call mark_possessives, line 410 */
1856
+ if (ret < 0) return ret;
1857
+ }
1858
+ z->bra = z->c; /* ], line 410 */
1859
+ { int ret = slice_del(z); /* delete, line 410 */
1860
+ if (ret < 0) return ret;
1861
+ }
1862
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 410 */
1863
+ z->ket = z->c; /* [, line 410 */
1864
+ { int ret = r_mark_lAr(z);
1865
+ if (ret == 0) { z->c = z->l - m_keep; goto lab50; } /* call mark_lAr, line 410 */
1866
+ if (ret < 0) return ret;
1867
+ }
1868
+ lab50:
1869
+ ;
1870
+ }
1871
+ goto lab48;
1872
+ lab49:
1873
+ z->c = z->l - m13;
1874
+ { int ret = r_mark_lAr(z);
1875
+ if (ret == 0) { z->c = z->l - m_keep; goto lab47; } /* call mark_lAr, line 410 */
1876
+ if (ret < 0) return ret;
1877
+ }
1878
+ }
1879
+ lab48:
1880
+ z->bra = z->c; /* ], line 410 */
1881
+ { int ret = slice_del(z); /* delete, line 410 */
1882
+ if (ret < 0) return ret;
1883
+ }
1884
+ z->ket = z->c; /* [, line 410 */
1885
+ { int ret = r_stem_suffix_chain_before_ki(z);
1886
+ if (ret == 0) { z->c = z->l - m_keep; goto lab47; } /* call stem_suffix_chain_before_ki, line 410 */
1887
+ if (ret < 0) return ret;
1888
+ }
1889
+ lab47:
1890
+ ;
1891
+ }
1892
+ goto lab0;
1893
+ lab43:
1894
+ z->c = z->l - m1;
1895
+ z->ket = z->c; /* [, line 412 */
1896
+ { int m14 = z->l - z->c; (void)m14; /* or, line 412 */
1897
+ { int ret = r_mark_possessives(z);
1898
+ if (ret == 0) goto lab52; /* call mark_possessives, line 412 */
1899
+ if (ret < 0) return ret;
1900
+ }
1901
+ goto lab51;
1902
+ lab52:
1903
+ z->c = z->l - m14;
1904
+ { int ret = r_mark_sU(z);
1905
+ if (ret == 0) return 0; /* call mark_sU, line 412 */
1906
+ if (ret < 0) return ret;
1907
+ }
1908
+ }
1909
+ lab51:
1910
+ z->bra = z->c; /* ], line 412 */
1911
+ { int ret = slice_del(z); /* delete, line 412 */
1912
+ if (ret < 0) return ret;
1913
+ }
1914
+ { int m_keep = z->l - z->c;/* (void) m_keep;*/ /* try, line 412 */
1915
+ z->ket = z->c; /* [, line 412 */
1916
+ { int ret = r_mark_lAr(z);
1917
+ if (ret == 0) { z->c = z->l - m_keep; goto lab53; } /* call mark_lAr, line 412 */
1918
+ if (ret < 0) return ret;
1919
+ }
1920
+ z->bra = z->c; /* ], line 412 */
1921
+ { int ret = slice_del(z); /* delete, line 412 */
1922
+ if (ret < 0) return ret;
1923
+ }
1924
+ { int ret = r_stem_suffix_chain_before_ki(z);
1925
+ if (ret == 0) { z->c = z->l - m_keep; goto lab53; } /* call stem_suffix_chain_before_ki, line 412 */
1926
+ if (ret < 0) return ret;
1927
+ }
1928
+ lab53:
1929
+ ;
1930
+ }
1931
+ }
1932
+ lab0:
1933
+ return 1;
1934
+ }
1935
+
1936
+ static int r_post_process_last_consonants(struct SN_env * z) {
1937
+ int among_var;
1938
+ z->ket = z->c; /* [, line 416 */
1939
+ among_var = find_among_b(z, a_23, 4); /* substring, line 416 */
1940
+ if (!(among_var)) return 0;
1941
+ z->bra = z->c; /* ], line 416 */
1942
+ switch(among_var) {
1943
+ case 0: return 0;
1944
+ case 1:
1945
+ { int ret = slice_from_s(z, 1, s_16); /* <-, line 417 */
1946
+ if (ret < 0) return ret;
1947
+ }
1948
+ break;
1949
+ case 2:
1950
+ { int ret = slice_from_s(z, 2, s_17); /* <-, line 418 */
1951
+ if (ret < 0) return ret;
1952
+ }
1953
+ break;
1954
+ case 3:
1955
+ { int ret = slice_from_s(z, 1, s_18); /* <-, line 419 */
1956
+ if (ret < 0) return ret;
1957
+ }
1958
+ break;
1959
+ case 4:
1960
+ { int ret = slice_from_s(z, 1, s_19); /* <-, line 420 */
1961
+ if (ret < 0) return ret;
1962
+ }
1963
+ break;
1964
+ }
1965
+ return 1;
1966
+ }
1967
+
1968
+ static int r_append_U_to_stems_ending_with_d_or_g(struct SN_env * z) {
1969
+ { int m_test = z->l - z->c; /* test, line 431 */
1970
+ { int m1 = z->l - z->c; (void)m1; /* or, line 431 */
1971
+ if (!(eq_s_b(z, 1, s_20))) goto lab1;
1972
+ goto lab0;
1973
+ lab1:
1974
+ z->c = z->l - m1;
1975
+ if (!(eq_s_b(z, 1, s_21))) return 0;
1976
+ }
1977
+ lab0:
1978
+ z->c = z->l - m_test;
1979
+ }
1980
+ { int m2 = z->l - z->c; (void)m2; /* or, line 433 */
1981
+ { int m_test = z->l - z->c; /* test, line 432 */
1982
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab3; /* goto */ /* grouping vowel, line 432 */
1983
+ { int m3 = z->l - z->c; (void)m3; /* or, line 432 */
1984
+ if (!(eq_s_b(z, 1, s_22))) goto lab5;
1985
+ goto lab4;
1986
+ lab5:
1987
+ z->c = z->l - m3;
1988
+ if (!(eq_s_b(z, 2, s_23))) goto lab3;
1989
+ }
1990
+ lab4:
1991
+ z->c = z->l - m_test;
1992
+ }
1993
+ { int c_keep = z->c;
1994
+ int ret = insert_s(z, z->c, z->c, 2, s_24); /* <+, line 432 */
1995
+ z->c = c_keep;
1996
+ if (ret < 0) return ret;
1997
+ }
1998
+ goto lab2;
1999
+ lab3:
2000
+ z->c = z->l - m2;
2001
+ { int m_test = z->l - z->c; /* test, line 434 */
2002
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab6; /* goto */ /* grouping vowel, line 434 */
2003
+ { int m4 = z->l - z->c; (void)m4; /* or, line 434 */
2004
+ if (!(eq_s_b(z, 1, s_25))) goto lab8;
2005
+ goto lab7;
2006
+ lab8:
2007
+ z->c = z->l - m4;
2008
+ if (!(eq_s_b(z, 1, s_26))) goto lab6;
2009
+ }
2010
+ lab7:
2011
+ z->c = z->l - m_test;
2012
+ }
2013
+ { int c_keep = z->c;
2014
+ int ret = insert_s(z, z->c, z->c, 1, s_27); /* <+, line 434 */
2015
+ z->c = c_keep;
2016
+ if (ret < 0) return ret;
2017
+ }
2018
+ goto lab2;
2019
+ lab6:
2020
+ z->c = z->l - m2;
2021
+ { int m_test = z->l - z->c; /* test, line 436 */
2022
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) goto lab9; /* goto */ /* grouping vowel, line 436 */
2023
+ { int m5 = z->l - z->c; (void)m5; /* or, line 436 */
2024
+ if (!(eq_s_b(z, 1, s_28))) goto lab11;
2025
+ goto lab10;
2026
+ lab11:
2027
+ z->c = z->l - m5;
2028
+ if (!(eq_s_b(z, 1, s_29))) goto lab9;
2029
+ }
2030
+ lab10:
2031
+ z->c = z->l - m_test;
2032
+ }
2033
+ { int c_keep = z->c;
2034
+ int ret = insert_s(z, z->c, z->c, 1, s_30); /* <+, line 436 */
2035
+ z->c = c_keep;
2036
+ if (ret < 0) return ret;
2037
+ }
2038
+ goto lab2;
2039
+ lab9:
2040
+ z->c = z->l - m2;
2041
+ { int m_test = z->l - z->c; /* test, line 438 */
2042
+ if (out_grouping_b_U(z, g_vowel, 97, 305, 1) < 0) return 0; /* goto */ /* grouping vowel, line 438 */
2043
+ { int m6 = z->l - z->c; (void)m6; /* or, line 438 */
2044
+ if (!(eq_s_b(z, 2, s_31))) goto lab13;
2045
+ goto lab12;
2046
+ lab13:
2047
+ z->c = z->l - m6;
2048
+ if (!(eq_s_b(z, 2, s_32))) return 0;
2049
+ }
2050
+ lab12:
2051
+ z->c = z->l - m_test;
2052
+ }
2053
+ { int c_keep = z->c;
2054
+ int ret = insert_s(z, z->c, z->c, 2, s_33); /* <+, line 438 */
2055
+ z->c = c_keep;
2056
+ if (ret < 0) return ret;
2057
+ }
2058
+ }
2059
+ lab2:
2060
+ return 1;
2061
+ }
2062
+
2063
+ static int r_more_than_one_syllable_word(struct SN_env * z) {
2064
+ { int c_test = z->c; /* test, line 446 */
2065
+ { int i = 2;
2066
+ while(1) { /* atleast, line 446 */
2067
+ int c1 = z->c;
2068
+ { /* gopast */ /* grouping vowel, line 446 */
2069
+ int ret = out_grouping_U(z, g_vowel, 97, 305, 1);
2070
+ if (ret < 0) goto lab0;
2071
+ z->c += ret;
2072
+ }
2073
+ i--;
2074
+ continue;
2075
+ lab0:
2076
+ z->c = c1;
2077
+ break;
2078
+ }
2079
+ if (i > 0) return 0;
2080
+ }
2081
+ z->c = c_test;
2082
+ }
2083
+ return 1;
2084
+ }
2085
+
2086
+ static int r_is_reserved_word(struct SN_env * z) {
2087
+ { int c1 = z->c; /* or, line 451 */
2088
+ { int c_test = z->c; /* test, line 450 */
2089
+ while(1) { /* gopast, line 450 */
2090
+ if (!(eq_s(z, 2, s_34))) goto lab2;
2091
+ break;
2092
+ lab2:
2093
+ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
2094
+ if (ret < 0) goto lab1;
2095
+ z->c = ret; /* gopast, line 450 */
2096
+ }
2097
+ }
2098
+ z->I[0] = 2;
2099
+ if (!(z->I[0] == z->l)) goto lab1;
2100
+ z->c = c_test;
2101
+ }
2102
+ goto lab0;
2103
+ lab1:
2104
+ z->c = c1;
2105
+ { int c_test = z->c; /* test, line 452 */
2106
+ while(1) { /* gopast, line 452 */
2107
+ if (!(eq_s(z, 5, s_35))) goto lab3;
2108
+ break;
2109
+ lab3:
2110
+ { int ret = skip_utf8(z->p, z->c, 0, z->l, 1);
2111
+ if (ret < 0) return 0;
2112
+ z->c = ret; /* gopast, line 452 */
2113
+ }
2114
+ }
2115
+ z->I[0] = 5;
2116
+ if (!(z->I[0] == z->l)) return 0;
2117
+ z->c = c_test;
2118
+ }
2119
+ }
2120
+ lab0:
2121
+ return 1;
2122
+ }
2123
+
2124
+ static int r_postlude(struct SN_env * z) {
2125
+ { int c1 = z->c; /* not, line 456 */
2126
+ { int ret = r_is_reserved_word(z);
2127
+ if (ret == 0) goto lab0; /* call is_reserved_word, line 456 */
2128
+ if (ret < 0) return ret;
2129
+ }
2130
+ return 0;
2131
+ lab0:
2132
+ z->c = c1;
2133
+ }
2134
+ z->lb = z->c; z->c = z->l; /* backwards, line 457 */
2135
+
2136
+ { int m2 = z->l - z->c; (void)m2; /* do, line 458 */
2137
+ { int ret = r_append_U_to_stems_ending_with_d_or_g(z);
2138
+ if (ret == 0) goto lab1; /* call append_U_to_stems_ending_with_d_or_g, line 458 */
2139
+ if (ret < 0) return ret;
2140
+ }
2141
+ lab1:
2142
+ z->c = z->l - m2;
2143
+ }
2144
+ { int m3 = z->l - z->c; (void)m3; /* do, line 459 */
2145
+ { int ret = r_post_process_last_consonants(z);
2146
+ if (ret == 0) goto lab2; /* call post_process_last_consonants, line 459 */
2147
+ if (ret < 0) return ret;
2148
+ }
2149
+ lab2:
2150
+ z->c = z->l - m3;
2151
+ }
2152
+ z->c = z->lb;
2153
+ return 1;
2154
+ }
2155
+
2156
+ extern int turkish_UTF_8_stem(struct SN_env * z) {
2157
+ { int ret = r_more_than_one_syllable_word(z);
2158
+ if (ret == 0) return 0; /* call more_than_one_syllable_word, line 465 */
2159
+ if (ret < 0) return ret;
2160
+ }
2161
+ z->lb = z->c; z->c = z->l; /* backwards, line 467 */
2162
+
2163
+ { int m1 = z->l - z->c; (void)m1; /* do, line 468 */
2164
+ { int ret = r_stem_nominal_verb_suffixes(z);
2165
+ if (ret == 0) goto lab0; /* call stem_nominal_verb_suffixes, line 468 */
2166
+ if (ret < 0) return ret;
2167
+ }
2168
+ lab0:
2169
+ z->c = z->l - m1;
2170
+ }
2171
+ if (!(z->B[0])) return 0; /* Boolean test continue_stemming_noun_suffixes, line 469 */
2172
+ { int m2 = z->l - z->c; (void)m2; /* do, line 470 */
2173
+ { int ret = r_stem_noun_suffixes(z);
2174
+ if (ret == 0) goto lab1; /* call stem_noun_suffixes, line 470 */
2175
+ if (ret < 0) return ret;
2176
+ }
2177
+ lab1:
2178
+ z->c = z->l - m2;
2179
+ }
2180
+ z->c = z->lb;
2181
+ { int ret = r_postlude(z);
2182
+ if (ret == 0) return 0; /* call postlude, line 473 */
2183
+ if (ret < 0) return ret;
2184
+ }
2185
+ return 1;
2186
+ }
2187
+
2188
+ extern struct SN_env * turkish_UTF_8_create_env(void) { return SN_create_env(0, 1, 1); }
2189
+
2190
+ extern void turkish_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
2191
+