1 // This file was generated automatically by the Snowball to Java compiler
3 package org.tartarus.snowball.ext;
4 import org.tartarus.snowball.SnowballProgram;
5 import org.tartarus.snowball.Among;
8 * Generated class implementing code defined by a snowball script.
10 public class TurkishStemmer extends SnowballProgram {
12 private Among a_0[] = {
13 new Among ( "m", -1, -1, "", this),
14 new Among ( "n", -1, -1, "", this),
15 new Among ( "miz", -1, -1, "", this),
16 new Among ( "niz", -1, -1, "", this),
17 new Among ( "muz", -1, -1, "", this),
18 new Among ( "nuz", -1, -1, "", this),
19 new Among ( "m\u00FCz", -1, -1, "", this),
20 new Among ( "n\u00FCz", -1, -1, "", this),
21 new Among ( "m\u0131z", -1, -1, "", this),
22 new Among ( "n\u0131z", -1, -1, "", this)
25 private Among a_1[] = {
26 new Among ( "leri", -1, -1, "", this),
27 new Among ( "lar\u0131", -1, -1, "", this)
30 private Among a_2[] = {
31 new Among ( "ni", -1, -1, "", this),
32 new Among ( "nu", -1, -1, "", this),
33 new Among ( "n\u00FC", -1, -1, "", this),
34 new Among ( "n\u0131", -1, -1, "", this)
37 private Among a_3[] = {
38 new Among ( "in", -1, -1, "", this),
39 new Among ( "un", -1, -1, "", this),
40 new Among ( "\u00FCn", -1, -1, "", this),
41 new Among ( "\u0131n", -1, -1, "", this)
44 private Among a_4[] = {
45 new Among ( "a", -1, -1, "", this),
46 new Among ( "e", -1, -1, "", this)
49 private Among a_5[] = {
50 new Among ( "na", -1, -1, "", this),
51 new Among ( "ne", -1, -1, "", this)
54 private Among a_6[] = {
55 new Among ( "da", -1, -1, "", this),
56 new Among ( "ta", -1, -1, "", this),
57 new Among ( "de", -1, -1, "", this),
58 new Among ( "te", -1, -1, "", this)
61 private Among a_7[] = {
62 new Among ( "nda", -1, -1, "", this),
63 new Among ( "nde", -1, -1, "", this)
66 private Among a_8[] = {
67 new Among ( "dan", -1, -1, "", this),
68 new Among ( "tan", -1, -1, "", this),
69 new Among ( "den", -1, -1, "", this),
70 new Among ( "ten", -1, -1, "", this)
73 private Among a_9[] = {
74 new Among ( "ndan", -1, -1, "", this),
75 new Among ( "nden", -1, -1, "", this)
78 private Among a_10[] = {
79 new Among ( "la", -1, -1, "", this),
80 new Among ( "le", -1, -1, "", this)
83 private Among a_11[] = {
84 new Among ( "ca", -1, -1, "", this),
85 new Among ( "ce", -1, -1, "", this)
88 private Among a_12[] = {
89 new Among ( "im", -1, -1, "", this),
90 new Among ( "um", -1, -1, "", this),
91 new Among ( "\u00FCm", -1, -1, "", this),
92 new Among ( "\u0131m", -1, -1, "", this)
95 private Among a_13[] = {
96 new Among ( "sin", -1, -1, "", this),
97 new Among ( "sun", -1, -1, "", this),
98 new Among ( "s\u00FCn", -1, -1, "", this),
99 new Among ( "s\u0131n", -1, -1, "", this)
102 private Among a_14[] = {
103 new Among ( "iz", -1, -1, "", this),
104 new Among ( "uz", -1, -1, "", this),
105 new Among ( "\u00FCz", -1, -1, "", this),
106 new Among ( "\u0131z", -1, -1, "", this)
109 private Among a_15[] = {
110 new Among ( "siniz", -1, -1, "", this),
111 new Among ( "sunuz", -1, -1, "", this),
112 new Among ( "s\u00FCn\u00FCz", -1, -1, "", this),
113 new Among ( "s\u0131n\u0131z", -1, -1, "", this)
116 private Among a_16[] = {
117 new Among ( "lar", -1, -1, "", this),
118 new Among ( "ler", -1, -1, "", this)
121 private Among a_17[] = {
122 new Among ( "niz", -1, -1, "", this),
123 new Among ( "nuz", -1, -1, "", this),
124 new Among ( "n\u00FCz", -1, -1, "", this),
125 new Among ( "n\u0131z", -1, -1, "", this)
128 private Among a_18[] = {
129 new Among ( "dir", -1, -1, "", this),
130 new Among ( "tir", -1, -1, "", this),
131 new Among ( "dur", -1, -1, "", this),
132 new Among ( "tur", -1, -1, "", this),
133 new Among ( "d\u00FCr", -1, -1, "", this),
134 new Among ( "t\u00FCr", -1, -1, "", this),
135 new Among ( "d\u0131r", -1, -1, "", this),
136 new Among ( "t\u0131r", -1, -1, "", this)
139 private Among a_19[] = {
140 new Among ( "cas\u0131na", -1, -1, "", this),
141 new Among ( "cesine", -1, -1, "", this)
144 private Among a_20[] = {
145 new Among ( "di", -1, -1, "", this),
146 new Among ( "ti", -1, -1, "", this),
147 new Among ( "dik", -1, -1, "", this),
148 new Among ( "tik", -1, -1, "", this),
149 new Among ( "duk", -1, -1, "", this),
150 new Among ( "tuk", -1, -1, "", this),
151 new Among ( "d\u00FCk", -1, -1, "", this),
152 new Among ( "t\u00FCk", -1, -1, "", this),
153 new Among ( "d\u0131k", -1, -1, "", this),
154 new Among ( "t\u0131k", -1, -1, "", this),
155 new Among ( "dim", -1, -1, "", this),
156 new Among ( "tim", -1, -1, "", this),
157 new Among ( "dum", -1, -1, "", this),
158 new Among ( "tum", -1, -1, "", this),
159 new Among ( "d\u00FCm", -1, -1, "", this),
160 new Among ( "t\u00FCm", -1, -1, "", this),
161 new Among ( "d\u0131m", -1, -1, "", this),
162 new Among ( "t\u0131m", -1, -1, "", this),
163 new Among ( "din", -1, -1, "", this),
164 new Among ( "tin", -1, -1, "", this),
165 new Among ( "dun", -1, -1, "", this),
166 new Among ( "tun", -1, -1, "", this),
167 new Among ( "d\u00FCn", -1, -1, "", this),
168 new Among ( "t\u00FCn", -1, -1, "", this),
169 new Among ( "d\u0131n", -1, -1, "", this),
170 new Among ( "t\u0131n", -1, -1, "", this),
171 new Among ( "du", -1, -1, "", this),
172 new Among ( "tu", -1, -1, "", this),
173 new Among ( "d\u00FC", -1, -1, "", this),
174 new Among ( "t\u00FC", -1, -1, "", this),
175 new Among ( "d\u0131", -1, -1, "", this),
176 new Among ( "t\u0131", -1, -1, "", this)
179 private Among a_21[] = {
180 new Among ( "sa", -1, -1, "", this),
181 new Among ( "se", -1, -1, "", this),
182 new Among ( "sak", -1, -1, "", this),
183 new Among ( "sek", -1, -1, "", this),
184 new Among ( "sam", -1, -1, "", this),
185 new Among ( "sem", -1, -1, "", this),
186 new Among ( "san", -1, -1, "", this),
187 new Among ( "sen", -1, -1, "", this)
190 private Among a_22[] = {
191 new Among ( "mi\u015F", -1, -1, "", this),
192 new Among ( "mu\u015F", -1, -1, "", this),
193 new Among ( "m\u00FC\u015F", -1, -1, "", this),
194 new Among ( "m\u0131\u015F", -1, -1, "", this)
197 private Among a_23[] = {
198 new Among ( "b", -1, 1, "", this),
199 new Among ( "c", -1, 2, "", this),
200 new Among ( "d", -1, 3, "", this),
201 new Among ( "\u011F", -1, 4, "", this)
204 private static final 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 };
206 private static final 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 };
208 private static final 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 };
210 private static final char g_vowel2[] = {17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130 };
212 private static final 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 };
214 private static final char g_vowel4[] = {17 };
216 private static final char g_vowel5[] = {65 };
218 private static final char g_vowel6[] = {65 };
220 private boolean B_continue_stemming_noun_suffixes;
221 private int I_strlen;
223 private void copy_from(TurkishStemmer other) {
224 B_continue_stemming_noun_suffixes = other.B_continue_stemming_noun_suffixes;
225 I_strlen = other.I_strlen;
226 super.copy_from(other);
229 private boolean r_check_vowel_harmony() {
243 v_1 = limit - cursor;
249 v_2 = limit - cursor;
251 if (!(in_grouping_b(g_vowel, 97, 305)))
255 cursor = limit - v_2;
258 cursor = limit - v_2;
259 if (cursor <= limit_backward)
268 v_3 = limit - cursor;
272 if (!(eq_s_b(1, "a")))
279 v_4 = limit - cursor;
281 if (!(in_grouping_b(g_vowel1, 97, 305)))
285 cursor = limit - v_4;
288 cursor = limit - v_4;
289 if (cursor <= limit_backward)
297 cursor = limit - v_3;
301 if (!(eq_s_b(1, "e")))
308 v_5 = limit - cursor;
310 if (!(in_grouping_b(g_vowel2, 101, 252)))
314 cursor = limit - v_5;
317 cursor = limit - v_5;
318 if (cursor <= limit_backward)
326 cursor = limit - v_3;
330 if (!(eq_s_b(1, "\u0131")))
337 v_6 = limit - cursor;
339 if (!(in_grouping_b(g_vowel3, 97, 305)))
343 cursor = limit - v_6;
346 cursor = limit - v_6;
347 if (cursor <= limit_backward)
355 cursor = limit - v_3;
359 if (!(eq_s_b(1, "i")))
366 v_7 = limit - cursor;
368 if (!(in_grouping_b(g_vowel4, 101, 105)))
372 cursor = limit - v_7;
375 cursor = limit - v_7;
376 if (cursor <= limit_backward)
384 cursor = limit - v_3;
388 if (!(eq_s_b(1, "o")))
395 v_8 = limit - cursor;
397 if (!(in_grouping_b(g_vowel5, 111, 117)))
401 cursor = limit - v_8;
404 cursor = limit - v_8;
405 if (cursor <= limit_backward)
413 cursor = limit - v_3;
417 if (!(eq_s_b(1, "\u00F6")))
424 v_9 = limit - cursor;
426 if (!(in_grouping_b(g_vowel6, 246, 252)))
430 cursor = limit - v_9;
433 cursor = limit - v_9;
434 if (cursor <= limit_backward)
442 cursor = limit - v_3;
446 if (!(eq_s_b(1, "u")))
453 v_10 = limit - cursor;
455 if (!(in_grouping_b(g_vowel5, 111, 117)))
459 cursor = limit - v_10;
462 cursor = limit - v_10;
463 if (cursor <= limit_backward)
471 cursor = limit - v_3;
474 if (!(eq_s_b(1, "\u00FC")))
481 v_11 = limit - cursor;
483 if (!(in_grouping_b(g_vowel6, 246, 252)))
487 cursor = limit - v_11;
490 cursor = limit - v_11;
491 if (cursor <= limit_backward)
498 cursor = limit - v_1;
502 private boolean r_mark_suffix_with_optional_n_consonant() {
513 v_1 = limit - cursor;
518 v_2 = limit - cursor;
520 if (!(eq_s_b(1, "n")))
524 cursor = limit - v_2;
526 if (cursor <= limit_backward)
533 v_3 = limit - cursor;
534 if (!(in_grouping_b(g_vowel, 97, 305)))
538 cursor = limit - v_3;
541 cursor = limit - v_1;
546 v_4 = limit - cursor;
550 v_5 = limit - cursor;
552 if (!(eq_s_b(1, "n")))
556 cursor = limit - v_5;
559 cursor = limit - v_4;
562 v_6 = limit - cursor;
565 if (cursor <= limit_backward)
572 v_7 = limit - cursor;
573 if (!(in_grouping_b(g_vowel, 97, 305)))
577 cursor = limit - v_7;
578 cursor = limit - v_6;
583 private boolean r_mark_suffix_with_optional_s_consonant() {
594 v_1 = limit - cursor;
599 v_2 = limit - cursor;
601 if (!(eq_s_b(1, "s")))
605 cursor = limit - v_2;
607 if (cursor <= limit_backward)
614 v_3 = limit - cursor;
615 if (!(in_grouping_b(g_vowel, 97, 305)))
619 cursor = limit - v_3;
622 cursor = limit - v_1;
627 v_4 = limit - cursor;
631 v_5 = limit - cursor;
633 if (!(eq_s_b(1, "s")))
637 cursor = limit - v_5;
640 cursor = limit - v_4;
643 v_6 = limit - cursor;
646 if (cursor <= limit_backward)
653 v_7 = limit - cursor;
654 if (!(in_grouping_b(g_vowel, 97, 305)))
658 cursor = limit - v_7;
659 cursor = limit - v_6;
664 private boolean r_mark_suffix_with_optional_y_consonant() {
675 v_1 = limit - cursor;
680 v_2 = limit - cursor;
682 if (!(eq_s_b(1, "y")))
686 cursor = limit - v_2;
688 if (cursor <= limit_backward)
695 v_3 = limit - cursor;
696 if (!(in_grouping_b(g_vowel, 97, 305)))
700 cursor = limit - v_3;
703 cursor = limit - v_1;
708 v_4 = limit - cursor;
712 v_5 = limit - cursor;
714 if (!(eq_s_b(1, "y")))
718 cursor = limit - v_5;
721 cursor = limit - v_4;
724 v_6 = limit - cursor;
727 if (cursor <= limit_backward)
734 v_7 = limit - cursor;
735 if (!(in_grouping_b(g_vowel, 97, 305)))
739 cursor = limit - v_7;
740 cursor = limit - v_6;
745 private boolean r_mark_suffix_with_optional_U_vowel() {
756 v_1 = limit - cursor;
761 v_2 = limit - cursor;
762 if (!(in_grouping_b(g_U, 105, 305)))
766 cursor = limit - v_2;
768 if (cursor <= limit_backward)
775 v_3 = limit - cursor;
776 if (!(out_grouping_b(g_vowel, 97, 305)))
780 cursor = limit - v_3;
783 cursor = limit - v_1;
788 v_4 = limit - cursor;
792 v_5 = limit - cursor;
793 if (!(in_grouping_b(g_U, 105, 305)))
797 cursor = limit - v_5;
800 cursor = limit - v_4;
803 v_6 = limit - cursor;
806 if (cursor <= limit_backward)
813 v_7 = limit - cursor;
814 if (!(out_grouping_b(g_vowel, 97, 305)))
818 cursor = limit - v_7;
819 cursor = limit - v_6;
824 private boolean r_mark_possessives() {
827 if (find_among_b(a_0, 10) == 0)
832 // call mark_suffix_with_optional_U_vowel, line 169
833 if (!r_mark_suffix_with_optional_U_vowel())
840 private boolean r_mark_sU() {
842 // call check_vowel_harmony, line 173
843 if (!r_check_vowel_harmony())
847 if (!(in_grouping_b(g_U, 105, 305)))
852 // call mark_suffix_with_optional_s_consonant, line 175
853 if (!r_mark_suffix_with_optional_s_consonant())
860 private boolean r_mark_lArI() {
863 if (find_among_b(a_1, 2) == 0)
870 private boolean r_mark_yU() {
872 // call check_vowel_harmony, line 183
873 if (!r_check_vowel_harmony())
877 if (!(in_grouping_b(g_U, 105, 305)))
882 // call mark_suffix_with_optional_y_consonant, line 185
883 if (!r_mark_suffix_with_optional_y_consonant())
890 private boolean r_mark_nU() {
892 // call check_vowel_harmony, line 189
893 if (!r_check_vowel_harmony())
898 if (find_among_b(a_2, 4) == 0)
905 private boolean r_mark_nUn() {
907 // call check_vowel_harmony, line 194
908 if (!r_check_vowel_harmony())
913 if (find_among_b(a_3, 4) == 0)
918 // call mark_suffix_with_optional_n_consonant, line 196
919 if (!r_mark_suffix_with_optional_n_consonant())
926 private boolean r_mark_yA() {
928 // call check_vowel_harmony, line 200
929 if (!r_check_vowel_harmony())
934 if (find_among_b(a_4, 2) == 0)
939 // call mark_suffix_with_optional_y_consonant, line 202
940 if (!r_mark_suffix_with_optional_y_consonant())
947 private boolean r_mark_nA() {
949 // call check_vowel_harmony, line 206
950 if (!r_check_vowel_harmony())
955 if (find_among_b(a_5, 2) == 0)
962 private boolean r_mark_DA() {
964 // call check_vowel_harmony, line 211
965 if (!r_check_vowel_harmony())
970 if (find_among_b(a_6, 4) == 0)
977 private boolean r_mark_ndA() {
979 // call check_vowel_harmony, line 216
980 if (!r_check_vowel_harmony())
985 if (find_among_b(a_7, 2) == 0)
992 private boolean r_mark_DAn() {
994 // call check_vowel_harmony, line 221
995 if (!r_check_vowel_harmony())
1000 if (find_among_b(a_8, 4) == 0)
1007 private boolean r_mark_ndAn() {
1009 // call check_vowel_harmony, line 226
1010 if (!r_check_vowel_harmony())
1015 if (find_among_b(a_9, 2) == 0)
1022 private boolean r_mark_ylA() {
1024 // call check_vowel_harmony, line 231
1025 if (!r_check_vowel_harmony())
1030 if (find_among_b(a_10, 2) == 0)
1035 // call mark_suffix_with_optional_y_consonant, line 233
1036 if (!r_mark_suffix_with_optional_y_consonant())
1043 private boolean r_mark_ki() {
1045 // literal, line 237
1046 if (!(eq_s_b(2, "ki")))
1053 private boolean r_mark_ncA() {
1055 // call check_vowel_harmony, line 241
1056 if (!r_check_vowel_harmony())
1061 if (find_among_b(a_11, 2) == 0)
1066 // call mark_suffix_with_optional_n_consonant, line 243
1067 if (!r_mark_suffix_with_optional_n_consonant())
1074 private boolean r_mark_yUm() {
1076 // call check_vowel_harmony, line 247
1077 if (!r_check_vowel_harmony())
1082 if (find_among_b(a_12, 4) == 0)
1087 // call mark_suffix_with_optional_y_consonant, line 249
1088 if (!r_mark_suffix_with_optional_y_consonant())
1095 private boolean r_mark_sUn() {
1097 // call check_vowel_harmony, line 253
1098 if (!r_check_vowel_harmony())
1103 if (find_among_b(a_13, 4) == 0)
1110 private boolean r_mark_yUz() {
1112 // call check_vowel_harmony, line 258
1113 if (!r_check_vowel_harmony())
1118 if (find_among_b(a_14, 4) == 0)
1123 // call mark_suffix_with_optional_y_consonant, line 260
1124 if (!r_mark_suffix_with_optional_y_consonant())
1131 private boolean r_mark_sUnUz() {
1134 if (find_among_b(a_15, 4) == 0)
1141 private boolean r_mark_lAr() {
1143 // call check_vowel_harmony, line 268
1144 if (!r_check_vowel_harmony())
1149 if (find_among_b(a_16, 2) == 0)
1156 private boolean r_mark_nUz() {
1158 // call check_vowel_harmony, line 273
1159 if (!r_check_vowel_harmony())
1164 if (find_among_b(a_17, 4) == 0)
1171 private boolean r_mark_DUr() {
1173 // call check_vowel_harmony, line 278
1174 if (!r_check_vowel_harmony())
1179 if (find_among_b(a_18, 8) == 0)
1186 private boolean r_mark_cAsInA() {
1189 if (find_among_b(a_19, 2) == 0)
1196 private boolean r_mark_yDU() {
1198 // call check_vowel_harmony, line 287
1199 if (!r_check_vowel_harmony())
1204 if (find_among_b(a_20, 32) == 0)
1209 // call mark_suffix_with_optional_y_consonant, line 292
1210 if (!r_mark_suffix_with_optional_y_consonant())
1217 private boolean r_mark_ysA() {
1220 if (find_among_b(a_21, 8) == 0)
1225 // call mark_suffix_with_optional_y_consonant, line 298
1226 if (!r_mark_suffix_with_optional_y_consonant())
1233 private boolean r_mark_ymUs_() {
1235 // call check_vowel_harmony, line 302
1236 if (!r_check_vowel_harmony())
1241 if (find_among_b(a_22, 4) == 0)
1246 // call mark_suffix_with_optional_y_consonant, line 304
1247 if (!r_mark_suffix_with_optional_y_consonant())
1254 private boolean r_mark_yken() {
1256 // literal, line 308
1257 if (!(eq_s_b(3, "ken")))
1262 // call mark_suffix_with_optional_y_consonant, line 308
1263 if (!r_mark_suffix_with_optional_y_consonant())
1270 private boolean r_stem_nominal_verb_suffixes() {
1284 // set continue_stemming_noun_suffixes, line 313
1285 B_continue_stemming_noun_suffixes = true;
1288 v_1 = limit - cursor;
1293 v_2 = limit - cursor;
1295 // call mark_ymUs_, line 314
1296 if (!r_mark_ymUs_())
1302 cursor = limit - v_2;
1304 // call mark_yDU, line 314
1311 cursor = limit - v_2;
1313 // call mark_ysA, line 314
1320 cursor = limit - v_2;
1321 // call mark_yken, line 314
1329 cursor = limit - v_1;
1332 // call mark_cAsInA, line 316
1333 if (!r_mark_cAsInA())
1340 v_3 = limit - cursor;
1342 // call mark_sUnUz, line 316
1343 if (!r_mark_sUnUz())
1349 cursor = limit - v_3;
1351 // call mark_lAr, line 316
1358 cursor = limit - v_3;
1360 // call mark_yUm, line 316
1367 cursor = limit - v_3;
1369 // call mark_sUn, line 316
1376 cursor = limit - v_3;
1378 // call mark_yUz, line 316
1385 cursor = limit - v_3;
1387 // call mark_ymUs_, line 316
1388 if (!r_mark_ymUs_())
1394 cursor = limit - v_1;
1397 // call mark_lAr, line 319
1407 v_4 = limit - cursor;
1415 v_5 = limit - cursor;
1417 // call mark_DUr, line 319
1424 cursor = limit - v_5;
1426 // call mark_yDU, line 319
1433 cursor = limit - v_5;
1435 // call mark_ysA, line 319
1442 cursor = limit - v_5;
1443 // call mark_ymUs_, line 319
1444 if (!r_mark_ymUs_())
1446 cursor = limit - v_4;
1451 // unset continue_stemming_noun_suffixes, line 320
1452 B_continue_stemming_noun_suffixes = false;
1455 cursor = limit - v_1;
1458 // call mark_nUz, line 323
1466 v_6 = limit - cursor;
1468 // call mark_yDU, line 323
1475 cursor = limit - v_6;
1476 // call mark_ysA, line 323
1484 cursor = limit - v_1;
1490 v_7 = limit - cursor;
1492 // call mark_sUnUz, line 325
1493 if (!r_mark_sUnUz())
1499 cursor = limit - v_7;
1501 // call mark_yUz, line 325
1508 cursor = limit - v_7;
1510 // call mark_sUn, line 325
1517 cursor = limit - v_7;
1518 // call mark_yUm, line 325
1529 v_8 = limit - cursor;
1534 // call mark_ymUs_, line 325
1535 if (!r_mark_ymUs_())
1537 cursor = limit - v_8;
1543 cursor = limit - v_1;
1545 // call mark_DUr, line 327
1555 v_9 = limit - cursor;
1563 v_10 = limit - cursor;
1565 // call mark_sUnUz, line 327
1566 if (!r_mark_sUnUz())
1572 cursor = limit - v_10;
1574 // call mark_lAr, line 327
1581 cursor = limit - v_10;
1583 // call mark_yUm, line 327
1590 cursor = limit - v_10;
1592 // call mark_sUn, line 327
1599 cursor = limit - v_10;
1601 // call mark_yUz, line 327
1608 cursor = limit - v_10;
1610 // call mark_ymUs_, line 327
1611 if (!r_mark_ymUs_())
1613 cursor = limit - v_9;
1625 private boolean r_stem_suffix_chain_before_ki() {
1640 // call mark_ki, line 334
1648 v_1 = limit - cursor;
1651 // call mark_DA, line 336
1661 v_2 = limit - cursor;
1668 v_3 = limit - cursor;
1671 // call mark_lAr, line 337
1681 v_4 = limit - cursor;
1684 // call stem_suffix_chain_before_ki, line 337
1685 if (!r_stem_suffix_chain_before_ki())
1687 cursor = limit - v_4;
1693 cursor = limit - v_3;
1695 // call mark_possessives, line 339
1696 if (!r_mark_possessives())
1698 cursor = limit - v_2;
1706 v_5 = limit - cursor;
1711 // call mark_lAr, line 339
1714 cursor = limit - v_5;
1721 // call stem_suffix_chain_before_ki, line 339
1722 if (!r_stem_suffix_chain_before_ki())
1724 cursor = limit - v_5;
1732 cursor = limit - v_1;
1735 // call mark_nUn, line 343
1745 v_6 = limit - cursor;
1752 v_7 = limit - cursor;
1755 // call mark_lArI, line 344
1766 cursor = limit - v_7;
1773 v_8 = limit - cursor;
1775 // call mark_possessives, line 346
1776 if (!r_mark_possessives())
1782 cursor = limit - v_8;
1783 // call mark_sU, line 346
1794 v_9 = limit - cursor;
1799 // call mark_lAr, line 346
1802 cursor = limit - v_9;
1809 // call stem_suffix_chain_before_ki, line 346
1810 if (!r_stem_suffix_chain_before_ki())
1812 cursor = limit - v_9;
1818 cursor = limit - v_7;
1820 // call stem_suffix_chain_before_ki, line 348
1821 if (!r_stem_suffix_chain_before_ki())
1823 cursor = limit - v_6;
1830 cursor = limit - v_1;
1832 // call mark_ndA, line 351
1840 v_10 = limit - cursor;
1843 // call mark_lArI, line 352
1854 cursor = limit - v_10;
1858 // call mark_sU, line 354
1868 v_11 = limit - cursor;
1873 // call mark_lAr, line 354
1876 cursor = limit - v_11;
1883 // call stem_suffix_chain_before_ki, line 354
1884 if (!r_stem_suffix_chain_before_ki())
1886 cursor = limit - v_11;
1892 cursor = limit - v_10;
1894 // call stem_suffix_chain_before_ki, line 356
1895 if (!r_stem_suffix_chain_before_ki())
1904 private boolean r_stem_noun_suffixes() {
1935 v_1 = limit - cursor;
1940 // call mark_lAr, line 362
1950 v_2 = limit - cursor;
1953 // call stem_suffix_chain_before_ki, line 362
1954 if (!r_stem_suffix_chain_before_ki())
1956 cursor = limit - v_2;
1962 cursor = limit - v_1;
1967 // call mark_ncA, line 364
1977 v_3 = limit - cursor;
1982 v_4 = limit - cursor;
1987 // call mark_lArI, line 366
1998 cursor = limit - v_4;
2005 v_5 = limit - cursor;
2007 // call mark_possessives, line 368
2008 if (!r_mark_possessives())
2014 cursor = limit - v_5;
2015 // call mark_sU, line 368
2026 v_6 = limit - cursor;
2031 // call mark_lAr, line 368
2034 cursor = limit - v_6;
2041 // call stem_suffix_chain_before_ki, line 368
2042 if (!r_stem_suffix_chain_before_ki())
2044 cursor = limit - v_6;
2050 cursor = limit - v_4;
2054 // call mark_lAr, line 370
2057 cursor = limit - v_3;
2064 // call stem_suffix_chain_before_ki, line 370
2065 if (!r_stem_suffix_chain_before_ki())
2067 cursor = limit - v_3;
2074 cursor = limit - v_1;
2082 v_7 = limit - cursor;
2084 // call mark_ndA, line 374
2091 cursor = limit - v_7;
2092 // call mark_nA, line 374
2101 v_8 = limit - cursor;
2104 // call mark_lArI, line 376
2115 cursor = limit - v_8;
2118 // call mark_sU, line 378
2128 v_9 = limit - cursor;
2133 // call mark_lAr, line 378
2136 cursor = limit - v_9;
2143 // call stem_suffix_chain_before_ki, line 378
2144 if (!r_stem_suffix_chain_before_ki())
2146 cursor = limit - v_9;
2152 cursor = limit - v_8;
2154 // call stem_suffix_chain_before_ki, line 380
2155 if (!r_stem_suffix_chain_before_ki())
2162 cursor = limit - v_1;
2170 v_10 = limit - cursor;
2172 // call mark_ndAn, line 384
2179 cursor = limit - v_10;
2180 // call mark_nU, line 384
2189 v_11 = limit - cursor;
2192 // call mark_sU, line 384
2202 v_12 = limit - cursor;
2207 // call mark_lAr, line 384
2210 cursor = limit - v_12;
2217 // call stem_suffix_chain_before_ki, line 384
2218 if (!r_stem_suffix_chain_before_ki())
2220 cursor = limit - v_12;
2226 cursor = limit - v_11;
2228 // call mark_lArI, line 384
2236 cursor = limit - v_1;
2241 // call mark_DAn, line 386
2251 v_13 = limit - cursor;
2259 v_14 = limit - cursor;
2262 // call mark_possessives, line 388
2263 if (!r_mark_possessives())
2272 v_15 = limit - cursor;
2277 // call mark_lAr, line 388
2280 cursor = limit - v_15;
2287 // call stem_suffix_chain_before_ki, line 388
2288 if (!r_stem_suffix_chain_before_ki())
2290 cursor = limit - v_15;
2296 cursor = limit - v_14;
2299 // call mark_lAr, line 390
2309 v_16 = limit - cursor;
2312 // call stem_suffix_chain_before_ki, line 390
2313 if (!r_stem_suffix_chain_before_ki())
2315 cursor = limit - v_16;
2321 cursor = limit - v_14;
2323 // call stem_suffix_chain_before_ki, line 392
2324 if (!r_stem_suffix_chain_before_ki())
2326 cursor = limit - v_13;
2333 cursor = limit - v_1;
2340 v_17 = limit - cursor;
2342 // call mark_nUn, line 396
2349 cursor = limit - v_17;
2350 // call mark_ylA, line 396
2361 v_18 = limit - cursor;
2366 v_19 = limit - cursor;
2371 // call mark_lAr, line 398
2380 // call stem_suffix_chain_before_ki, line 398
2381 if (!r_stem_suffix_chain_before_ki())
2387 cursor = limit - v_19;
2394 v_20 = limit - cursor;
2396 // call mark_possessives, line 400
2397 if (!r_mark_possessives())
2403 cursor = limit - v_20;
2404 // call mark_sU, line 400
2415 v_21 = limit - cursor;
2420 // call mark_lAr, line 400
2423 cursor = limit - v_21;
2430 // call stem_suffix_chain_before_ki, line 400
2431 if (!r_stem_suffix_chain_before_ki())
2433 cursor = limit - v_21;
2439 cursor = limit - v_19;
2440 // call stem_suffix_chain_before_ki, line 402
2441 if (!r_stem_suffix_chain_before_ki())
2443 cursor = limit - v_18;
2450 cursor = limit - v_1;
2455 // call mark_lArI, line 406
2466 cursor = limit - v_1;
2469 // call stem_suffix_chain_before_ki, line 408
2470 if (!r_stem_suffix_chain_before_ki())
2476 cursor = limit - v_1;
2483 v_22 = limit - cursor;
2485 // call mark_DA, line 410
2492 cursor = limit - v_22;
2494 // call mark_yU, line 410
2501 cursor = limit - v_22;
2502 // call mark_yA, line 410
2513 v_23 = limit - cursor;
2521 v_24 = limit - cursor;
2524 // call mark_possessives, line 410
2525 if (!r_mark_possessives())
2534 v_25 = limit - cursor;
2539 // call mark_lAr, line 410
2542 cursor = limit - v_25;
2548 cursor = limit - v_24;
2549 // call mark_lAr, line 410
2552 cursor = limit - v_23;
2562 // call stem_suffix_chain_before_ki, line 410
2563 if (!r_stem_suffix_chain_before_ki())
2565 cursor = limit - v_23;
2571 cursor = limit - v_1;
2577 v_26 = limit - cursor;
2579 // call mark_possessives, line 412
2580 if (!r_mark_possessives())
2586 cursor = limit - v_26;
2587 // call mark_sU, line 412
2598 v_27 = limit - cursor;
2603 // call mark_lAr, line 412
2606 cursor = limit - v_27;
2613 // call stem_suffix_chain_before_ki, line 412
2614 if (!r_stem_suffix_chain_before_ki())
2616 cursor = limit - v_27;
2624 private boolean r_post_process_last_consonants() {
2629 // substring, line 416
2630 among_var = find_among_b(a_23, 4);
2648 slice_from("\u00E7");
2664 private boolean r_append_U_to_stems_ending_with_d_or_g() {
2682 v_1 = limit - cursor;
2686 v_2 = limit - cursor;
2688 // literal, line 431
2689 if (!(eq_s_b(1, "d")))
2695 cursor = limit - v_2;
2696 // literal, line 431
2697 if (!(eq_s_b(1, "g")))
2702 cursor = limit - v_1;
2705 v_3 = limit - cursor;
2709 v_4 = limit - cursor;
2715 v_5 = limit - cursor;
2717 if (!(in_grouping_b(g_vowel, 97, 305)))
2721 cursor = limit - v_5;
2724 cursor = limit - v_5;
2725 if (cursor <= limit_backward)
2733 v_6 = limit - cursor;
2735 // literal, line 432
2736 if (!(eq_s_b(1, "a")))
2742 cursor = limit - v_6;
2743 // literal, line 432
2744 if (!(eq_s_b(1, "\u0131")))
2749 cursor = limit - v_4;
2753 insert(cursor, cursor, "\u0131");
2758 cursor = limit - v_3;
2762 v_7 = limit - cursor;
2768 v_8 = limit - cursor;
2770 if (!(in_grouping_b(g_vowel, 97, 305)))
2774 cursor = limit - v_8;
2777 cursor = limit - v_8;
2778 if (cursor <= limit_backward)
2786 v_9 = limit - cursor;
2788 // literal, line 434
2789 if (!(eq_s_b(1, "e")))
2795 cursor = limit - v_9;
2796 // literal, line 434
2797 if (!(eq_s_b(1, "i")))
2802 cursor = limit - v_7;
2806 insert(cursor, cursor, "i");
2811 cursor = limit - v_3;
2815 v_10 = limit - cursor;
2819 golab14: while(true)
2821 v_11 = limit - cursor;
2823 if (!(in_grouping_b(g_vowel, 97, 305)))
2827 cursor = limit - v_11;
2830 cursor = limit - v_11;
2831 if (cursor <= limit_backward)
2839 v_12 = limit - cursor;
2841 // literal, line 436
2842 if (!(eq_s_b(1, "o")))
2848 cursor = limit - v_12;
2849 // literal, line 436
2850 if (!(eq_s_b(1, "u")))
2855 cursor = limit - v_10;
2859 insert(cursor, cursor, "u");
2864 cursor = limit - v_3;
2867 v_13 = limit - cursor;
2871 golab18: while(true)
2873 v_14 = limit - cursor;
2875 if (!(in_grouping_b(g_vowel, 97, 305)))
2879 cursor = limit - v_14;
2882 cursor = limit - v_14;
2883 if (cursor <= limit_backward)
2891 v_15 = limit - cursor;
2893 // literal, line 438
2894 if (!(eq_s_b(1, "\u00F6")))
2900 cursor = limit - v_15;
2901 // literal, line 438
2902 if (!(eq_s_b(1, "\u00FC")))
2907 cursor = limit - v_13;
2911 insert(cursor, cursor, "\u00FC");
2918 private boolean r_more_than_one_syllable_word() {
2925 // atleast, line 446
2928 // atleast, line 446
2929 replab0: while(true)
2938 if (!(in_grouping(g_vowel, 97, 305)))
2944 if (cursor >= limit)
2965 private boolean r_is_reserved_word() {
2981 // literal, line 450
2982 if (!(eq_s(2, "ad")))
2988 if (cursor >= limit)
2997 if (!(I_strlen == limit))
3012 // literal, line 452
3013 if (!(eq_s(5, "soyad")))
3019 if (cursor >= limit)
3028 if (!(I_strlen == limit))
3037 private boolean r_postlude() {
3047 // call is_reserved_word, line 456
3048 if (!r_is_reserved_word())
3056 // backwards, line 457
3057 limit_backward = cursor; cursor = limit;
3060 v_2 = limit - cursor;
3062 // call append_U_to_stems_ending_with_d_or_g, line 458
3063 if (!r_append_U_to_stems_ending_with_d_or_g())
3068 cursor = limit - v_2;
3070 v_3 = limit - cursor;
3072 // call post_process_last_consonants, line 459
3073 if (!r_post_process_last_consonants())
3078 cursor = limit - v_3;
3079 cursor = limit_backward; return true;
3082 public boolean stem() {
3087 // call more_than_one_syllable_word, line 465
3088 if (!r_more_than_one_syllable_word())
3093 // backwards, line 467
3094 limit_backward = cursor; cursor = limit;
3097 v_1 = limit - cursor;
3099 // call stem_nominal_verb_suffixes, line 468
3100 if (!r_stem_nominal_verb_suffixes())
3105 cursor = limit - v_1;
3106 // Boolean test continue_stemming_noun_suffixes, line 469
3107 if (!(B_continue_stemming_noun_suffixes))
3112 v_2 = limit - cursor;
3114 // call stem_noun_suffixes, line 470
3115 if (!r_stem_noun_suffixes())
3120 cursor = limit - v_2;
3121 cursor = limit_backward; // call postlude, line 473