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