02_test_lemmaposition.md 5.35 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


Test of parser: "Lemma"
=======================


Match-test "1"
--------------

### Test-code:
    facitergula

### AST
    (Lemma
        (LemmaWort
di68kap's avatar
di68kap committed
16
            (LAT_WORT
17
                "facitergula"
18
19
20
21
            )
        )
    )

di68kap's avatar
di68kap committed
22
23
24
25
26
27
Fail-test "99"
--------------

### Test-code:
    duo vocabula

28
29
30
31
32
33
34
35
36

Test of parser: "LemmaVarianten"
================================


Match-test "1"
--------------

### Test-code:
di68kap's avatar
di68kap committed
37
38
39
40
    fascitergula
    facietergula
    facistergula
    farcutergula
41
42
43

### AST
    (LemmaVarianten
di68kap's avatar
di68kap committed
44
        (LAT_WORT
45
            "fascitergula"
46
        )
di68kap's avatar
di68kap committed
47
        (:ZeroOrMore
48
            (:Series
di68kap's avatar
di68kap committed
49
                (ZW
50
51
52
53
54
55
56
                    (ZEILENSPRUNG
                        (:RegExp
                            ""
                            ""
                        )
                    )
                )
57
                (LAT_WORT
58
                    "facietergula"
59
60
61
                )
            )
            (:Series
di68kap's avatar
di68kap committed
62
                (ZW
63
64
65
66
67
68
69
                    (ZEILENSPRUNG
                        (:RegExp
                            ""
                            ""
                        )
                    )
                )
70
                (LAT_WORT
71
                    "facistergula"
72
                )
di68kap's avatar
di68kap committed
73
74
            )
            (:Series
di68kap's avatar
di68kap committed
75
                (ZW
76
77
78
79
80
81
82
                    (ZEILENSPRUNG
                        (:RegExp
                            ""
                            ""
                        )
                    )
                )
di68kap's avatar
di68kap committed
83
                (LAT_WORT
84
                    "farcutergula"
di68kap's avatar
di68kap committed
85
                )
86
87
88
89
90
91
92
93
            )
        )
    )

Match-test "2"
--------------

### Test-code:
di68kap's avatar
di68kap committed
94
    fascitergula
95
96
97

### AST
    (LemmaVarianten
di68kap's avatar
di68kap committed
98
        (LAT_WORT
99
            "fascitergula"
100
101
102
103
104
105
106
        )
    )

Match-test "3"
--------------

### Test-code:
di68kap's avatar
di68kap committed
107
    fascitergula facietergula {sim.}
108
109
110

### AST
    (LemmaVarianten
di68kap's avatar
di68kap committed
111
112
113
114
115
116
117
        (LAT_WORT
            (:RegExp
                "fascitergula"
            )
            (:Whitespace
                " "
            )
118
        )
di68kap's avatar
di68kap committed
119
120
121
122
123
124
125
126
        (LemmaVariante
            (LAT_WORT
                (:RegExp
                    "facietergula"
                )
                (:Whitespace
                    " "
                )
di68kap's avatar
di68kap committed
127
            )
di68kap's avatar
di68kap committed
128
            (Zusatz
129
130
                (DEU_WORT
                    "sim."
di68kap's avatar
di68kap committed
131
                )
di68kap's avatar
di68kap committed
132
            )
133
134
135
        )
    )

di68kap's avatar
di68kap committed
136
137
138
139
Match-test "4"
--------------

### Test-code:
di68kap's avatar
di68kap committed
140
    fascitergula, facietergula, fascistergula {sim.}
di68kap's avatar
di68kap committed
141
142
143
144

### AST
    (LemmaVarianten
        (LAT_WORT
145
            "fascitergula"
di68kap's avatar
di68kap committed
146
147
        )
        (:ZeroOrMore
148
149
            (LAT_WORT
                "facietergula"
di68kap's avatar
di68kap committed
150
            )
151
152
            (LemmaVariante
                (LAT_WORT
di68kap's avatar
di68kap committed
153
                    (:RegExp
154
                        "fascistergula"
di68kap's avatar
di68kap committed
155
156
157
158
159
                    )
                    (:Whitespace
                        " "
                    )
                )
160
161
162
                (Zusatz
                    (DEU_WORT
                        "sim."
di68kap's avatar
di68kap committed
163
                    )
di68kap's avatar
di68kap committed
164
165
166
167
168
                )
            )
        )
    )

di68kap's avatar
di68kap committed
169
170
171
172
173
174
Fail-test "99"
--------------

### Test-code:
    * fascitergula

175
176
177
178
179
180
181
182
183

Test of parser: "LemmaPosition"
===============================


Match-test "1"
--------------

### Test-code:
di68kap's avatar
di68kap committed
184
    LEMMA facitergula
185
    
di68kap's avatar
di68kap committed
186
187
188
    fascitergula
    facietergula
    facistergula
di68kap's avatar
di68kap committed
189
    fascitercula {sim.}
190
191
192
193
194
195
196
197
    
    GRAMMATIK
    nomen; -ae f.

### AST
    (LemmaPosition
        (Lemma
            (LemmaWort
di68kap's avatar
di68kap committed
198
                (LAT_WORT
199
                    "facitergula"
di68kap's avatar
di68kap committed
200
201
                )
            )
202
203
        )
        (LemmaVarianten
di68kap's avatar
di68kap committed
204
            (LAT_WORT
205
                "fascitergula"
di68kap's avatar
di68kap committed
206
207
            )
            (:ZeroOrMore
208
                (:Series
di68kap's avatar
di68kap committed
209
                    (ZW
210
211
212
213
214
215
216
                        (ZEILENSPRUNG
                            (:RegExp
                                ""
                                ""
                            )
                        )
                    )
217
                    (LAT_WORT
218
                        "facietergula"
219
220
221
                    )
                )
                (:Series
di68kap's avatar
di68kap committed
222
                    (ZW
223
224
225
226
227
228
229
                        (ZEILENSPRUNG
                            (:RegExp
                                ""
                                ""
                            )
                        )
                    )
230
                    (LAT_WORT
231
                        "facistergula"
232
                    )
di68kap's avatar
di68kap committed
233
234
                )
                (:Series
di68kap's avatar
di68kap committed
235
                    (ZW
236
237
238
239
240
241
242
                        (ZEILENSPRUNG
                            (:RegExp
                                ""
                                ""
                            )
                        )
                    )
di68kap's avatar
di68kap committed
243
244
245
246
247
248
249
250
                    (LemmaVariante
                        (LAT_WORT
                            (:RegExp
                                "fascitercula"
                            )
                            (:Whitespace
                                " "
                            )
di68kap's avatar
di68kap committed
251
                        )
di68kap's avatar
di68kap committed
252
                        (Zusatz
253
254
                            (DEU_WORT
                                "sim."
di68kap's avatar
di68kap committed
255
                            )
di68kap's avatar
di68kap committed
256
257
258
                        )
                    )
                )
259
260
261
            )
        )
        (GrammatikPosition
262
263
            (flexion
                (FLEX
di68kap's avatar
di68kap committed
264
                    (:RegExp
265
                        "-ae"
di68kap's avatar
di68kap committed
266
                    )
267
268
                    (:Whitespace
                        " "
269
270
                    )
                )
di68kap's avatar
di68kap committed
271
            )
272
273
        )
    )