LCOV - code coverage report
Current view: top level - src/backend/snowball/libstemmer - stem_ISO_8859_2_hungarian.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 0 274 0.0 %
Date: 2024-11-21 08:14:44 Functions: 0 17 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* Generated by Snowball 2.2.0 - https://snowballstem.org/ */
       2             : 
       3             : #include "header.h"
       4             : 
       5             : #ifdef __cplusplus
       6             : extern "C" {
       7             : #endif
       8             : extern int hungarian_ISO_8859_2_stem(struct SN_env * z);
       9             : #ifdef __cplusplus
      10             : }
      11             : #endif
      12             : static int r_double(struct SN_env * z);
      13             : static int r_undouble(struct SN_env * z);
      14             : static int r_factive(struct SN_env * z);
      15             : static int r_instrum(struct SN_env * z);
      16             : static int r_plur_owner(struct SN_env * z);
      17             : static int r_sing_owner(struct SN_env * z);
      18             : static int r_owned(struct SN_env * z);
      19             : static int r_plural(struct SN_env * z);
      20             : static int r_case_other(struct SN_env * z);
      21             : static int r_case_special(struct SN_env * z);
      22             : static int r_case(struct SN_env * z);
      23             : static int r_v_ending(struct SN_env * z);
      24             : static int r_R1(struct SN_env * z);
      25             : static int r_mark_regions(struct SN_env * z);
      26             : #ifdef __cplusplus
      27             : extern "C" {
      28             : #endif
      29             : 
      30             : 
      31             : extern struct SN_env * hungarian_ISO_8859_2_create_env(void);
      32             : extern void hungarian_ISO_8859_2_close_env(struct SN_env * z);
      33             : 
      34             : 
      35             : #ifdef __cplusplus
      36             : }
      37             : #endif
      38             : static const symbol s_0_0[2] = { 'c', 's' };
      39             : static const symbol s_0_1[3] = { 'd', 'z', 's' };
      40             : static const symbol s_0_2[2] = { 'g', 'y' };
      41             : static const symbol s_0_3[2] = { 'l', 'y' };
      42             : static const symbol s_0_4[2] = { 'n', 'y' };
      43             : static const symbol s_0_5[2] = { 's', 'z' };
      44             : static const symbol s_0_6[2] = { 't', 'y' };
      45             : static const symbol s_0_7[2] = { 'z', 's' };
      46             : 
      47             : static const struct among a_0[8] =
      48             : {
      49             : { 2, s_0_0, -1, -1, 0},
      50             : { 3, s_0_1, -1, -1, 0},
      51             : { 2, s_0_2, -1, -1, 0},
      52             : { 2, s_0_3, -1, -1, 0},
      53             : { 2, s_0_4, -1, -1, 0},
      54             : { 2, s_0_5, -1, -1, 0},
      55             : { 2, s_0_6, -1, -1, 0},
      56             : { 2, s_0_7, -1, -1, 0}
      57             : };
      58             : 
      59             : static const symbol s_1_0[1] = { 0xE1 };
      60             : static const symbol s_1_1[1] = { 0xE9 };
      61             : 
      62             : static const struct among a_1[2] =
      63             : {
      64             : { 1, s_1_0, -1, 1, 0},
      65             : { 1, s_1_1, -1, 2, 0}
      66             : };
      67             : 
      68             : static const symbol s_2_0[2] = { 'b', 'b' };
      69             : static const symbol s_2_1[2] = { 'c', 'c' };
      70             : static const symbol s_2_2[2] = { 'd', 'd' };
      71             : static const symbol s_2_3[2] = { 'f', 'f' };
      72             : static const symbol s_2_4[2] = { 'g', 'g' };
      73             : static const symbol s_2_5[2] = { 'j', 'j' };
      74             : static const symbol s_2_6[2] = { 'k', 'k' };
      75             : static const symbol s_2_7[2] = { 'l', 'l' };
      76             : static const symbol s_2_8[2] = { 'm', 'm' };
      77             : static const symbol s_2_9[2] = { 'n', 'n' };
      78             : static const symbol s_2_10[2] = { 'p', 'p' };
      79             : static const symbol s_2_11[2] = { 'r', 'r' };
      80             : static const symbol s_2_12[3] = { 'c', 'c', 's' };
      81             : static const symbol s_2_13[2] = { 's', 's' };
      82             : static const symbol s_2_14[3] = { 'z', 'z', 's' };
      83             : static const symbol s_2_15[2] = { 't', 't' };
      84             : static const symbol s_2_16[2] = { 'v', 'v' };
      85             : static const symbol s_2_17[3] = { 'g', 'g', 'y' };
      86             : static const symbol s_2_18[3] = { 'l', 'l', 'y' };
      87             : static const symbol s_2_19[3] = { 'n', 'n', 'y' };
      88             : static const symbol s_2_20[3] = { 't', 't', 'y' };
      89             : static const symbol s_2_21[3] = { 's', 's', 'z' };
      90             : static const symbol s_2_22[2] = { 'z', 'z' };
      91             : 
      92             : static const struct among a_2[23] =
      93             : {
      94             : { 2, s_2_0, -1, -1, 0},
      95             : { 2, s_2_1, -1, -1, 0},
      96             : { 2, s_2_2, -1, -1, 0},
      97             : { 2, s_2_3, -1, -1, 0},
      98             : { 2, s_2_4, -1, -1, 0},
      99             : { 2, s_2_5, -1, -1, 0},
     100             : { 2, s_2_6, -1, -1, 0},
     101             : { 2, s_2_7, -1, -1, 0},
     102             : { 2, s_2_8, -1, -1, 0},
     103             : { 2, s_2_9, -1, -1, 0},
     104             : { 2, s_2_10, -1, -1, 0},
     105             : { 2, s_2_11, -1, -1, 0},
     106             : { 3, s_2_12, -1, -1, 0},
     107             : { 2, s_2_13, -1, -1, 0},
     108             : { 3, s_2_14, -1, -1, 0},
     109             : { 2, s_2_15, -1, -1, 0},
     110             : { 2, s_2_16, -1, -1, 0},
     111             : { 3, s_2_17, -1, -1, 0},
     112             : { 3, s_2_18, -1, -1, 0},
     113             : { 3, s_2_19, -1, -1, 0},
     114             : { 3, s_2_20, -1, -1, 0},
     115             : { 3, s_2_21, -1, -1, 0},
     116             : { 2, s_2_22, -1, -1, 0}
     117             : };
     118             : 
     119             : static const symbol s_3_0[2] = { 'a', 'l' };
     120             : static const symbol s_3_1[2] = { 'e', 'l' };
     121             : 
     122             : static const struct among a_3[2] =
     123             : {
     124             : { 2, s_3_0, -1, 1, 0},
     125             : { 2, s_3_1, -1, 1, 0}
     126             : };
     127             : 
     128             : static const symbol s_4_0[2] = { 'b', 'a' };
     129             : static const symbol s_4_1[2] = { 'r', 'a' };
     130             : static const symbol s_4_2[2] = { 'b', 'e' };
     131             : static const symbol s_4_3[2] = { 'r', 'e' };
     132             : static const symbol s_4_4[2] = { 'i', 'g' };
     133             : static const symbol s_4_5[3] = { 'n', 'a', 'k' };
     134             : static const symbol s_4_6[3] = { 'n', 'e', 'k' };
     135             : static const symbol s_4_7[3] = { 'v', 'a', 'l' };
     136             : static const symbol s_4_8[3] = { 'v', 'e', 'l' };
     137             : static const symbol s_4_9[2] = { 'u', 'l' };
     138             : static const symbol s_4_10[3] = { 'n', 0xE1, 'l' };
     139             : static const symbol s_4_11[3] = { 'n', 0xE9, 'l' };
     140             : static const symbol s_4_12[3] = { 'b', 0xF3, 'l' };
     141             : static const symbol s_4_13[3] = { 'r', 0xF3, 'l' };
     142             : static const symbol s_4_14[3] = { 't', 0xF3, 'l' };
     143             : static const symbol s_4_15[3] = { 'b', 0xF5, 'l' };
     144             : static const symbol s_4_16[3] = { 'r', 0xF5, 'l' };
     145             : static const symbol s_4_17[3] = { 't', 0xF5, 'l' };
     146             : static const symbol s_4_18[2] = { 0xFC, 'l' };
     147             : static const symbol s_4_19[1] = { 'n' };
     148             : static const symbol s_4_20[2] = { 'a', 'n' };
     149             : static const symbol s_4_21[3] = { 'b', 'a', 'n' };
     150             : static const symbol s_4_22[2] = { 'e', 'n' };
     151             : static const symbol s_4_23[3] = { 'b', 'e', 'n' };
     152             : static const symbol s_4_24[6] = { 'k', 0xE9, 'p', 'p', 'e', 'n' };
     153             : static const symbol s_4_25[2] = { 'o', 'n' };
     154             : static const symbol s_4_26[2] = { 0xF6, 'n' };
     155             : static const symbol s_4_27[4] = { 'k', 0xE9, 'p', 'p' };
     156             : static const symbol s_4_28[3] = { 'k', 'o', 'r' };
     157             : static const symbol s_4_29[1] = { 't' };
     158             : static const symbol s_4_30[2] = { 'a', 't' };
     159             : static const symbol s_4_31[2] = { 'e', 't' };
     160             : static const symbol s_4_32[4] = { 'k', 0xE9, 'n', 't' };
     161             : static const symbol s_4_33[6] = { 'a', 'n', 'k', 0xE9, 'n', 't' };
     162             : static const symbol s_4_34[6] = { 'e', 'n', 'k', 0xE9, 'n', 't' };
     163             : static const symbol s_4_35[6] = { 'o', 'n', 'k', 0xE9, 'n', 't' };
     164             : static const symbol s_4_36[2] = { 'o', 't' };
     165             : static const symbol s_4_37[3] = { 0xE9, 'r', 't' };
     166             : static const symbol s_4_38[2] = { 0xF6, 't' };
     167             : static const symbol s_4_39[3] = { 'h', 'e', 'z' };
     168             : static const symbol s_4_40[3] = { 'h', 'o', 'z' };
     169             : static const symbol s_4_41[3] = { 'h', 0xF6, 'z' };
     170             : static const symbol s_4_42[2] = { 'v', 0xE1 };
     171             : static const symbol s_4_43[2] = { 'v', 0xE9 };
     172             : 
     173             : static const struct among a_4[44] =
     174             : {
     175             : { 2, s_4_0, -1, -1, 0},
     176             : { 2, s_4_1, -1, -1, 0},
     177             : { 2, s_4_2, -1, -1, 0},
     178             : { 2, s_4_3, -1, -1, 0},
     179             : { 2, s_4_4, -1, -1, 0},
     180             : { 3, s_4_5, -1, -1, 0},
     181             : { 3, s_4_6, -1, -1, 0},
     182             : { 3, s_4_7, -1, -1, 0},
     183             : { 3, s_4_8, -1, -1, 0},
     184             : { 2, s_4_9, -1, -1, 0},
     185             : { 3, s_4_10, -1, -1, 0},
     186             : { 3, s_4_11, -1, -1, 0},
     187             : { 3, s_4_12, -1, -1, 0},
     188             : { 3, s_4_13, -1, -1, 0},
     189             : { 3, s_4_14, -1, -1, 0},
     190             : { 3, s_4_15, -1, -1, 0},
     191             : { 3, s_4_16, -1, -1, 0},
     192             : { 3, s_4_17, -1, -1, 0},
     193             : { 2, s_4_18, -1, -1, 0},
     194             : { 1, s_4_19, -1, -1, 0},
     195             : { 2, s_4_20, 19, -1, 0},
     196             : { 3, s_4_21, 20, -1, 0},
     197             : { 2, s_4_22, 19, -1, 0},
     198             : { 3, s_4_23, 22, -1, 0},
     199             : { 6, s_4_24, 22, -1, 0},
     200             : { 2, s_4_25, 19, -1, 0},
     201             : { 2, s_4_26, 19, -1, 0},
     202             : { 4, s_4_27, -1, -1, 0},
     203             : { 3, s_4_28, -1, -1, 0},
     204             : { 1, s_4_29, -1, -1, 0},
     205             : { 2, s_4_30, 29, -1, 0},
     206             : { 2, s_4_31, 29, -1, 0},
     207             : { 4, s_4_32, 29, -1, 0},
     208             : { 6, s_4_33, 32, -1, 0},
     209             : { 6, s_4_34, 32, -1, 0},
     210             : { 6, s_4_35, 32, -1, 0},
     211             : { 2, s_4_36, 29, -1, 0},
     212             : { 3, s_4_37, 29, -1, 0},
     213             : { 2, s_4_38, 29, -1, 0},
     214             : { 3, s_4_39, -1, -1, 0},
     215             : { 3, s_4_40, -1, -1, 0},
     216             : { 3, s_4_41, -1, -1, 0},
     217             : { 2, s_4_42, -1, -1, 0},
     218             : { 2, s_4_43, -1, -1, 0}
     219             : };
     220             : 
     221             : static const symbol s_5_0[2] = { 0xE1, 'n' };
     222             : static const symbol s_5_1[2] = { 0xE9, 'n' };
     223             : static const symbol s_5_2[6] = { 0xE1, 'n', 'k', 0xE9, 'n', 't' };
     224             : 
     225             : static const struct among a_5[3] =
     226             : {
     227             : { 2, s_5_0, -1, 2, 0},
     228             : { 2, s_5_1, -1, 1, 0},
     229             : { 6, s_5_2, -1, 2, 0}
     230             : };
     231             : 
     232             : static const symbol s_6_0[4] = { 's', 't', 'u', 'l' };
     233             : static const symbol s_6_1[5] = { 'a', 's', 't', 'u', 'l' };
     234             : static const symbol s_6_2[5] = { 0xE1, 's', 't', 'u', 'l' };
     235             : static const symbol s_6_3[4] = { 's', 't', 0xFC, 'l' };
     236             : static const symbol s_6_4[5] = { 'e', 's', 't', 0xFC, 'l' };
     237             : static const symbol s_6_5[5] = { 0xE9, 's', 't', 0xFC, 'l' };
     238             : 
     239             : static const struct among a_6[6] =
     240             : {
     241             : { 4, s_6_0, -1, 1, 0},
     242             : { 5, s_6_1, 0, 1, 0},
     243             : { 5, s_6_2, 0, 2, 0},
     244             : { 4, s_6_3, -1, 1, 0},
     245             : { 5, s_6_4, 3, 1, 0},
     246             : { 5, s_6_5, 3, 3, 0}
     247             : };
     248             : 
     249             : static const symbol s_7_0[1] = { 0xE1 };
     250             : static const symbol s_7_1[1] = { 0xE9 };
     251             : 
     252             : static const struct among a_7[2] =
     253             : {
     254             : { 1, s_7_0, -1, 1, 0},
     255             : { 1, s_7_1, -1, 1, 0}
     256             : };
     257             : 
     258             : static const symbol s_8_0[1] = { 'k' };
     259             : static const symbol s_8_1[2] = { 'a', 'k' };
     260             : static const symbol s_8_2[2] = { 'e', 'k' };
     261             : static const symbol s_8_3[2] = { 'o', 'k' };
     262             : static const symbol s_8_4[2] = { 0xE1, 'k' };
     263             : static const symbol s_8_5[2] = { 0xE9, 'k' };
     264             : static const symbol s_8_6[2] = { 0xF6, 'k' };
     265             : 
     266             : static const struct among a_8[7] =
     267             : {
     268             : { 1, s_8_0, -1, 3, 0},
     269             : { 2, s_8_1, 0, 3, 0},
     270             : { 2, s_8_2, 0, 3, 0},
     271             : { 2, s_8_3, 0, 3, 0},
     272             : { 2, s_8_4, 0, 1, 0},
     273             : { 2, s_8_5, 0, 2, 0},
     274             : { 2, s_8_6, 0, 3, 0}
     275             : };
     276             : 
     277             : static const symbol s_9_0[2] = { 0xE9, 'i' };
     278             : static const symbol s_9_1[3] = { 0xE1, 0xE9, 'i' };
     279             : static const symbol s_9_2[3] = { 0xE9, 0xE9, 'i' };
     280             : static const symbol s_9_3[1] = { 0xE9 };
     281             : static const symbol s_9_4[2] = { 'k', 0xE9 };
     282             : static const symbol s_9_5[3] = { 'a', 'k', 0xE9 };
     283             : static const symbol s_9_6[3] = { 'e', 'k', 0xE9 };
     284             : static const symbol s_9_7[3] = { 'o', 'k', 0xE9 };
     285             : static const symbol s_9_8[3] = { 0xE1, 'k', 0xE9 };
     286             : static const symbol s_9_9[3] = { 0xE9, 'k', 0xE9 };
     287             : static const symbol s_9_10[3] = { 0xF6, 'k', 0xE9 };
     288             : static const symbol s_9_11[2] = { 0xE9, 0xE9 };
     289             : 
     290             : static const struct among a_9[12] =
     291             : {
     292             : { 2, s_9_0, -1, 1, 0},
     293             : { 3, s_9_1, 0, 3, 0},
     294             : { 3, s_9_2, 0, 2, 0},
     295             : { 1, s_9_3, -1, 1, 0},
     296             : { 2, s_9_4, 3, 1, 0},
     297             : { 3, s_9_5, 4, 1, 0},
     298             : { 3, s_9_6, 4, 1, 0},
     299             : { 3, s_9_7, 4, 1, 0},
     300             : { 3, s_9_8, 4, 3, 0},
     301             : { 3, s_9_9, 4, 2, 0},
     302             : { 3, s_9_10, 4, 1, 0},
     303             : { 2, s_9_11, 3, 2, 0}
     304             : };
     305             : 
     306             : static const symbol s_10_0[1] = { 'a' };
     307             : static const symbol s_10_1[2] = { 'j', 'a' };
     308             : static const symbol s_10_2[1] = { 'd' };
     309             : static const symbol s_10_3[2] = { 'a', 'd' };
     310             : static const symbol s_10_4[2] = { 'e', 'd' };
     311             : static const symbol s_10_5[2] = { 'o', 'd' };
     312             : static const symbol s_10_6[2] = { 0xE1, 'd' };
     313             : static const symbol s_10_7[2] = { 0xE9, 'd' };
     314             : static const symbol s_10_8[2] = { 0xF6, 'd' };
     315             : static const symbol s_10_9[1] = { 'e' };
     316             : static const symbol s_10_10[2] = { 'j', 'e' };
     317             : static const symbol s_10_11[2] = { 'n', 'k' };
     318             : static const symbol s_10_12[3] = { 'u', 'n', 'k' };
     319             : static const symbol s_10_13[3] = { 0xE1, 'n', 'k' };
     320             : static const symbol s_10_14[3] = { 0xE9, 'n', 'k' };
     321             : static const symbol s_10_15[3] = { 0xFC, 'n', 'k' };
     322             : static const symbol s_10_16[2] = { 'u', 'k' };
     323             : static const symbol s_10_17[3] = { 'j', 'u', 'k' };
     324             : static const symbol s_10_18[4] = { 0xE1, 'j', 'u', 'k' };
     325             : static const symbol s_10_19[2] = { 0xFC, 'k' };
     326             : static const symbol s_10_20[3] = { 'j', 0xFC, 'k' };
     327             : static const symbol s_10_21[4] = { 0xE9, 'j', 0xFC, 'k' };
     328             : static const symbol s_10_22[1] = { 'm' };
     329             : static const symbol s_10_23[2] = { 'a', 'm' };
     330             : static const symbol s_10_24[2] = { 'e', 'm' };
     331             : static const symbol s_10_25[2] = { 'o', 'm' };
     332             : static const symbol s_10_26[2] = { 0xE1, 'm' };
     333             : static const symbol s_10_27[2] = { 0xE9, 'm' };
     334             : static const symbol s_10_28[1] = { 'o' };
     335             : static const symbol s_10_29[1] = { 0xE1 };
     336             : static const symbol s_10_30[1] = { 0xE9 };
     337             : 
     338             : static const struct among a_10[31] =
     339             : {
     340             : { 1, s_10_0, -1, 1, 0},
     341             : { 2, s_10_1, 0, 1, 0},
     342             : { 1, s_10_2, -1, 1, 0},
     343             : { 2, s_10_3, 2, 1, 0},
     344             : { 2, s_10_4, 2, 1, 0},
     345             : { 2, s_10_5, 2, 1, 0},
     346             : { 2, s_10_6, 2, 2, 0},
     347             : { 2, s_10_7, 2, 3, 0},
     348             : { 2, s_10_8, 2, 1, 0},
     349             : { 1, s_10_9, -1, 1, 0},
     350             : { 2, s_10_10, 9, 1, 0},
     351             : { 2, s_10_11, -1, 1, 0},
     352             : { 3, s_10_12, 11, 1, 0},
     353             : { 3, s_10_13, 11, 2, 0},
     354             : { 3, s_10_14, 11, 3, 0},
     355             : { 3, s_10_15, 11, 1, 0},
     356             : { 2, s_10_16, -1, 1, 0},
     357             : { 3, s_10_17, 16, 1, 0},
     358             : { 4, s_10_18, 17, 2, 0},
     359             : { 2, s_10_19, -1, 1, 0},
     360             : { 3, s_10_20, 19, 1, 0},
     361             : { 4, s_10_21, 20, 3, 0},
     362             : { 1, s_10_22, -1, 1, 0},
     363             : { 2, s_10_23, 22, 1, 0},
     364             : { 2, s_10_24, 22, 1, 0},
     365             : { 2, s_10_25, 22, 1, 0},
     366             : { 2, s_10_26, 22, 2, 0},
     367             : { 2, s_10_27, 22, 3, 0},
     368             : { 1, s_10_28, -1, 1, 0},
     369             : { 1, s_10_29, -1, 2, 0},
     370             : { 1, s_10_30, -1, 3, 0}
     371             : };
     372             : 
     373             : static const symbol s_11_0[2] = { 'i', 'd' };
     374             : static const symbol s_11_1[3] = { 'a', 'i', 'd' };
     375             : static const symbol s_11_2[4] = { 'j', 'a', 'i', 'd' };
     376             : static const symbol s_11_3[3] = { 'e', 'i', 'd' };
     377             : static const symbol s_11_4[4] = { 'j', 'e', 'i', 'd' };
     378             : static const symbol s_11_5[3] = { 0xE1, 'i', 'd' };
     379             : static const symbol s_11_6[3] = { 0xE9, 'i', 'd' };
     380             : static const symbol s_11_7[1] = { 'i' };
     381             : static const symbol s_11_8[2] = { 'a', 'i' };
     382             : static const symbol s_11_9[3] = { 'j', 'a', 'i' };
     383             : static const symbol s_11_10[2] = { 'e', 'i' };
     384             : static const symbol s_11_11[3] = { 'j', 'e', 'i' };
     385             : static const symbol s_11_12[2] = { 0xE1, 'i' };
     386             : static const symbol s_11_13[2] = { 0xE9, 'i' };
     387             : static const symbol s_11_14[4] = { 'i', 't', 'e', 'k' };
     388             : static const symbol s_11_15[5] = { 'e', 'i', 't', 'e', 'k' };
     389             : static const symbol s_11_16[6] = { 'j', 'e', 'i', 't', 'e', 'k' };
     390             : static const symbol s_11_17[5] = { 0xE9, 'i', 't', 'e', 'k' };
     391             : static const symbol s_11_18[2] = { 'i', 'k' };
     392             : static const symbol s_11_19[3] = { 'a', 'i', 'k' };
     393             : static const symbol s_11_20[4] = { 'j', 'a', 'i', 'k' };
     394             : static const symbol s_11_21[3] = { 'e', 'i', 'k' };
     395             : static const symbol s_11_22[4] = { 'j', 'e', 'i', 'k' };
     396             : static const symbol s_11_23[3] = { 0xE1, 'i', 'k' };
     397             : static const symbol s_11_24[3] = { 0xE9, 'i', 'k' };
     398             : static const symbol s_11_25[3] = { 'i', 'n', 'k' };
     399             : static const symbol s_11_26[4] = { 'a', 'i', 'n', 'k' };
     400             : static const symbol s_11_27[5] = { 'j', 'a', 'i', 'n', 'k' };
     401             : static const symbol s_11_28[4] = { 'e', 'i', 'n', 'k' };
     402             : static const symbol s_11_29[5] = { 'j', 'e', 'i', 'n', 'k' };
     403             : static const symbol s_11_30[4] = { 0xE1, 'i', 'n', 'k' };
     404             : static const symbol s_11_31[4] = { 0xE9, 'i', 'n', 'k' };
     405             : static const symbol s_11_32[5] = { 'a', 'i', 't', 'o', 'k' };
     406             : static const symbol s_11_33[6] = { 'j', 'a', 'i', 't', 'o', 'k' };
     407             : static const symbol s_11_34[5] = { 0xE1, 'i', 't', 'o', 'k' };
     408             : static const symbol s_11_35[2] = { 'i', 'm' };
     409             : static const symbol s_11_36[3] = { 'a', 'i', 'm' };
     410             : static const symbol s_11_37[4] = { 'j', 'a', 'i', 'm' };
     411             : static const symbol s_11_38[3] = { 'e', 'i', 'm' };
     412             : static const symbol s_11_39[4] = { 'j', 'e', 'i', 'm' };
     413             : static const symbol s_11_40[3] = { 0xE1, 'i', 'm' };
     414             : static const symbol s_11_41[3] = { 0xE9, 'i', 'm' };
     415             : 
     416             : static const struct among a_11[42] =
     417             : {
     418             : { 2, s_11_0, -1, 1, 0},
     419             : { 3, s_11_1, 0, 1, 0},
     420             : { 4, s_11_2, 1, 1, 0},
     421             : { 3, s_11_3, 0, 1, 0},
     422             : { 4, s_11_4, 3, 1, 0},
     423             : { 3, s_11_5, 0, 2, 0},
     424             : { 3, s_11_6, 0, 3, 0},
     425             : { 1, s_11_7, -1, 1, 0},
     426             : { 2, s_11_8, 7, 1, 0},
     427             : { 3, s_11_9, 8, 1, 0},
     428             : { 2, s_11_10, 7, 1, 0},
     429             : { 3, s_11_11, 10, 1, 0},
     430             : { 2, s_11_12, 7, 2, 0},
     431             : { 2, s_11_13, 7, 3, 0},
     432             : { 4, s_11_14, -1, 1, 0},
     433             : { 5, s_11_15, 14, 1, 0},
     434             : { 6, s_11_16, 15, 1, 0},
     435             : { 5, s_11_17, 14, 3, 0},
     436             : { 2, s_11_18, -1, 1, 0},
     437             : { 3, s_11_19, 18, 1, 0},
     438             : { 4, s_11_20, 19, 1, 0},
     439             : { 3, s_11_21, 18, 1, 0},
     440             : { 4, s_11_22, 21, 1, 0},
     441             : { 3, s_11_23, 18, 2, 0},
     442             : { 3, s_11_24, 18, 3, 0},
     443             : { 3, s_11_25, -1, 1, 0},
     444             : { 4, s_11_26, 25, 1, 0},
     445             : { 5, s_11_27, 26, 1, 0},
     446             : { 4, s_11_28, 25, 1, 0},
     447             : { 5, s_11_29, 28, 1, 0},
     448             : { 4, s_11_30, 25, 2, 0},
     449             : { 4, s_11_31, 25, 3, 0},
     450             : { 5, s_11_32, -1, 1, 0},
     451             : { 6, s_11_33, 32, 1, 0},
     452             : { 5, s_11_34, -1, 2, 0},
     453             : { 2, s_11_35, -1, 1, 0},
     454             : { 3, s_11_36, 35, 1, 0},
     455             : { 4, s_11_37, 36, 1, 0},
     456             : { 3, s_11_38, 35, 1, 0},
     457             : { 4, s_11_39, 38, 1, 0},
     458             : { 3, s_11_40, 35, 2, 0},
     459             : { 3, s_11_41, 35, 3, 0}
     460             : };
     461             : 
     462             : static const unsigned char g_v[] = { 17, 65, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 17, 52, 14 };
     463             : 
     464             : static const symbol s_0[] = { 'a' };
     465             : static const symbol s_1[] = { 'e' };
     466             : static const symbol s_2[] = { 'e' };
     467             : static const symbol s_3[] = { 'a' };
     468             : static const symbol s_4[] = { 'a' };
     469             : static const symbol s_5[] = { 'e' };
     470             : static const symbol s_6[] = { 'a' };
     471             : static const symbol s_7[] = { 'e' };
     472             : static const symbol s_8[] = { 'e' };
     473             : static const symbol s_9[] = { 'a' };
     474             : static const symbol s_10[] = { 'a' };
     475             : static const symbol s_11[] = { 'e' };
     476             : static const symbol s_12[] = { 'a' };
     477             : static const symbol s_13[] = { 'e' };
     478             : 
     479           0 : static int r_mark_regions(struct SN_env * z) {
     480           0 :     z->I[0] = z->l;
     481           0 :     {   int c1 = z->c;
     482           0 :         if (in_grouping(z, g_v, 97, 252, 0)) goto lab1;
     483           0 :         if (in_grouping(z, g_v, 97, 252, 1) < 0) goto lab1;
     484           0 :         {   int c2 = z->c;
     485           0 :             if (z->c + 1 >= z->l || z->p[z->c + 1] >> 5 != 3 || !((101187584 >> (z->p[z->c + 1] & 0x1f)) & 1)) goto lab3;
     486           0 :             if (!(find_among(z, a_0, 8))) goto lab3;
     487           0 :             goto lab2;
     488           0 :         lab3:
     489           0 :             z->c = c2;
     490           0 :             if (z->c >= z->l) goto lab1;
     491           0 :             z->c++;
     492             :         }
     493           0 :     lab2:
     494           0 :         z->I[0] = z->c;
     495           0 :         goto lab0;
     496           0 :     lab1:
     497           0 :         z->c = c1;
     498           0 :         if (out_grouping(z, g_v, 97, 252, 0)) return 0;
     499             :         {   
     500           0 :             int ret = out_grouping(z, g_v, 97, 252, 1);
     501           0 :             if (ret < 0) return 0;
     502           0 :             z->c += ret;
     503             :         }
     504           0 :         z->I[0] = z->c;
     505             :     }
     506           0 : lab0:
     507           0 :     return 1;
     508             : }
     509             : 
     510           0 : static int r_R1(struct SN_env * z) {
     511           0 :     if (!(z->I[0] <= z->c)) return 0;
     512           0 :     return 1;
     513             : }
     514             : 
     515           0 : static int r_v_ending(struct SN_env * z) {
     516             :     int among_var;
     517           0 :     z->ket = z->c;
     518           0 :     if (z->c <= z->lb || (z->p[z->c - 1] != 225 && z->p[z->c - 1] != 233)) return 0;
     519           0 :     among_var = find_among_b(z, a_1, 2);
     520           0 :     if (!(among_var)) return 0;
     521           0 :     z->bra = z->c;
     522           0 :     {   int ret = r_R1(z);
     523           0 :         if (ret <= 0) return ret;
     524             :     }
     525           0 :     switch (among_var) {
     526           0 :         case 1:
     527           0 :             {   int ret = slice_from_s(z, 1, s_0);
     528           0 :                 if (ret < 0) return ret;
     529             :             }
     530           0 :             break;
     531           0 :         case 2:
     532           0 :             {   int ret = slice_from_s(z, 1, s_1);
     533           0 :                 if (ret < 0) return ret;
     534             :             }
     535           0 :             break;
     536             :     }
     537           0 :     return 1;
     538             : }
     539             : 
     540           0 : static int r_double(struct SN_env * z) {
     541           0 :     {   int m_test1 = z->l - z->c;
     542           0 :         if (z->c - 1 <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((106790108 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
     543           0 :         if (!(find_among_b(z, a_2, 23))) return 0;
     544           0 :         z->c = z->l - m_test1;
     545             :     }
     546           0 :     return 1;
     547             : }
     548             : 
     549           0 : static int r_undouble(struct SN_env * z) {
     550           0 :     if (z->c <= z->lb) return 0;
     551           0 :     z->c--;
     552           0 :     z->ket = z->c;
     553           0 : z->c = z->c - 1;
     554           0 :     if (z->c < z->lb) return 0;
     555           0 :     z->bra = z->c;
     556           0 :     {   int ret = slice_del(z);
     557           0 :         if (ret < 0) return ret;
     558             :     }
     559           0 :     return 1;
     560             : }
     561             : 
     562           0 : static int r_instrum(struct SN_env * z) {
     563           0 :     z->ket = z->c;
     564           0 :     if (z->c - 1 <= z->lb || z->p[z->c - 1] != 108) return 0;
     565           0 :     if (!(find_among_b(z, a_3, 2))) return 0;
     566           0 :     z->bra = z->c;
     567           0 :     {   int ret = r_R1(z);
     568           0 :         if (ret <= 0) return ret;
     569             :     }
     570           0 :     {   int ret = r_double(z);
     571           0 :         if (ret <= 0) return ret;
     572             :     }
     573           0 :     {   int ret = slice_del(z);
     574           0 :         if (ret < 0) return ret;
     575             :     }
     576           0 :     {   int ret = r_undouble(z);
     577           0 :         if (ret <= 0) return ret;
     578             :     }
     579           0 :     return 1;
     580             : }
     581             : 
     582           0 : static int r_case(struct SN_env * z) {
     583           0 :     z->ket = z->c;
     584           0 :     if (!(find_among_b(z, a_4, 44))) return 0;
     585           0 :     z->bra = z->c;
     586           0 :     {   int ret = r_R1(z);
     587           0 :         if (ret <= 0) return ret;
     588             :     }
     589           0 :     {   int ret = slice_del(z);
     590           0 :         if (ret < 0) return ret;
     591             :     }
     592           0 :     {   int ret = r_v_ending(z);
     593           0 :         if (ret <= 0) return ret;
     594             :     }
     595           0 :     return 1;
     596             : }
     597             : 
     598           0 : static int r_case_special(struct SN_env * z) {
     599             :     int among_var;
     600           0 :     z->ket = z->c;
     601           0 :     if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 110 && z->p[z->c - 1] != 116)) return 0;
     602           0 :     among_var = find_among_b(z, a_5, 3);
     603           0 :     if (!(among_var)) return 0;
     604           0 :     z->bra = z->c;
     605           0 :     {   int ret = r_R1(z);
     606           0 :         if (ret <= 0) return ret;
     607             :     }
     608           0 :     switch (among_var) {
     609           0 :         case 1:
     610           0 :             {   int ret = slice_from_s(z, 1, s_2);
     611           0 :                 if (ret < 0) return ret;
     612             :             }
     613           0 :             break;
     614           0 :         case 2:
     615           0 :             {   int ret = slice_from_s(z, 1, s_3);
     616           0 :                 if (ret < 0) return ret;
     617             :             }
     618           0 :             break;
     619             :     }
     620           0 :     return 1;
     621             : }
     622             : 
     623           0 : static int r_case_other(struct SN_env * z) {
     624             :     int among_var;
     625           0 :     z->ket = z->c;
     626           0 :     if (z->c - 3 <= z->lb || z->p[z->c - 1] != 108) return 0;
     627           0 :     among_var = find_among_b(z, a_6, 6);
     628           0 :     if (!(among_var)) return 0;
     629           0 :     z->bra = z->c;
     630           0 :     {   int ret = r_R1(z);
     631           0 :         if (ret <= 0) return ret;
     632             :     }
     633           0 :     switch (among_var) {
     634           0 :         case 1:
     635           0 :             {   int ret = slice_del(z);
     636           0 :                 if (ret < 0) return ret;
     637             :             }
     638           0 :             break;
     639           0 :         case 2:
     640           0 :             {   int ret = slice_from_s(z, 1, s_4);
     641           0 :                 if (ret < 0) return ret;
     642             :             }
     643           0 :             break;
     644           0 :         case 3:
     645           0 :             {   int ret = slice_from_s(z, 1, s_5);
     646           0 :                 if (ret < 0) return ret;
     647             :             }
     648           0 :             break;
     649             :     }
     650           0 :     return 1;
     651             : }
     652             : 
     653           0 : static int r_factive(struct SN_env * z) {
     654           0 :     z->ket = z->c;
     655           0 :     if (z->c <= z->lb || (z->p[z->c - 1] != 225 && z->p[z->c - 1] != 233)) return 0;
     656           0 :     if (!(find_among_b(z, a_7, 2))) return 0;
     657           0 :     z->bra = z->c;
     658           0 :     {   int ret = r_R1(z);
     659           0 :         if (ret <= 0) return ret;
     660             :     }
     661           0 :     {   int ret = r_double(z);
     662           0 :         if (ret <= 0) return ret;
     663             :     }
     664           0 :     {   int ret = slice_del(z);
     665           0 :         if (ret < 0) return ret;
     666             :     }
     667           0 :     {   int ret = r_undouble(z);
     668           0 :         if (ret <= 0) return ret;
     669             :     }
     670           0 :     return 1;
     671             : }
     672             : 
     673           0 : static int r_plural(struct SN_env * z) {
     674             :     int among_var;
     675           0 :     z->ket = z->c;
     676           0 :     if (z->c <= z->lb || z->p[z->c - 1] != 107) return 0;
     677           0 :     among_var = find_among_b(z, a_8, 7);
     678           0 :     if (!(among_var)) return 0;
     679           0 :     z->bra = z->c;
     680           0 :     {   int ret = r_R1(z);
     681           0 :         if (ret <= 0) return ret;
     682             :     }
     683           0 :     switch (among_var) {
     684           0 :         case 1:
     685           0 :             {   int ret = slice_from_s(z, 1, s_6);
     686           0 :                 if (ret < 0) return ret;
     687             :             }
     688           0 :             break;
     689           0 :         case 2:
     690           0 :             {   int ret = slice_from_s(z, 1, s_7);
     691           0 :                 if (ret < 0) return ret;
     692             :             }
     693           0 :             break;
     694           0 :         case 3:
     695           0 :             {   int ret = slice_del(z);
     696           0 :                 if (ret < 0) return ret;
     697             :             }
     698           0 :             break;
     699             :     }
     700           0 :     return 1;
     701             : }
     702             : 
     703           0 : static int r_owned(struct SN_env * z) {
     704             :     int among_var;
     705           0 :     z->ket = z->c;
     706           0 :     if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 233)) return 0;
     707           0 :     among_var = find_among_b(z, a_9, 12);
     708           0 :     if (!(among_var)) return 0;
     709           0 :     z->bra = z->c;
     710           0 :     {   int ret = r_R1(z);
     711           0 :         if (ret <= 0) return ret;
     712             :     }
     713           0 :     switch (among_var) {
     714           0 :         case 1:
     715           0 :             {   int ret = slice_del(z);
     716           0 :                 if (ret < 0) return ret;
     717             :             }
     718           0 :             break;
     719           0 :         case 2:
     720           0 :             {   int ret = slice_from_s(z, 1, s_8);
     721           0 :                 if (ret < 0) return ret;
     722             :             }
     723           0 :             break;
     724           0 :         case 3:
     725           0 :             {   int ret = slice_from_s(z, 1, s_9);
     726           0 :                 if (ret < 0) return ret;
     727             :             }
     728           0 :             break;
     729             :     }
     730           0 :     return 1;
     731             : }
     732             : 
     733           0 : static int r_sing_owner(struct SN_env * z) {
     734             :     int among_var;
     735           0 :     z->ket = z->c;
     736           0 :     among_var = find_among_b(z, a_10, 31);
     737           0 :     if (!(among_var)) return 0;
     738           0 :     z->bra = z->c;
     739           0 :     {   int ret = r_R1(z);
     740           0 :         if (ret <= 0) return ret;
     741             :     }
     742           0 :     switch (among_var) {
     743           0 :         case 1:
     744           0 :             {   int ret = slice_del(z);
     745           0 :                 if (ret < 0) return ret;
     746             :             }
     747           0 :             break;
     748           0 :         case 2:
     749           0 :             {   int ret = slice_from_s(z, 1, s_10);
     750           0 :                 if (ret < 0) return ret;
     751             :             }
     752           0 :             break;
     753           0 :         case 3:
     754           0 :             {   int ret = slice_from_s(z, 1, s_11);
     755           0 :                 if (ret < 0) return ret;
     756             :             }
     757           0 :             break;
     758             :     }
     759           0 :     return 1;
     760             : }
     761             : 
     762           0 : static int r_plur_owner(struct SN_env * z) {
     763             :     int among_var;
     764           0 :     z->ket = z->c;
     765           0 :     if (z->c <= z->lb || z->p[z->c - 1] >> 5 != 3 || !((10768 >> (z->p[z->c - 1] & 0x1f)) & 1)) return 0;
     766           0 :     among_var = find_among_b(z, a_11, 42);
     767           0 :     if (!(among_var)) return 0;
     768           0 :     z->bra = z->c;
     769           0 :     {   int ret = r_R1(z);
     770           0 :         if (ret <= 0) return ret;
     771             :     }
     772           0 :     switch (among_var) {
     773           0 :         case 1:
     774           0 :             {   int ret = slice_del(z);
     775           0 :                 if (ret < 0) return ret;
     776             :             }
     777           0 :             break;
     778           0 :         case 2:
     779           0 :             {   int ret = slice_from_s(z, 1, s_12);
     780           0 :                 if (ret < 0) return ret;
     781             :             }
     782           0 :             break;
     783           0 :         case 3:
     784           0 :             {   int ret = slice_from_s(z, 1, s_13);
     785           0 :                 if (ret < 0) return ret;
     786             :             }
     787           0 :             break;
     788             :     }
     789           0 :     return 1;
     790             : }
     791             : 
     792           0 : extern int hungarian_ISO_8859_2_stem(struct SN_env * z) {
     793           0 :     {   int c1 = z->c;
     794           0 :         {   int ret = r_mark_regions(z);
     795           0 :             if (ret < 0) return ret;
     796             :         }
     797           0 :         z->c = c1;
     798             :     }
     799           0 :     z->lb = z->c; z->c = z->l;
     800             : 
     801           0 :     {   int m2 = z->l - z->c; (void)m2;
     802           0 :         {   int ret = r_instrum(z);
     803           0 :             if (ret < 0) return ret;
     804             :         }
     805           0 :         z->c = z->l - m2;
     806             :     }
     807           0 :     {   int m3 = z->l - z->c; (void)m3;
     808           0 :         {   int ret = r_case(z);
     809           0 :             if (ret < 0) return ret;
     810             :         }
     811           0 :         z->c = z->l - m3;
     812             :     }
     813           0 :     {   int m4 = z->l - z->c; (void)m4;
     814           0 :         {   int ret = r_case_special(z);
     815           0 :             if (ret < 0) return ret;
     816             :         }
     817           0 :         z->c = z->l - m4;
     818             :     }
     819           0 :     {   int m5 = z->l - z->c; (void)m5;
     820           0 :         {   int ret = r_case_other(z);
     821           0 :             if (ret < 0) return ret;
     822             :         }
     823           0 :         z->c = z->l - m5;
     824             :     }
     825           0 :     {   int m6 = z->l - z->c; (void)m6;
     826           0 :         {   int ret = r_factive(z);
     827           0 :             if (ret < 0) return ret;
     828             :         }
     829           0 :         z->c = z->l - m6;
     830             :     }
     831           0 :     {   int m7 = z->l - z->c; (void)m7;
     832           0 :         {   int ret = r_owned(z);
     833           0 :             if (ret < 0) return ret;
     834             :         }
     835           0 :         z->c = z->l - m7;
     836             :     }
     837           0 :     {   int m8 = z->l - z->c; (void)m8;
     838           0 :         {   int ret = r_sing_owner(z);
     839           0 :             if (ret < 0) return ret;
     840             :         }
     841           0 :         z->c = z->l - m8;
     842             :     }
     843           0 :     {   int m9 = z->l - z->c; (void)m9;
     844           0 :         {   int ret = r_plur_owner(z);
     845           0 :             if (ret < 0) return ret;
     846             :         }
     847           0 :         z->c = z->l - m9;
     848             :     }
     849           0 :     {   int m10 = z->l - z->c; (void)m10;
     850           0 :         {   int ret = r_plural(z);
     851           0 :             if (ret < 0) return ret;
     852             :         }
     853           0 :         z->c = z->l - m10;
     854             :     }
     855           0 :     z->c = z->lb;
     856           0 :     return 1;
     857             : }
     858             : 
     859           0 : extern struct SN_env * hungarian_ISO_8859_2_create_env(void) { return SN_create_env(0, 1); }
     860             : 
     861           0 : extern void hungarian_ISO_8859_2_close_env(struct SN_env * z) { SN_close_env(z, 0); }
     862             : 

Generated by: LCOV version 1.14