stemmer4r 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CVS/Entries +5 -0
- data/CVS/Repository +1 -0
- data/CVS/Root +1 -0
- data/LICENSE +20 -0
- data/README +9 -0
- data/ext/CVS/Entries +1 -0
- data/ext/CVS/Repository +1 -0
- data/ext/CVS/Root +1 -0
- data/ext/stemmer4r/CVS/Entries +4 -0
- data/ext/stemmer4r/CVS/Repository +1 -0
- data/ext/stemmer4r/CVS/Root +1 -0
- data/ext/stemmer4r/depend +14 -0
- data/ext/stemmer4r/extconf.rb +8 -0
- data/ext/stemmer4r/libstemmer_c/CVS/Entries +7 -0
- data/ext/stemmer4r/libstemmer_c/CVS/Repository +1 -0
- data/ext/stemmer4r/libstemmer_c/CVS/Root +1 -0
- data/ext/stemmer4r/libstemmer_c/MANIFEST +39 -0
- data/ext/stemmer4r/libstemmer_c/Makefile +5 -0
- data/ext/stemmer4r/libstemmer_c/include/CVS/Entries +2 -0
- data/ext/stemmer4r/libstemmer_c/include/CVS/Repository +1 -0
- data/ext/stemmer4r/libstemmer_c/include/CVS/Root +1 -0
- data/ext/stemmer4r/libstemmer_c/include/libstemmer.h +63 -0
- data/ext/stemmer4r/libstemmer_c/libstemmer/CVS/Entries +3 -0
- data/ext/stemmer4r/libstemmer_c/libstemmer/CVS/Repository +1 -0
- data/ext/stemmer4r/libstemmer_c/libstemmer/CVS/Root +1 -0
- data/ext/stemmer4r/libstemmer_c/libstemmer/libstemmer.c +78 -0
- data/ext/stemmer4r/libstemmer_c/libstemmer/modules.h +96 -0
- data/ext/stemmer4r/libstemmer_c/mkinc.mak +42 -0
- data/ext/stemmer4r/libstemmer_c/runtime/CVS/Entries +5 -0
- data/ext/stemmer4r/libstemmer_c/runtime/CVS/Repository +1 -0
- data/ext/stemmer4r/libstemmer_c/runtime/CVS/Root +1 -0
- data/ext/stemmer4r/libstemmer_c/runtime/api.c +69 -0
- data/ext/stemmer4r/libstemmer_c/runtime/api.h +27 -0
- data/ext/stemmer4r/libstemmer_c/runtime/header.h +56 -0
- data/ext/stemmer4r/libstemmer_c/runtime/utilities.c +403 -0
- data/ext/stemmer4r/libstemmer_c/src_c/CVS/Entries +33 -0
- data/ext/stemmer4r/libstemmer_c/src_c/CVS/Repository +1 -0
- data/ext/stemmer4r/libstemmer_c/src_c/CVS/Root +1 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_danish.c +330 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_danish.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_dutch.c +635 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_dutch.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_english.c +1109 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_english.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_finnish.c +792 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_finnish.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_french.c +1276 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_french.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_german.c +504 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_german.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_german2.c +549 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_german2.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_italian.c +1087 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_italian.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_kraaij_pohlmann.c +1780 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_kraaij_pohlmann.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_lovins.c +1752 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_lovins.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_norwegian.c +279 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_norwegian.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_porter.c +776 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_porter.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_portuguese.c +1027 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_portuguese.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_russian.c +701 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_russian.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_spanish.c +1109 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_spanish.h +16 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_swedish.c +299 -0
- data/ext/stemmer4r/libstemmer_c/src_c/stem_swedish.h +16 -0
- data/ext/stemmer4r/stemmer4r.c +146 -0
- data/stemmer4r.gemspec +23 -0
- data/test/CVS/Entries +2 -0
- data/test/CVS/Repository +1 -0
- data/test/CVS/Root +1 -0
- data/test/test.rb +31 -0
- data/test/tests/CVS/Entries +12 -0
- data/test/tests/CVS/Repository +1 -0
- data/test/tests/CVS/Root +1 -0
- data/test/tests/da/CVS/Entries +3 -0
- data/test/tests/da/CVS/Repository +1 -0
- data/test/tests/da/CVS/Root +1 -0
- data/test/tests/da/output.txt +23829 -0
- data/test/tests/da/voc.txt +23829 -0
- data/test/tests/de/CVS/Entries +3 -0
- data/test/tests/de/CVS/Repository +1 -0
- data/test/tests/de/CVS/Root +1 -0
- data/test/tests/de/output.txt +35033 -0
- data/test/tests/de/voc.txt +35033 -0
- data/test/tests/en/CVS/Entries +3 -0
- data/test/tests/en/CVS/Repository +1 -0
- data/test/tests/en/CVS/Root +1 -0
- data/test/tests/en/output.txt +29400 -0
- data/test/tests/en/voc.txt +29400 -0
- data/test/tests/es/CVS/Entries +3 -0
- data/test/tests/es/CVS/Repository +1 -0
- data/test/tests/es/CVS/Root +1 -0
- data/test/tests/es/output.txt +28390 -0
- data/test/tests/es/voc.txt +28390 -0
- data/test/tests/fi/CVS/Entries +3 -0
- data/test/tests/fi/CVS/Repository +1 -0
- data/test/tests/fi/CVS/Root +1 -0
- data/test/tests/fi/output.txt +50000 -0
- data/test/tests/fi/voc.txt +50000 -0
- data/test/tests/fr/CVS/Entries +3 -0
- data/test/tests/fr/CVS/Repository +1 -0
- data/test/tests/fr/CVS/Root +1 -0
- data/test/tests/fr/output.txt +20403 -0
- data/test/tests/fr/voc.txt +20403 -0
- data/test/tests/it/CVS/Entries +3 -0
- data/test/tests/it/CVS/Repository +1 -0
- data/test/tests/it/CVS/Root +1 -0
- data/test/tests/it/output.txt +35494 -0
- data/test/tests/it/voc.txt +35494 -0
- data/test/tests/nl/CVS/Entries +3 -0
- data/test/tests/nl/CVS/Repository +1 -0
- data/test/tests/nl/CVS/Root +1 -0
- data/test/tests/nl/output.txt +45669 -0
- data/test/tests/nl/voc.txt +45669 -0
- data/test/tests/no/CVS/Entries +3 -0
- data/test/tests/no/CVS/Repository +1 -0
- data/test/tests/no/CVS/Root +1 -0
- data/test/tests/no/output.txt +20628 -0
- data/test/tests/no/voc.txt +20628 -0
- data/test/tests/pt/CVS/Entries +3 -0
- data/test/tests/pt/CVS/Repository +1 -0
- data/test/tests/pt/CVS/Root +1 -0
- data/test/tests/pt/output.txt +32016 -0
- data/test/tests/pt/voc.txt +32016 -0
- data/test/tests/ru/CVS/Entries +3 -0
- data/test/tests/ru/CVS/Repository +1 -0
- data/test/tests/ru/CVS/Root +1 -0
- data/test/tests/ru/output.txt +49673 -0
- data/test/tests/ru/voc.txt +49673 -0
- data/test/tests/sv/CVS/Entries +3 -0
- data/test/tests/sv/CVS/Repository +1 -0
- data/test/tests/sv/CVS/Root +1 -0
- data/test/tests/sv/output.txt +30623 -0
- data/test/tests/sv/voc.txt +30623 -0
- metadata +221 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
|
2
|
+
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
3
|
+
|
4
|
+
#ifdef __cplusplus
|
5
|
+
extern "C" {
|
6
|
+
#endif
|
7
|
+
|
8
|
+
extern struct SN_env * portuguese_create_env(void);
|
9
|
+
extern void portuguese_close_env(struct SN_env * z);
|
10
|
+
|
11
|
+
extern int portuguese_stem(struct SN_env * z);
|
12
|
+
|
13
|
+
#ifdef __cplusplus
|
14
|
+
}
|
15
|
+
#endif
|
16
|
+
|
@@ -0,0 +1,701 @@
|
|
1
|
+
|
2
|
+
/* This file was generated automatically by the Snowball to ANSI C compiler */
|
3
|
+
|
4
|
+
#include "../runtime/header.h"
|
5
|
+
|
6
|
+
extern int russian_stem(struct SN_env * z);
|
7
|
+
static int r_tidy_up(struct SN_env * z);
|
8
|
+
static int r_derivational(struct SN_env * z);
|
9
|
+
static int r_noun(struct SN_env * z);
|
10
|
+
static int r_verb(struct SN_env * z);
|
11
|
+
static int r_reflexive(struct SN_env * z);
|
12
|
+
static int r_adjectival(struct SN_env * z);
|
13
|
+
static int r_adjective(struct SN_env * z);
|
14
|
+
static int r_perfective_gerund(struct SN_env * z);
|
15
|
+
static int r_R2(struct SN_env * z);
|
16
|
+
static int r_mark_regions(struct SN_env * z);
|
17
|
+
|
18
|
+
extern struct SN_env * russian_create_env(void);
|
19
|
+
extern void russian_close_env(struct SN_env * z);
|
20
|
+
|
21
|
+
static symbol s_0_0[3] = { 215, 219, 201 };
|
22
|
+
static symbol s_0_1[4] = { 201, 215, 219, 201 };
|
23
|
+
static symbol s_0_2[4] = { 217, 215, 219, 201 };
|
24
|
+
static symbol s_0_3[1] = { 215 };
|
25
|
+
static symbol s_0_4[2] = { 201, 215 };
|
26
|
+
static symbol s_0_5[2] = { 217, 215 };
|
27
|
+
static symbol s_0_6[5] = { 215, 219, 201, 211, 216 };
|
28
|
+
static symbol s_0_7[6] = { 201, 215, 219, 201, 211, 216 };
|
29
|
+
static symbol s_0_8[6] = { 217, 215, 219, 201, 211, 216 };
|
30
|
+
|
31
|
+
static struct among a_0[9] =
|
32
|
+
{
|
33
|
+
/* 0 */ { 3, s_0_0, -1, 1, 0},
|
34
|
+
/* 1 */ { 4, s_0_1, 0, 2, 0},
|
35
|
+
/* 2 */ { 4, s_0_2, 0, 2, 0},
|
36
|
+
/* 3 */ { 1, s_0_3, -1, 1, 0},
|
37
|
+
/* 4 */ { 2, s_0_4, 3, 2, 0},
|
38
|
+
/* 5 */ { 2, s_0_5, 3, 2, 0},
|
39
|
+
/* 6 */ { 5, s_0_6, -1, 1, 0},
|
40
|
+
/* 7 */ { 6, s_0_7, 6, 2, 0},
|
41
|
+
/* 8 */ { 6, s_0_8, 6, 2, 0}
|
42
|
+
};
|
43
|
+
|
44
|
+
static symbol s_1_0[2] = { 192, 192 };
|
45
|
+
static symbol s_1_1[2] = { 197, 192 };
|
46
|
+
static symbol s_1_2[2] = { 207, 192 };
|
47
|
+
static symbol s_1_3[2] = { 213, 192 };
|
48
|
+
static symbol s_1_4[2] = { 197, 197 };
|
49
|
+
static symbol s_1_5[2] = { 201, 197 };
|
50
|
+
static symbol s_1_6[2] = { 207, 197 };
|
51
|
+
static symbol s_1_7[2] = { 217, 197 };
|
52
|
+
static symbol s_1_8[2] = { 201, 200 };
|
53
|
+
static symbol s_1_9[2] = { 217, 200 };
|
54
|
+
static symbol s_1_10[3] = { 201, 205, 201 };
|
55
|
+
static symbol s_1_11[3] = { 217, 205, 201 };
|
56
|
+
static symbol s_1_12[2] = { 197, 202 };
|
57
|
+
static symbol s_1_13[2] = { 201, 202 };
|
58
|
+
static symbol s_1_14[2] = { 207, 202 };
|
59
|
+
static symbol s_1_15[2] = { 217, 202 };
|
60
|
+
static symbol s_1_16[2] = { 197, 205 };
|
61
|
+
static symbol s_1_17[2] = { 201, 205 };
|
62
|
+
static symbol s_1_18[2] = { 207, 205 };
|
63
|
+
static symbol s_1_19[2] = { 217, 205 };
|
64
|
+
static symbol s_1_20[3] = { 197, 199, 207 };
|
65
|
+
static symbol s_1_21[3] = { 207, 199, 207 };
|
66
|
+
static symbol s_1_22[2] = { 193, 209 };
|
67
|
+
static symbol s_1_23[2] = { 209, 209 };
|
68
|
+
static symbol s_1_24[3] = { 197, 205, 213 };
|
69
|
+
static symbol s_1_25[3] = { 207, 205, 213 };
|
70
|
+
|
71
|
+
static struct among a_1[26] =
|
72
|
+
{
|
73
|
+
/* 0 */ { 2, s_1_0, -1, 1, 0},
|
74
|
+
/* 1 */ { 2, s_1_1, -1, 1, 0},
|
75
|
+
/* 2 */ { 2, s_1_2, -1, 1, 0},
|
76
|
+
/* 3 */ { 2, s_1_3, -1, 1, 0},
|
77
|
+
/* 4 */ { 2, s_1_4, -1, 1, 0},
|
78
|
+
/* 5 */ { 2, s_1_5, -1, 1, 0},
|
79
|
+
/* 6 */ { 2, s_1_6, -1, 1, 0},
|
80
|
+
/* 7 */ { 2, s_1_7, -1, 1, 0},
|
81
|
+
/* 8 */ { 2, s_1_8, -1, 1, 0},
|
82
|
+
/* 9 */ { 2, s_1_9, -1, 1, 0},
|
83
|
+
/* 10 */ { 3, s_1_10, -1, 1, 0},
|
84
|
+
/* 11 */ { 3, s_1_11, -1, 1, 0},
|
85
|
+
/* 12 */ { 2, s_1_12, -1, 1, 0},
|
86
|
+
/* 13 */ { 2, s_1_13, -1, 1, 0},
|
87
|
+
/* 14 */ { 2, s_1_14, -1, 1, 0},
|
88
|
+
/* 15 */ { 2, s_1_15, -1, 1, 0},
|
89
|
+
/* 16 */ { 2, s_1_16, -1, 1, 0},
|
90
|
+
/* 17 */ { 2, s_1_17, -1, 1, 0},
|
91
|
+
/* 18 */ { 2, s_1_18, -1, 1, 0},
|
92
|
+
/* 19 */ { 2, s_1_19, -1, 1, 0},
|
93
|
+
/* 20 */ { 3, s_1_20, -1, 1, 0},
|
94
|
+
/* 21 */ { 3, s_1_21, -1, 1, 0},
|
95
|
+
/* 22 */ { 2, s_1_22, -1, 1, 0},
|
96
|
+
/* 23 */ { 2, s_1_23, -1, 1, 0},
|
97
|
+
/* 24 */ { 3, s_1_24, -1, 1, 0},
|
98
|
+
/* 25 */ { 3, s_1_25, -1, 1, 0}
|
99
|
+
};
|
100
|
+
|
101
|
+
static symbol s_2_0[2] = { 197, 205 };
|
102
|
+
static symbol s_2_1[2] = { 206, 206 };
|
103
|
+
static symbol s_2_2[2] = { 215, 219 };
|
104
|
+
static symbol s_2_3[3] = { 201, 215, 219 };
|
105
|
+
static symbol s_2_4[3] = { 217, 215, 219 };
|
106
|
+
static symbol s_2_5[1] = { 221 };
|
107
|
+
static symbol s_2_6[2] = { 192, 221 };
|
108
|
+
static symbol s_2_7[3] = { 213, 192, 221 };
|
109
|
+
|
110
|
+
static struct among a_2[8] =
|
111
|
+
{
|
112
|
+
/* 0 */ { 2, s_2_0, -1, 1, 0},
|
113
|
+
/* 1 */ { 2, s_2_1, -1, 1, 0},
|
114
|
+
/* 2 */ { 2, s_2_2, -1, 1, 0},
|
115
|
+
/* 3 */ { 3, s_2_3, 2, 2, 0},
|
116
|
+
/* 4 */ { 3, s_2_4, 2, 2, 0},
|
117
|
+
/* 5 */ { 1, s_2_5, -1, 1, 0},
|
118
|
+
/* 6 */ { 2, s_2_6, 5, 1, 0},
|
119
|
+
/* 7 */ { 3, s_2_7, 6, 2, 0}
|
120
|
+
};
|
121
|
+
|
122
|
+
static symbol s_3_0[2] = { 211, 209 };
|
123
|
+
static symbol s_3_1[2] = { 211, 216 };
|
124
|
+
|
125
|
+
static struct among a_3[2] =
|
126
|
+
{
|
127
|
+
/* 0 */ { 2, s_3_0, -1, 1, 0},
|
128
|
+
/* 1 */ { 2, s_3_1, -1, 1, 0}
|
129
|
+
};
|
130
|
+
|
131
|
+
static symbol s_4_0[1] = { 192 };
|
132
|
+
static symbol s_4_1[2] = { 213, 192 };
|
133
|
+
static symbol s_4_2[2] = { 204, 193 };
|
134
|
+
static symbol s_4_3[3] = { 201, 204, 193 };
|
135
|
+
static symbol s_4_4[3] = { 217, 204, 193 };
|
136
|
+
static symbol s_4_5[2] = { 206, 193 };
|
137
|
+
static symbol s_4_6[3] = { 197, 206, 193 };
|
138
|
+
static symbol s_4_7[3] = { 197, 212, 197 };
|
139
|
+
static symbol s_4_8[3] = { 201, 212, 197 };
|
140
|
+
static symbol s_4_9[3] = { 202, 212, 197 };
|
141
|
+
static symbol s_4_10[4] = { 197, 202, 212, 197 };
|
142
|
+
static symbol s_4_11[4] = { 213, 202, 212, 197 };
|
143
|
+
static symbol s_4_12[2] = { 204, 201 };
|
144
|
+
static symbol s_4_13[3] = { 201, 204, 201 };
|
145
|
+
static symbol s_4_14[3] = { 217, 204, 201 };
|
146
|
+
static symbol s_4_15[1] = { 202 };
|
147
|
+
static symbol s_4_16[2] = { 197, 202 };
|
148
|
+
static symbol s_4_17[2] = { 213, 202 };
|
149
|
+
static symbol s_4_18[1] = { 204 };
|
150
|
+
static symbol s_4_19[2] = { 201, 204 };
|
151
|
+
static symbol s_4_20[2] = { 217, 204 };
|
152
|
+
static symbol s_4_21[2] = { 197, 205 };
|
153
|
+
static symbol s_4_22[2] = { 201, 205 };
|
154
|
+
static symbol s_4_23[2] = { 217, 205 };
|
155
|
+
static symbol s_4_24[1] = { 206 };
|
156
|
+
static symbol s_4_25[2] = { 197, 206 };
|
157
|
+
static symbol s_4_26[2] = { 204, 207 };
|
158
|
+
static symbol s_4_27[3] = { 201, 204, 207 };
|
159
|
+
static symbol s_4_28[3] = { 217, 204, 207 };
|
160
|
+
static symbol s_4_29[2] = { 206, 207 };
|
161
|
+
static symbol s_4_30[3] = { 197, 206, 207 };
|
162
|
+
static symbol s_4_31[3] = { 206, 206, 207 };
|
163
|
+
static symbol s_4_32[2] = { 192, 212 };
|
164
|
+
static symbol s_4_33[3] = { 213, 192, 212 };
|
165
|
+
static symbol s_4_34[2] = { 197, 212 };
|
166
|
+
static symbol s_4_35[3] = { 213, 197, 212 };
|
167
|
+
static symbol s_4_36[2] = { 201, 212 };
|
168
|
+
static symbol s_4_37[2] = { 209, 212 };
|
169
|
+
static symbol s_4_38[2] = { 217, 212 };
|
170
|
+
static symbol s_4_39[2] = { 212, 216 };
|
171
|
+
static symbol s_4_40[3] = { 201, 212, 216 };
|
172
|
+
static symbol s_4_41[3] = { 217, 212, 216 };
|
173
|
+
static symbol s_4_42[3] = { 197, 219, 216 };
|
174
|
+
static symbol s_4_43[3] = { 201, 219, 216 };
|
175
|
+
static symbol s_4_44[2] = { 206, 217 };
|
176
|
+
static symbol s_4_45[3] = { 197, 206, 217 };
|
177
|
+
|
178
|
+
static struct among a_4[46] =
|
179
|
+
{
|
180
|
+
/* 0 */ { 1, s_4_0, -1, 2, 0},
|
181
|
+
/* 1 */ { 2, s_4_1, 0, 2, 0},
|
182
|
+
/* 2 */ { 2, s_4_2, -1, 1, 0},
|
183
|
+
/* 3 */ { 3, s_4_3, 2, 2, 0},
|
184
|
+
/* 4 */ { 3, s_4_4, 2, 2, 0},
|
185
|
+
/* 5 */ { 2, s_4_5, -1, 1, 0},
|
186
|
+
/* 6 */ { 3, s_4_6, 5, 2, 0},
|
187
|
+
/* 7 */ { 3, s_4_7, -1, 1, 0},
|
188
|
+
/* 8 */ { 3, s_4_8, -1, 2, 0},
|
189
|
+
/* 9 */ { 3, s_4_9, -1, 1, 0},
|
190
|
+
/* 10 */ { 4, s_4_10, 9, 2, 0},
|
191
|
+
/* 11 */ { 4, s_4_11, 9, 2, 0},
|
192
|
+
/* 12 */ { 2, s_4_12, -1, 1, 0},
|
193
|
+
/* 13 */ { 3, s_4_13, 12, 2, 0},
|
194
|
+
/* 14 */ { 3, s_4_14, 12, 2, 0},
|
195
|
+
/* 15 */ { 1, s_4_15, -1, 1, 0},
|
196
|
+
/* 16 */ { 2, s_4_16, 15, 2, 0},
|
197
|
+
/* 17 */ { 2, s_4_17, 15, 2, 0},
|
198
|
+
/* 18 */ { 1, s_4_18, -1, 1, 0},
|
199
|
+
/* 19 */ { 2, s_4_19, 18, 2, 0},
|
200
|
+
/* 20 */ { 2, s_4_20, 18, 2, 0},
|
201
|
+
/* 21 */ { 2, s_4_21, -1, 1, 0},
|
202
|
+
/* 22 */ { 2, s_4_22, -1, 2, 0},
|
203
|
+
/* 23 */ { 2, s_4_23, -1, 2, 0},
|
204
|
+
/* 24 */ { 1, s_4_24, -1, 1, 0},
|
205
|
+
/* 25 */ { 2, s_4_25, 24, 2, 0},
|
206
|
+
/* 26 */ { 2, s_4_26, -1, 1, 0},
|
207
|
+
/* 27 */ { 3, s_4_27, 26, 2, 0},
|
208
|
+
/* 28 */ { 3, s_4_28, 26, 2, 0},
|
209
|
+
/* 29 */ { 2, s_4_29, -1, 1, 0},
|
210
|
+
/* 30 */ { 3, s_4_30, 29, 2, 0},
|
211
|
+
/* 31 */ { 3, s_4_31, 29, 1, 0},
|
212
|
+
/* 32 */ { 2, s_4_32, -1, 1, 0},
|
213
|
+
/* 33 */ { 3, s_4_33, 32, 2, 0},
|
214
|
+
/* 34 */ { 2, s_4_34, -1, 1, 0},
|
215
|
+
/* 35 */ { 3, s_4_35, 34, 2, 0},
|
216
|
+
/* 36 */ { 2, s_4_36, -1, 2, 0},
|
217
|
+
/* 37 */ { 2, s_4_37, -1, 2, 0},
|
218
|
+
/* 38 */ { 2, s_4_38, -1, 2, 0},
|
219
|
+
/* 39 */ { 2, s_4_39, -1, 1, 0},
|
220
|
+
/* 40 */ { 3, s_4_40, 39, 2, 0},
|
221
|
+
/* 41 */ { 3, s_4_41, 39, 2, 0},
|
222
|
+
/* 42 */ { 3, s_4_42, -1, 1, 0},
|
223
|
+
/* 43 */ { 3, s_4_43, -1, 2, 0},
|
224
|
+
/* 44 */ { 2, s_4_44, -1, 1, 0},
|
225
|
+
/* 45 */ { 3, s_4_45, 44, 2, 0}
|
226
|
+
};
|
227
|
+
|
228
|
+
static symbol s_5_0[1] = { 192 };
|
229
|
+
static symbol s_5_1[2] = { 201, 192 };
|
230
|
+
static symbol s_5_2[2] = { 216, 192 };
|
231
|
+
static symbol s_5_3[1] = { 193 };
|
232
|
+
static symbol s_5_4[1] = { 197 };
|
233
|
+
static symbol s_5_5[2] = { 201, 197 };
|
234
|
+
static symbol s_5_6[2] = { 216, 197 };
|
235
|
+
static symbol s_5_7[2] = { 193, 200 };
|
236
|
+
static symbol s_5_8[2] = { 209, 200 };
|
237
|
+
static symbol s_5_9[3] = { 201, 209, 200 };
|
238
|
+
static symbol s_5_10[1] = { 201 };
|
239
|
+
static symbol s_5_11[2] = { 197, 201 };
|
240
|
+
static symbol s_5_12[2] = { 201, 201 };
|
241
|
+
static symbol s_5_13[3] = { 193, 205, 201 };
|
242
|
+
static symbol s_5_14[3] = { 209, 205, 201 };
|
243
|
+
static symbol s_5_15[4] = { 201, 209, 205, 201 };
|
244
|
+
static symbol s_5_16[1] = { 202 };
|
245
|
+
static symbol s_5_17[2] = { 197, 202 };
|
246
|
+
static symbol s_5_18[3] = { 201, 197, 202 };
|
247
|
+
static symbol s_5_19[2] = { 201, 202 };
|
248
|
+
static symbol s_5_20[2] = { 207, 202 };
|
249
|
+
static symbol s_5_21[2] = { 193, 205 };
|
250
|
+
static symbol s_5_22[2] = { 197, 205 };
|
251
|
+
static symbol s_5_23[3] = { 201, 197, 205 };
|
252
|
+
static symbol s_5_24[2] = { 207, 205 };
|
253
|
+
static symbol s_5_25[2] = { 209, 205 };
|
254
|
+
static symbol s_5_26[3] = { 201, 209, 205 };
|
255
|
+
static symbol s_5_27[1] = { 207 };
|
256
|
+
static symbol s_5_28[1] = { 209 };
|
257
|
+
static symbol s_5_29[2] = { 201, 209 };
|
258
|
+
static symbol s_5_30[2] = { 216, 209 };
|
259
|
+
static symbol s_5_31[1] = { 213 };
|
260
|
+
static symbol s_5_32[2] = { 197, 215 };
|
261
|
+
static symbol s_5_33[2] = { 207, 215 };
|
262
|
+
static symbol s_5_34[1] = { 216 };
|
263
|
+
static symbol s_5_35[1] = { 217 };
|
264
|
+
|
265
|
+
static struct among a_5[36] =
|
266
|
+
{
|
267
|
+
/* 0 */ { 1, s_5_0, -1, 1, 0},
|
268
|
+
/* 1 */ { 2, s_5_1, 0, 1, 0},
|
269
|
+
/* 2 */ { 2, s_5_2, 0, 1, 0},
|
270
|
+
/* 3 */ { 1, s_5_3, -1, 1, 0},
|
271
|
+
/* 4 */ { 1, s_5_4, -1, 1, 0},
|
272
|
+
/* 5 */ { 2, s_5_5, 4, 1, 0},
|
273
|
+
/* 6 */ { 2, s_5_6, 4, 1, 0},
|
274
|
+
/* 7 */ { 2, s_5_7, -1, 1, 0},
|
275
|
+
/* 8 */ { 2, s_5_8, -1, 1, 0},
|
276
|
+
/* 9 */ { 3, s_5_9, 8, 1, 0},
|
277
|
+
/* 10 */ { 1, s_5_10, -1, 1, 0},
|
278
|
+
/* 11 */ { 2, s_5_11, 10, 1, 0},
|
279
|
+
/* 12 */ { 2, s_5_12, 10, 1, 0},
|
280
|
+
/* 13 */ { 3, s_5_13, 10, 1, 0},
|
281
|
+
/* 14 */ { 3, s_5_14, 10, 1, 0},
|
282
|
+
/* 15 */ { 4, s_5_15, 14, 1, 0},
|
283
|
+
/* 16 */ { 1, s_5_16, -1, 1, 0},
|
284
|
+
/* 17 */ { 2, s_5_17, 16, 1, 0},
|
285
|
+
/* 18 */ { 3, s_5_18, 17, 1, 0},
|
286
|
+
/* 19 */ { 2, s_5_19, 16, 1, 0},
|
287
|
+
/* 20 */ { 2, s_5_20, 16, 1, 0},
|
288
|
+
/* 21 */ { 2, s_5_21, -1, 1, 0},
|
289
|
+
/* 22 */ { 2, s_5_22, -1, 1, 0},
|
290
|
+
/* 23 */ { 3, s_5_23, 22, 1, 0},
|
291
|
+
/* 24 */ { 2, s_5_24, -1, 1, 0},
|
292
|
+
/* 25 */ { 2, s_5_25, -1, 1, 0},
|
293
|
+
/* 26 */ { 3, s_5_26, 25, 1, 0},
|
294
|
+
/* 27 */ { 1, s_5_27, -1, 1, 0},
|
295
|
+
/* 28 */ { 1, s_5_28, -1, 1, 0},
|
296
|
+
/* 29 */ { 2, s_5_29, 28, 1, 0},
|
297
|
+
/* 30 */ { 2, s_5_30, 28, 1, 0},
|
298
|
+
/* 31 */ { 1, s_5_31, -1, 1, 0},
|
299
|
+
/* 32 */ { 2, s_5_32, -1, 1, 0},
|
300
|
+
/* 33 */ { 2, s_5_33, -1, 1, 0},
|
301
|
+
/* 34 */ { 1, s_5_34, -1, 1, 0},
|
302
|
+
/* 35 */ { 1, s_5_35, -1, 1, 0}
|
303
|
+
};
|
304
|
+
|
305
|
+
static symbol s_6_0[3] = { 207, 211, 212 };
|
306
|
+
static symbol s_6_1[4] = { 207, 211, 212, 216 };
|
307
|
+
|
308
|
+
static struct among a_6[2] =
|
309
|
+
{
|
310
|
+
/* 0 */ { 3, s_6_0, -1, 1, 0},
|
311
|
+
/* 1 */ { 4, s_6_1, -1, 1, 0}
|
312
|
+
};
|
313
|
+
|
314
|
+
static symbol s_7_0[4] = { 197, 202, 219, 197 };
|
315
|
+
static symbol s_7_1[1] = { 206 };
|
316
|
+
static symbol s_7_2[1] = { 216 };
|
317
|
+
static symbol s_7_3[3] = { 197, 202, 219 };
|
318
|
+
|
319
|
+
static struct among a_7[4] =
|
320
|
+
{
|
321
|
+
/* 0 */ { 4, s_7_0, -1, 1, 0},
|
322
|
+
/* 1 */ { 1, s_7_1, -1, 2, 0},
|
323
|
+
/* 2 */ { 1, s_7_2, -1, 3, 0},
|
324
|
+
/* 3 */ { 3, s_7_3, -1, 1, 0}
|
325
|
+
};
|
326
|
+
|
327
|
+
static unsigned char g_v[] = { 35, 130, 34, 18 };
|
328
|
+
|
329
|
+
static symbol s_0[] = { 193 };
|
330
|
+
static symbol s_1[] = { 209 };
|
331
|
+
static symbol s_2[] = { 193 };
|
332
|
+
static symbol s_3[] = { 209 };
|
333
|
+
static symbol s_4[] = { 193 };
|
334
|
+
static symbol s_5[] = { 209 };
|
335
|
+
static symbol s_6[] = { 206 };
|
336
|
+
static symbol s_7[] = { 206 };
|
337
|
+
static symbol s_8[] = { 206 };
|
338
|
+
static symbol s_9[] = { 201 };
|
339
|
+
|
340
|
+
static int r_mark_regions(struct SN_env * z) {
|
341
|
+
z->I[0] = z->l;
|
342
|
+
z->I[1] = z->l;
|
343
|
+
{ int c = z->c; /* do, line 100 */
|
344
|
+
while(1) { /* gopast, line 101 */
|
345
|
+
if (!(in_grouping(z, g_v, 192, 220))) goto lab1;
|
346
|
+
break;
|
347
|
+
lab1:
|
348
|
+
if (z->c >= z->l) goto lab0;
|
349
|
+
z->c++;
|
350
|
+
}
|
351
|
+
z->I[0] = z->c; /* setmark pV, line 101 */
|
352
|
+
while(1) { /* gopast, line 101 */
|
353
|
+
if (!(out_grouping(z, g_v, 192, 220))) goto lab2;
|
354
|
+
break;
|
355
|
+
lab2:
|
356
|
+
if (z->c >= z->l) goto lab0;
|
357
|
+
z->c++;
|
358
|
+
}
|
359
|
+
while(1) { /* gopast, line 102 */
|
360
|
+
if (!(in_grouping(z, g_v, 192, 220))) goto lab3;
|
361
|
+
break;
|
362
|
+
lab3:
|
363
|
+
if (z->c >= z->l) goto lab0;
|
364
|
+
z->c++;
|
365
|
+
}
|
366
|
+
while(1) { /* gopast, line 102 */
|
367
|
+
if (!(out_grouping(z, g_v, 192, 220))) goto lab4;
|
368
|
+
break;
|
369
|
+
lab4:
|
370
|
+
if (z->c >= z->l) goto lab0;
|
371
|
+
z->c++;
|
372
|
+
}
|
373
|
+
z->I[1] = z->c; /* setmark p2, line 102 */
|
374
|
+
lab0:
|
375
|
+
z->c = c;
|
376
|
+
}
|
377
|
+
return 1;
|
378
|
+
}
|
379
|
+
|
380
|
+
static int r_R2(struct SN_env * z) {
|
381
|
+
if (!(z->I[1] <= z->c)) return 0;
|
382
|
+
return 1;
|
383
|
+
}
|
384
|
+
|
385
|
+
static int r_perfective_gerund(struct SN_env * z) {
|
386
|
+
int among_var;
|
387
|
+
z->ket = z->c; /* [, line 111 */
|
388
|
+
among_var = find_among_b(z, a_0, 9); /* substring, line 111 */
|
389
|
+
if (!(among_var)) return 0;
|
390
|
+
z->bra = z->c; /* ], line 111 */
|
391
|
+
switch(among_var) {
|
392
|
+
case 0: return 0;
|
393
|
+
case 1:
|
394
|
+
{ int m = z->l - z->c; (void) m; /* or, line 115 */
|
395
|
+
if (!(eq_s_b(z, 1, s_0))) goto lab1;
|
396
|
+
goto lab0;
|
397
|
+
lab1:
|
398
|
+
z->c = z->l - m;
|
399
|
+
if (!(eq_s_b(z, 1, s_1))) return 0;
|
400
|
+
}
|
401
|
+
lab0:
|
402
|
+
{ int ret;
|
403
|
+
ret = slice_del(z); /* delete, line 115 */
|
404
|
+
if (ret < 0) return ret;
|
405
|
+
}
|
406
|
+
break;
|
407
|
+
case 2:
|
408
|
+
{ int ret;
|
409
|
+
ret = slice_del(z); /* delete, line 122 */
|
410
|
+
if (ret < 0) return ret;
|
411
|
+
}
|
412
|
+
break;
|
413
|
+
}
|
414
|
+
return 1;
|
415
|
+
}
|
416
|
+
|
417
|
+
static int r_adjective(struct SN_env * z) {
|
418
|
+
int among_var;
|
419
|
+
z->ket = z->c; /* [, line 127 */
|
420
|
+
among_var = find_among_b(z, a_1, 26); /* substring, line 127 */
|
421
|
+
if (!(among_var)) return 0;
|
422
|
+
z->bra = z->c; /* ], line 127 */
|
423
|
+
switch(among_var) {
|
424
|
+
case 0: return 0;
|
425
|
+
case 1:
|
426
|
+
{ int ret;
|
427
|
+
ret = slice_del(z); /* delete, line 136 */
|
428
|
+
if (ret < 0) return ret;
|
429
|
+
}
|
430
|
+
break;
|
431
|
+
}
|
432
|
+
return 1;
|
433
|
+
}
|
434
|
+
|
435
|
+
static int r_adjectival(struct SN_env * z) {
|
436
|
+
int among_var;
|
437
|
+
{ int ret = r_adjective(z);
|
438
|
+
if (ret == 0) return 0; /* call adjective, line 141 */
|
439
|
+
if (ret < 0) return ret;
|
440
|
+
}
|
441
|
+
{ int m = z->l - z->c; (void) m; /* try, line 148 */
|
442
|
+
z->ket = z->c; /* [, line 149 */
|
443
|
+
among_var = find_among_b(z, a_2, 8); /* substring, line 149 */
|
444
|
+
if (!(among_var)) { z->c = z->l - m; goto lab0; }
|
445
|
+
z->bra = z->c; /* ], line 149 */
|
446
|
+
switch(among_var) {
|
447
|
+
case 0: { z->c = z->l - m; goto lab0; }
|
448
|
+
case 1:
|
449
|
+
{ int m = z->l - z->c; (void) m; /* or, line 154 */
|
450
|
+
if (!(eq_s_b(z, 1, s_2))) goto lab2;
|
451
|
+
goto lab1;
|
452
|
+
lab2:
|
453
|
+
z->c = z->l - m;
|
454
|
+
if (!(eq_s_b(z, 1, s_3))) { z->c = z->l - m; goto lab0; }
|
455
|
+
}
|
456
|
+
lab1:
|
457
|
+
{ int ret;
|
458
|
+
ret = slice_del(z); /* delete, line 154 */
|
459
|
+
if (ret < 0) return ret;
|
460
|
+
}
|
461
|
+
break;
|
462
|
+
case 2:
|
463
|
+
{ int ret;
|
464
|
+
ret = slice_del(z); /* delete, line 161 */
|
465
|
+
if (ret < 0) return ret;
|
466
|
+
}
|
467
|
+
break;
|
468
|
+
}
|
469
|
+
lab0:
|
470
|
+
;
|
471
|
+
}
|
472
|
+
return 1;
|
473
|
+
}
|
474
|
+
|
475
|
+
static int r_reflexive(struct SN_env * z) {
|
476
|
+
int among_var;
|
477
|
+
z->ket = z->c; /* [, line 168 */
|
478
|
+
among_var = find_among_b(z, a_3, 2); /* substring, line 168 */
|
479
|
+
if (!(among_var)) return 0;
|
480
|
+
z->bra = z->c; /* ], line 168 */
|
481
|
+
switch(among_var) {
|
482
|
+
case 0: return 0;
|
483
|
+
case 1:
|
484
|
+
{ int ret;
|
485
|
+
ret = slice_del(z); /* delete, line 171 */
|
486
|
+
if (ret < 0) return ret;
|
487
|
+
}
|
488
|
+
break;
|
489
|
+
}
|
490
|
+
return 1;
|
491
|
+
}
|
492
|
+
|
493
|
+
static int r_verb(struct SN_env * z) {
|
494
|
+
int among_var;
|
495
|
+
z->ket = z->c; /* [, line 176 */
|
496
|
+
among_var = find_among_b(z, a_4, 46); /* substring, line 176 */
|
497
|
+
if (!(among_var)) return 0;
|
498
|
+
z->bra = z->c; /* ], line 176 */
|
499
|
+
switch(among_var) {
|
500
|
+
case 0: return 0;
|
501
|
+
case 1:
|
502
|
+
{ int m = z->l - z->c; (void) m; /* or, line 182 */
|
503
|
+
if (!(eq_s_b(z, 1, s_4))) goto lab1;
|
504
|
+
goto lab0;
|
505
|
+
lab1:
|
506
|
+
z->c = z->l - m;
|
507
|
+
if (!(eq_s_b(z, 1, s_5))) return 0;
|
508
|
+
}
|
509
|
+
lab0:
|
510
|
+
{ int ret;
|
511
|
+
ret = slice_del(z); /* delete, line 182 */
|
512
|
+
if (ret < 0) return ret;
|
513
|
+
}
|
514
|
+
break;
|
515
|
+
case 2:
|
516
|
+
{ int ret;
|
517
|
+
ret = slice_del(z); /* delete, line 190 */
|
518
|
+
if (ret < 0) return ret;
|
519
|
+
}
|
520
|
+
break;
|
521
|
+
}
|
522
|
+
return 1;
|
523
|
+
}
|
524
|
+
|
525
|
+
static int r_noun(struct SN_env * z) {
|
526
|
+
int among_var;
|
527
|
+
z->ket = z->c; /* [, line 199 */
|
528
|
+
among_var = find_among_b(z, a_5, 36); /* substring, line 199 */
|
529
|
+
if (!(among_var)) return 0;
|
530
|
+
z->bra = z->c; /* ], line 199 */
|
531
|
+
switch(among_var) {
|
532
|
+
case 0: return 0;
|
533
|
+
case 1:
|
534
|
+
{ int ret;
|
535
|
+
ret = slice_del(z); /* delete, line 206 */
|
536
|
+
if (ret < 0) return ret;
|
537
|
+
}
|
538
|
+
break;
|
539
|
+
}
|
540
|
+
return 1;
|
541
|
+
}
|
542
|
+
|
543
|
+
static int r_derivational(struct SN_env * z) {
|
544
|
+
int among_var;
|
545
|
+
z->ket = z->c; /* [, line 215 */
|
546
|
+
among_var = find_among_b(z, a_6, 2); /* substring, line 215 */
|
547
|
+
if (!(among_var)) return 0;
|
548
|
+
z->bra = z->c; /* ], line 215 */
|
549
|
+
{ int ret = r_R2(z);
|
550
|
+
if (ret == 0) return 0; /* call R2, line 215 */
|
551
|
+
if (ret < 0) return ret;
|
552
|
+
}
|
553
|
+
switch(among_var) {
|
554
|
+
case 0: return 0;
|
555
|
+
case 1:
|
556
|
+
{ int ret;
|
557
|
+
ret = slice_del(z); /* delete, line 218 */
|
558
|
+
if (ret < 0) return ret;
|
559
|
+
}
|
560
|
+
break;
|
561
|
+
}
|
562
|
+
return 1;
|
563
|
+
}
|
564
|
+
|
565
|
+
static int r_tidy_up(struct SN_env * z) {
|
566
|
+
int among_var;
|
567
|
+
z->ket = z->c; /* [, line 223 */
|
568
|
+
among_var = find_among_b(z, a_7, 4); /* substring, line 223 */
|
569
|
+
if (!(among_var)) return 0;
|
570
|
+
z->bra = z->c; /* ], line 223 */
|
571
|
+
switch(among_var) {
|
572
|
+
case 0: return 0;
|
573
|
+
case 1:
|
574
|
+
{ int ret;
|
575
|
+
ret = slice_del(z); /* delete, line 227 */
|
576
|
+
if (ret < 0) return ret;
|
577
|
+
}
|
578
|
+
z->ket = z->c; /* [, line 228 */
|
579
|
+
if (!(eq_s_b(z, 1, s_6))) return 0;
|
580
|
+
z->bra = z->c; /* ], line 228 */
|
581
|
+
if (!(eq_s_b(z, 1, s_7))) return 0;
|
582
|
+
{ int ret;
|
583
|
+
ret = slice_del(z); /* delete, line 228 */
|
584
|
+
if (ret < 0) return ret;
|
585
|
+
}
|
586
|
+
break;
|
587
|
+
case 2:
|
588
|
+
if (!(eq_s_b(z, 1, s_8))) return 0;
|
589
|
+
{ int ret;
|
590
|
+
ret = slice_del(z); /* delete, line 231 */
|
591
|
+
if (ret < 0) return ret;
|
592
|
+
}
|
593
|
+
break;
|
594
|
+
case 3:
|
595
|
+
{ int ret;
|
596
|
+
ret = slice_del(z); /* delete, line 233 */
|
597
|
+
if (ret < 0) return ret;
|
598
|
+
}
|
599
|
+
break;
|
600
|
+
}
|
601
|
+
return 1;
|
602
|
+
}
|
603
|
+
|
604
|
+
extern int russian_stem(struct SN_env * z) {
|
605
|
+
{ int c = z->c; /* do, line 240 */
|
606
|
+
{ int ret = r_mark_regions(z);
|
607
|
+
if (ret == 0) goto lab0; /* call mark_regions, line 240 */
|
608
|
+
if (ret < 0) return ret;
|
609
|
+
}
|
610
|
+
lab0:
|
611
|
+
z->c = c;
|
612
|
+
}
|
613
|
+
z->lb = z->c; z->c = z->l; /* backwards, line 241 */
|
614
|
+
|
615
|
+
{ int m3; /* setlimit, line 241 */
|
616
|
+
int m = z->l - z->c; (void) m;
|
617
|
+
if (z->c < z->I[0]) return 0;
|
618
|
+
z->c = z->I[0]; /* tomark, line 241 */
|
619
|
+
m3 = z->lb; z->lb = z->c;
|
620
|
+
z->c = z->l - m;
|
621
|
+
{ int m = z->l - z->c; (void) m; /* do, line 242 */
|
622
|
+
{ int m = z->l - z->c; (void) m; /* or, line 243 */
|
623
|
+
{ int ret = r_perfective_gerund(z);
|
624
|
+
if (ret == 0) goto lab3; /* call perfective_gerund, line 243 */
|
625
|
+
if (ret < 0) return ret;
|
626
|
+
}
|
627
|
+
goto lab2;
|
628
|
+
lab3:
|
629
|
+
z->c = z->l - m;
|
630
|
+
{ int m = z->l - z->c; (void) m; /* try, line 244 */
|
631
|
+
{ int ret = r_reflexive(z);
|
632
|
+
if (ret == 0) { z->c = z->l - m; goto lab4; } /* call reflexive, line 244 */
|
633
|
+
if (ret < 0) return ret;
|
634
|
+
}
|
635
|
+
lab4:
|
636
|
+
;
|
637
|
+
}
|
638
|
+
{ int m = z->l - z->c; (void) m; /* or, line 245 */
|
639
|
+
{ int ret = r_adjectival(z);
|
640
|
+
if (ret == 0) goto lab6; /* call adjectival, line 245 */
|
641
|
+
if (ret < 0) return ret;
|
642
|
+
}
|
643
|
+
goto lab5;
|
644
|
+
lab6:
|
645
|
+
z->c = z->l - m;
|
646
|
+
{ int ret = r_verb(z);
|
647
|
+
if (ret == 0) goto lab7; /* call verb, line 245 */
|
648
|
+
if (ret < 0) return ret;
|
649
|
+
}
|
650
|
+
goto lab5;
|
651
|
+
lab7:
|
652
|
+
z->c = z->l - m;
|
653
|
+
{ int ret = r_noun(z);
|
654
|
+
if (ret == 0) goto lab1; /* call noun, line 245 */
|
655
|
+
if (ret < 0) return ret;
|
656
|
+
}
|
657
|
+
}
|
658
|
+
lab5:
|
659
|
+
;
|
660
|
+
}
|
661
|
+
lab2:
|
662
|
+
lab1:
|
663
|
+
z->c = z->l - m;
|
664
|
+
}
|
665
|
+
{ int m = z->l - z->c; (void) m; /* try, line 248 */
|
666
|
+
z->ket = z->c; /* [, line 248 */
|
667
|
+
if (!(eq_s_b(z, 1, s_9))) { z->c = z->l - m; goto lab8; }
|
668
|
+
z->bra = z->c; /* ], line 248 */
|
669
|
+
{ int ret;
|
670
|
+
ret = slice_del(z); /* delete, line 248 */
|
671
|
+
if (ret < 0) return ret;
|
672
|
+
}
|
673
|
+
lab8:
|
674
|
+
;
|
675
|
+
}
|
676
|
+
{ int m = z->l - z->c; (void) m; /* do, line 251 */
|
677
|
+
{ int ret = r_derivational(z);
|
678
|
+
if (ret == 0) goto lab9; /* call derivational, line 251 */
|
679
|
+
if (ret < 0) return ret;
|
680
|
+
}
|
681
|
+
lab9:
|
682
|
+
z->c = z->l - m;
|
683
|
+
}
|
684
|
+
{ int m = z->l - z->c; (void) m; /* do, line 252 */
|
685
|
+
{ int ret = r_tidy_up(z);
|
686
|
+
if (ret == 0) goto lab10; /* call tidy_up, line 252 */
|
687
|
+
if (ret < 0) return ret;
|
688
|
+
}
|
689
|
+
lab10:
|
690
|
+
z->c = z->l - m;
|
691
|
+
}
|
692
|
+
z->lb = m3;
|
693
|
+
}
|
694
|
+
z->c = z->lb;
|
695
|
+
return 1;
|
696
|
+
}
|
697
|
+
|
698
|
+
extern struct SN_env * russian_create_env(void) { return SN_create_env(0, 2, 0); }
|
699
|
+
|
700
|
+
extern void russian_close_env(struct SN_env * z) { SN_close_env(z); }
|
701
|
+
|