02_test_lemmaposition.md 2.94 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
16
            "facitergula"
17
18
19
        )
    )

di68kap's avatar
di68kap committed
20
21
22
23
24
25
Fail-test "99"
--------------

### Test-code:
    duo vocabula

26
27
28
29
30
31
32
33
34

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


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

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

### AST
    (LemmaVarianten
42
        (LemmaVariante
43
            "fascitergula"
44
        )
45
46
47
48
49
50
51
52
        (LemmaVariante
            "facietergula"
        )
        (LemmaVariante
            "facistergula"
        )
        (LemmaVariante
            "farcutergula"
53
54
55
56
57
58
59
        )
    )

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

### Test-code:
di68kap's avatar
di68kap committed
60
    fascitergula
61
62
63

### AST
    (LemmaVarianten
64
        (LemmaVariante
65
            "fascitergula"
66
67
68
69
70
71
72
        )
    )

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

### Test-code:
di68kap's avatar
di68kap committed
73
    fascitergula facietergula {sim.}
74
75
76

### AST
    (LemmaVarianten
77
        (LemmaVariante
di68kap's avatar
di68kap committed
78
79
80
81
82
83
            (:RegExp
                "fascitergula"
            )
            (:Whitespace
                " "
            )
84
        )
di68kap's avatar
di68kap committed
85
86
        (LemmaVariante
            (LAT_WORT
87
                "facietergula"
di68kap's avatar
di68kap committed
88
            )
di68kap's avatar
di68kap committed
89
            (Zusatz
90
                "sim."
di68kap's avatar
di68kap committed
91
            )
92
93
94
        )
    )

di68kap's avatar
di68kap committed
95
96
97
98
Match-test "4"
--------------

### Test-code:
di68kap's avatar
di68kap committed
99
    fascitergula, facietergula, fascistergula {sim.}
di68kap's avatar
di68kap committed
100
101
102

### AST
    (LemmaVarianten
103
        (LemmaVariante
104
            "fascitergula"
di68kap's avatar
di68kap committed
105
        )
106
107
108
109
        (LemmaVariante
            "facietergula"
        )
        (LemmaVariante
110
            (LAT_WORT
111
                "fascistergula"
di68kap's avatar
di68kap committed
112
            )
113
114
            (Zusatz
                "sim."
di68kap's avatar
di68kap committed
115
116
117
118
            )
        )
    )

di68kap's avatar
di68kap committed
119
120
121
122
123
124
Fail-test "99"
--------------

### Test-code:
    * fascitergula

125
126
127
128
129
130
131
132
133

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


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

### Test-code:
di68kap's avatar
di68kap committed
134
    LEMMA facitergula
135
    
di68kap's avatar
di68kap committed
136
137
138
    fascitergula
    facietergula
    facistergula
di68kap's avatar
di68kap committed
139
    fascitercula {sim.}
140
141
142
143
144
145
    
    GRAMMATIK
    nomen; -ae f.

### AST
    (LemmaPosition
di68kap's avatar
di68kap committed
146
147
148
149
150
        (Lemma
            (LemmaWort
                "facitergula"
            )
        )
151
        (LemmaVarianten
152
            (LemmaVariante
153
                "fascitergula"
di68kap's avatar
di68kap committed
154
            )
155
156
157
158
159
160
161
162
163
            (LemmaVariante
                "facietergula"
            )
            (LemmaVariante
                "facistergula"
            )
            (LemmaVariante
                (LAT_WORT
                    "fascitercula"
di68kap's avatar
di68kap committed
164
                )
165
166
                (Zusatz
                    "sim."
di68kap's avatar
di68kap committed
167
                )
168
169
170
            )
        )
        (GrammatikPosition
di68kap's avatar
di68kap committed
171
172
173
174
175
176
177
178
179
            (Grammatik
                (nomen
                    "nomen"
                )
                (flexion
                    (deklination
                        (FLEX
                            "-ae"
                        )
180
181
                    )
                )
di68kap's avatar
di68kap committed
182
183
184
                (femininum
                    "femininum"
                )
di68kap's avatar
di68kap committed
185
            )
186
187
        )
    )