|
1
|
@PHRASE_NAMES
|
|
2
3
|
lex infp np prepnp adjp ip cp ncp advp padvp
adja prepadjp comprepnp compar measure num aglt aux-fut
|
|
4
5
6
|
aux-past aux-imp qub interj hyphen int
rparen rparen2 rquot rquot2 rquot3 inclusion
day-interval day-lex day-month-interval date-interval
|
|
7
|
month-lex year-lex month-interval year-interval roman roman-interval
|
|
8
9
|
hour-minute-interval hour-interval obj-id match-result
url email day-month day year date hour hour-minute
|
|
10
|
się nie by s <root> <conll_root> or or2 <colon> <speaker> <speaker-end> <squery>
|
|
11
12
13
14
15
16
17
18
19
20
21
|
@WEIGHTS
symbol_weight=1
measure_weight=0.5
@LEXICON
# symbole występujące w tekście - daty itp. i słowa określające ich typy
lemma=dzień,pos=subst,number=sg,case=gen: day-lex/(date+day+day-month): symbol_weight;
lemma=dzień,pos=subst,number=sg: np*number*case*gender*person/(date+day+day-month): symbol_weight;
lemma=dzień,pos=subst,number=pl: np*number*case*gender*person/(date-interval+day-interval+day-month-interval): symbol_weight;
|
|
22
23
|
#pos=date: date{schema}: symbol_weight;
pos=date: date/(1+year-lex): symbol_weight;
|
|
24
25
26
|
pos=date-interval: date-interval: symbol_weight;
pos=day: day/month-lex: symbol_weight;
pos=day-interval: day-interval/month-lex: symbol_weight;
|
|
27
28
|
#pos=day-month: day-month{schema}: symbol_weight;
pos=day-month: day-month/(1+year-lex): symbol_weight;
|
|
29
30
|
pos=day-month-interval: day-month-interval: symbol_weight;
|
|
31
|
lemma=rok,pos=subst,number=sg,case=gen: year-lex|(1+adjp*number*case*gender);
|
|
32
|
lemma=styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień,pos=subst,number=sg,case=gen:
|
|
33
|
month-lex/(1+year+np*T*gen*T*T): symbol_weight;
|
|
34
|
lemma=styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień,pos=subst,number=sg:
|
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
np*number*case*gender*person/year: symbol_weight;
pos=month-interval: month-interval: symbol_weight;
lemma=rok,pos=subst,number=sg: np*number*case*gender*person|year: symbol_weight;
lemma=rok,pos=subst,number=pl: np*number*case*gender*person/year-interval: symbol_weight;
pos=year: year: symbol_weight;
pos=year-interval: year-interval: symbol_weight;
lemma=wiek,pos=subst,number=sg: np*number*case*gender*person|roman: symbol_weight;
lemma=wiek,pos=subst,number=pl: np*number*case*gender*person/roman-interval: symbol_weight;
pos=roman: roman: symbol_weight;
pos=roman-interval: roman-interval: symbol_weight;
lemma=godzina,pos=subst,number=sg: np*number*case*gender*person/(hour+hour-minute): symbol_weight;
lemma=godzina,pos=subst,number=pl: np*number*case*gender*person/(hour-interval+hour-minute-interval): symbol_weight;
|
|
50
51
52
53
|
#pos=hour-minute: hour-minute{schema}: symbol_weight;
#pos=hour: hour{schema}: symbol_weight;
pos=hour-minute: hour-minute: symbol_weight;
pos=hour: hour: symbol_weight;
|
|
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
pos=hour-minute-interval: hour-minute-interval: symbol_weight;
pos=hour-interval: hour-interval: symbol_weight;
lemma=rysunek,pos=subst,number=sg: np*number*case*gender*person/obj-id: symbol_weight; # objids
pos=obj-id: obj-id: symbol_weight;
pos=match-result: match-result: symbol_weight;
pos=url: url: symbol_weight;
pos=email: email: symbol_weight;
pos=symbol: np*number*case*gender*person{\(1+qub),/(1+inclusion)};
# FIXME: uslalić kiedy schema jest pusta i wyciąć ją w takich przypadkach
# frazy rzeczownikowe
pos=subst|depr,nsyn!=pronoun,nsem!=measure:
|
|
69
|
np*number*case*gender*person{\(1+num*number*case*gender*person*congr*nsem)}{schema}{\(1+qub),/(1+inclusion)};
|
|
70
71
|
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
QUANT[number=T,case=all_cases,gender=T,person=T]
|
|
72
|
np*sg*case*n*person{\num*number*case*gender*person*rec*nsem}{schema}{\(1+qub),/(1+inclusion)}; # UWAGA: number "sg" i gender "n", żeby uzgadniać z podmiotem czasownika
|
|
73
|
#FIXME: w poniższych nie powinno być zmiany przypadka
|
|
74
|
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
|
|
75
76
77
78
79
80
|
QUANT[unumber=all_numbers,ucase=gen,ugender=all_genders, uperson=all_persons,case=gen]
np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{schema}{\(1+qub),/(1+inclusion)};
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
QUANT[unumber=all_numbers,ucase=dat,ugender=all_genders, uperson=all_persons,case=dat]
np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{schema}{\(1+qub),/(1+inclusion)};
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
|
|
81
|
QUANT[unumber=all_numbers,ucase=acc,ugender=all_genders, uperson=all_persons,case=acc]
|
|
82
83
84
85
86
87
|
np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{schema}{\(1+qub),/(1+inclusion)};
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
QUANT[unumber=all_numbers,ucase=inst,ugender=all_genders, uperson=all_persons,case=inst]
np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{schema}{\(1+qub),/(1+inclusion)};
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
QUANT[unumber=all_numbers,ucase=loc,ugender=all_genders, uperson=all_persons,case=loc]
|
|
88
89
|
np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{schema}{\(1+qub),/(1+inclusion)};
pos=subst|depr,nsyn=pronoun,nsem!=measure:
|
|
90
|
np*number*case*gender*person{\(1+num*number*case*gender*person*congr*nsem)}{\(1+qub),/(1+inclusion)};
|
|
91
92
|
pos=subst,case=gen,nsyn=pronoun,nsem!=measure:
QUANT[number=T,case=all_cases,gender=T,person=T]
|
|
93
|
np*sg*case*n*person{\num*number*case*gender*person*rec*nsem}{\(1+qub),/(1+inclusion)}; # UWAGA: number "sg" i gender "n", żeby uzgadniać z podmiotem czasownika
|
|
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
pos=subst,case=gen,nsyn=pronoun,nsem!=measure:
QUANT[unumber=all_numbers,ucase=all_cases,ugender=all_genders, uperson=all_persons,number=T,case=all_cases,gender=T,person=ter]
np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{\(1+qub),/(1+inclusion)};
pos=ppron12:
np*number*case*gender*person{\(1+qub),/(1+inclusion)};
pos=ppron3,praep=npraep|praep-npraep:
np*number*case*gender*person{\(1+qub),/(1+inclusion)};
pos=siebie:
np*number*case*gender*person{\(1+qub),/(1+inclusion)};
lemma=jakiś|ten|taki,pos=apron:
QUANT[number=T,case=T,gender=T,person=ter]
np*number*case*gender*person{\(1+qub),/(1+inclusion)};
# liczebniki
# FIXME: liczba po rzeczowniku # FIXME: zbadać jak liczebniki współdziałąją z jako COMPAR
|
|
109
110
111
112
|
# dwie reguły są potrzebne po to, żeby w ENIAMsemValence.match_value nie pojawiał się variant
pos=num|intnum|realnum|intnum-interval|realnum-interval,nsem=count:
num*number*case*gender*person*acm*nsem{\(1+qub),/(1+inclusion)}; # FIXME: jak usunięcie Phrase ProNG wpływa na pokrycie?
pos=num|intnum|realnum|intnum-interval|realnum-interval,nsem=mass:
|
|
113
|
num*number*case*gender*person*acm*nsem{\(1+qub),/(1+inclusion)}; # FIXME: jak usunięcie Phrase ProNG wpływa na pokrycie?
|
|
114
115
116
|
# pojemniki
pos=subst,nsem=measure:
|
|
117
|
measure*number*case*gender*person{\(1+num*number*case*gender*person*congr*count)}{schema}{\(1+qub),/(1+inclusion)}: measure_weight;
|
|
118
119
|
pos=subst,case=gen,nsem=measure:
QUANT[number=T,case=all_cases,gender=T,person=ter]
|
|
120
|
measure*sg*case*n*person{\num*number*case*gender*person*rec*count}{schema}{\(1+qub),/(1+inclusion)}: measure_weight; # UWAGA: number "sg" i gender "n", żeby uzgadniać z podmiotem czasownika
|
|
121
122
|
# frazy przyimkowe
|
|
123
124
125
126
|
#lemma!=temu,pos=prep: prepnp*lemma*case{\(1+advp*T),/np*T*case*T*T}{\(1+qub),/(1+inclusion)};
#lemma!=temu,pos=prep: prepadjp*lemma*case{\(1+advp*T),/adjp*T*case*T}{\(1+qub),/(1+inclusion)};
pos=prep: prepnp*lemma*case{\(1+advp*T),/np*T*case*T*T}{\(1+qub),/(1+inclusion)};
pos=prep: prepadjp*lemma*case{\(1+advp*T),/adjp*T*case*T}{\(1+qub),/(1+inclusion)};
|
|
127
128
129
|
lemma=po,pos=prep: QUANT[case=postp] prepadjp*lemma*case{\(1+advp*T),/(adjp*sg*dat*m1+adjp*T*postp*T)}{\(1+qub),/(1+inclusion)}; # po polsku, po kreciemu
lemma=z,pos=prep: QUANT[case=postp] prepadjp*lemma*case{\(1+advp*T),/adjp*sg*nom*f}{\(1+qub),/(1+inclusion)}; # z bliska
lemma=na,pos=prep: QUANT[case=postp] prepadjp*lemma*case{\(1+advp*T),/advp*T}{\(1+qub),/(1+inclusion)}; # na lewo
|
|
130
|
lemma=temu,pos=prep: prepnp*lemma*case\np*T*case*T*T; # chwilę temu
|
|
131
132
|
# przimkowe określenia czasu
|
|
133
134
|
lemma=z,pos=prep,case=gen: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=do,pos=prep,case=gen: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
|
|
135
|
lemma=koło,pos=prep,case=gen: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
|
|
136
137
138
139
140
141
142
|
lemma=na,pos=prep,case=acc: prepnp*lemma*case{\(1+advp*T),/(day-month+day+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=o,pos=prep,case=loc: prepnp*lemma*case{\(1+advp*T),/(hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=od,pos=prep,case=gen: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=około,pos=prep,case=gen: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=po,pos=prep,case=loc: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=przed,pos=prep,case=inst: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
lemma=w,pos=prep,case=loc: prepnp*lemma*case{\(1+advp*T),/(day-month+day+year+date+hour+hour-minute)}{\(1+qub),/(1+inclusion)};
|
|
143
144
145
|
# komparatywy
# FIXME: trzeba poprawić comparnp i comparpp w walencji
|
|
146
|
pos=compar: QUANT[case=nom&gen&dat&acc&inst] compar*lemma*case{\(1+advp*T),/(np*T*case*T*T+adjp*T*case*T)}{\(1+qub),/(1+inclusion)};
|
|
147
|
pos=compar: QUANT[case=postp] compar*lemma*case{\(1+advp*T),/(prepnp*T*T+prepadjp*T*T)}{\(1+qub),/(1+inclusion)};
|
|
148
149
150
151
152
153
154
155
156
157
158
|
# frazy przymiotnikowe
# FIXME: let grad = match grads with [grad] -> grad | _ -> failwith "make_adjp: grad" in
pos=adj|adjc|adjp: adjp*number*case*gender{schema}{\(1+qub),/(1+inclusion)}{\(1+adja)};
lemma=jakiś|ten|taki,pos=apron: adjp*number*case*gender{\(1+qub),/(1+inclusion)};
pos=ordnum|roman-ordnum: adjp*number*case*gender{\(1+qub),/(1+inclusion)}{\(1+adja)};
pos=adja|intnum|realnum|intnum-interval|realnum-interval|roman|roman-interval: adja/hyphen;
# przysłówki
# FIXME let grad = match grads with [grad] -> grad | _ -> failwith "make_advp: grad" in
|
|
159
|
pos=adv: advp*mode{schema}{\(1+qub),/(1+inclusion)}{\(1+adja)};
|
|
160
161
162
|
# relatory
# FIXME: dwa znaczenia jak: pytanie o cechę lub spójnik
|
|
163
164
165
166
167
168
|
lemma=jak,pos=adv: #CHECK
QUANT[amode=0,ctype=int] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/advp*amode)}{/(advp*amode\advp*mode)};
lemma=skąd|dokąd|gdzie|którędy|kiedy|jak,pos=adv:
QUANT[ctype=int&rel] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/advp*mode)};
|
|
169
|
lemma=odkąd|dlaczego|czemu,pos=adv:
|
|
170
171
|
QUANT[ctype=int] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/advp*mode)};
|
|
172
|
lemma=gdy,pos=adv:
|
|
173
174
|
QUANT[ctype=sub] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/advp*mode)};
|
|
175
176
177
178
179
180
181
|
# czasowniki
pos=ger: np*number*case*gender*person{schema}{\(1+qub),/(1+inclusion)};
pos=pact: adjp*number*case*gender{schema}{\(1+qub),/(1+inclusion)};
pos=ppas: adjp*number*case*gender{schema}{\(1+qub),/(1+inclusion)};
|
|
182
183
|
pos=fin|bedzie,negation=aff,mood=indicative: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)};
pos=fin|bedzie,negation=neg,mood=indicative: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)}{\nie};
|
|
184
185
|
pos=fin|bedzie,negation=aff,mood=imperative: ip*number*gender*person{/(1+int),schema,|aux-imp}{\(1+qub),/(1+inclusion)};
pos=fin|bedzie,negation=neg,mood=imperative: ip*number*gender*person{/(1+int),schema,|aux-imp}{\(1+qub),/(1+inclusion)}{\nie};
|
|
186
187
188
189
190
191
192
193
194
195
|
pos=impt|imps,negation=aff: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)};
pos=impt|imps,negation=neg: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)}{\nie};
pos=pred,negation=aff,tense=pres: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)};
pos=pred,negation=neg,tense=pres: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)}{\nie};
pos=pred,negation=aff,tense=fut: ip*number*gender*person{/(1+int),schema,|aux-fut*number*gender*person}{\(1+qub),/(1+inclusion)};
pos=pred,negation=neg,tense=fut: ip*number*gender*person{/(1+int),schema,|aux-fut*number*gender*person}{\(1+qub),/(1+inclusion)}{\nie};
pos=pred,negation=aff,tense=past: ip*number*gender*person{/(1+int),schema,|aux-past*number*gender*person}{\(1+qub),/(1+inclusion)};
pos=pred,negation=neg,tense=past: ip*number*gender*person{/(1+int),schema,|aux-past*number*gender*person}{\(1+qub),/(1+inclusion)}{\nie};
|
|
196
197
198
199
|
pos=praet,person=ter,negation=aff,mood=indicative,tense=past: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)};
pos=praet,person=ter,negation=neg,mood=indicative,tense=past: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)}{\nie};
pos=praet,person!=ter,negation=aff,mood=indicative,tense=past: ip*number*gender*person{/(1+int),schema,|aglt*number*person}{\(1+qub),/(1+inclusion)};
pos=praet,person!=ter,negation=neg,mood=indicative,tense=past: ip*number*gender*person{/(1+int),schema,|aglt*number*person}{\(1+qub),/(1+inclusion)}{\nie};
|
|
200
|
|
|
201
202
203
204
205
206
207
208
209
|
pos=winien,person=ter,negation=aff,mood=indicative,tense=pres: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)};
pos=winien,person=ter,negation=neg,mood=indicative,tense=pres: ip*number*gender*person{/(1+int),schema}{\(1+qub),/(1+inclusion)}{\nie};
pos=winien,person!=ter,negation=aff,mood=indicative,tense=pres: ip*number*gender*person{/(1+int),schema,|aglt*number*person}{\(1+qub),/(1+inclusion)};
pos=winien,person!=ter,negation=neg,mood=indicative,tense=pres: ip*number*gender*person{/(1+int),schema,|aglt*number*person}{\(1+qub),/(1+inclusion)}{\nie};
pos=praet|winien,person=ter,negation=aff,mood=conditional,tense!=fut: ip*number*gender*person{/(1+int),schema,|by}{\(1+qub),/(1+inclusion)};
pos=praet|winien,person=ter,negation=neg,mood=conditional,tense!=fut: ip*number*gender*person{/(1+int),schema,|by}{\(1+qub),/(1+inclusion)}{\nie};
pos=praet|winien,person!=ter,negation=aff,mood=conditional,tense!=fut: ip*number*gender*person{/(1+int),schema,|aglt*number*person,|by}{\(1+qub),/(1+inclusion)};
pos=praet|winien,person!=ter,negation=neg,mood=conditional,tense!=fut: ip*number*gender*person{/(1+int),schema,|aglt*number*person,|by}{\(1+qub),/(1+inclusion)}{\nie};
|
|
210
211
212
213
214
215
216
|
pos=praet|winien,negation=aff,tense=fut: ip*number*gender*person{/(1+int),schema,|aux-fut*number*gender*person}{\(1+qub),/(1+inclusion)};
pos=winien,person=ter,negation=aff,tense=past: ip*number*gender*person{/(1+int),schema,|aux-past*number*gender*person}{\(1+qub),/(1+inclusion)};
pos=winien,person=ter,negation=neg,tense=past: ip*number*gender*person{/(1+int),schema,|aux-past*number*gender*person}{\(1+qub),/(1+inclusion)}{\nie};
pos=winien,person!=ter,negation=aff,tense=past: ip*number*gender*person{/(1+int),schema,|aglt*number*person,|aux-past*number*gender*person}{\(1+qub),/(1+inclusion)};
pos=winien,person!=ter,negation=neg,tense=past: ip*number*gender*person{/(1+int),schema,|aglt*number*person,|aux-past*number*gender*person}{\(1+qub),/(1+inclusion)}{\nie};
|
|
217
|
|
|
218
219
|
pos=bedzie,negation=aff,mood=indicative: aux-fut*number*gender*person;
lemma=być,pos=praet,negation=aff,mood=indicative,tense=past: aux-past*number*gender*person;
|
|
220
221
|
pos=aglt: aglt*number*person;
|
|
222
223
|
pos=inf,negation=aff: infp*aspect{schema}{\(1+qub),/(1+inclusion)};
pos=inf,negation=neg: infp*aspect{schema}{\(1+qub),/(1+inclusion)}{\nie};
|
|
224
225
226
227
228
229
230
|
pos=pcon,negation=aff: padvp{schema}{\(1+qub),/(1+inclusion)};
pos=pcon,negation=neg: padvp{schema}{\(1+qub),/(1+inclusion)}{\nie};
pos=pant,negation=aff: padvp{schema}{\(1+qub),/(1+inclusion)};
pos=pant,negation=neg: padvp{schema}{\(1+qub),/(1+inclusion)}{\nie};
pos=comp: QUANT[ctype=sub] cp*ctype*lemma/ip*T*T*T;
pos=conj: QUANT[ctype=coord] cp*ctype*lemma/ip*T*T*T;
|
|
231
|
lemma=i|oraz|lub|czy|bądź,pos=conj:
|
|
232
233
|
QUANT[number=all_numbers,gender=all_genders,person=all_persons]
(ip*number*gender*person/ip*T*T*T)\ip*T*T*T;
|
|
234
235
236
237
238
|
lemma=,|i|oraz|lub|czy|bądź,pos=conj: (advp*mod/prepnp*T*T)\prepnp*T*T;
lemma=,|i|oraz|lub|czy|bądź,pos=conj: QUANT[mode=0] (advp*mode/advp*mode)\prepnp*T*T;
lemma=,|i|oraz|lub|czy|bądź,pos=conj: QUANT[mode=0] (advp*mode/prepnp*T*T)\advp*mode;
lemma=,|i|oraz|lub|czy|bądź,pos=conj: (advp*mod/advp*T)\advp*T; #FIXME: przydałaby się wersja zachowująca mode
lemma=,|i|oraz|lub|czy|bądź,pos=conj:
|
|
239
240
|
QUANT[plemma=0,case=all_cases]
(prepnp*plemma*case/prepnp*plemma*case)\prepnp*plemma*case;
|
|
241
|
lemma=,|i|oraz|lub|czy|bądź,pos=conj:
|
|
242
243
|
QUANT[number=all_numbers,case=all_cases,gender=all_genders,person=all_persons]
(np*number*case*gender*person/np*T*case*T*T)\np*T*case*T*T;
|
|
244
|
lemma=,|i|oraz|lub|czy|bądź,pos=conj:
|
|
245
246
|
QUANT[number=all_numbers,case=all_cases,gender=all_genders]
(adjp*number*case*gender/adjp*number*case*gender)\adjp*number*case*gender;
|
|
247
248
|
lemma=co|kto,pos=subst:
|
|
249
250
|
QUANT[ctype=int&rel] RAISED[ctype]
cp*ctype*lemma/(ip*T*T*T/np*number*case*gender*person);
|
|
251
|
lemma=co|kto,pos=subst:
|
|
252
253
254
255
256
|
QUANT[plemma=0,ctype=int&rel] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/prepnp*plemma*case)}{\(prepnp*plemma*case/np*number*case*gender*person)};
#lemma=co|kto,pos=subst:
# QUANT[plemma=0,ctype=int&rel] RAISED[ctype]
# cp*ctype*lemma{/(ip*T*T*T/comprepnp*plemma)}{\(comprepnp*plemma/np*number*case*gender*person)};
|
|
257
|
lemma=to,pos=subst:
|
|
258
|
QUANT[ctype=0,plemma=0]
|
|
259
260
|
ncp*number*case*gender*person*ctype*plemma{\(1+qub),/(1+inclusion)}{/cp*ctype*plemma};
pos=ppron3,praep=praep:
|
|
261
262
|
QUANT[plemma=0]
prepnp*plemma*case\(prepnp*plemma*case/np*number*case*gender*person); #inclusion
|
|
263
264
|
lemma=ile,pos=num,acm=congr:
QUANT[ctype=int] RAISED[ctype]
|
|
265
|
cp*ctype*lemma{/(ip*T*T*T/np*number*case*gender*person)}{/(np*number*case*gender*person\num*number*case*gender*person*congr*nsem)};
|
|
266
267
|
lemma=ile,pos=num,acm=congr:
QUANT[plemma=0,ctype=int] RAISED[ctype]
|
|
268
|
cp*ctype*lemma{/(ip*T*T*T/prepnp*plemma*case)}{\(prepnp*plemma*case/np*number*case*gender*person)}{/(np*number*case*gender*person\num*number*case*gender*person*congr*nsem)};
|
|
269
270
|
lemma=ile,pos=num,acm=rec:
QUANT[ctype=int] RAISED[ctype]
|
|
271
|
cp*ctype*lemma{/(ip*T*T*T/np*sg*case*n*person)}{/(np*sg*case*n*person\num*number*case*gender*person*rec*nsem)};
|
|
272
273
|
lemma=ile,pos=num,acm=rec:
QUANT[plemma=0,ctype=int] RAISED[ctype]
|
|
274
|
cp*ctype*lemma{/(ip*T*T*T/prepnp*plemma*case)}{\(prepnp*plemma*case/np*sg*case*n*person)}{/(np*sg*case*n*person\num*number*case*gender*person*rec*nsem)};
|
|
275
276
277
|
#lemma=ile,pos=num: # FIXME: iloma ma bezpośredni podrzędnik rzeczownikowy, a ile nie # FIXME: mwe "o ile, na ile"
# QUANT[ctype=int&rel]
# cp*ctype*lemma/ip*T*T*T; # FIXME: zaślepka, bo podrzędnik ile nie musi z nim sąciadować # FIXME: trzeba dodać przypadki, bezpośredniego podrzędnika rzeczownikowego i przyimka nad "ile"
|
|
278
|
lemma=czyj|jaki|który,pos=apron:
|
|
279
280
|
QUANT[nperson=0,ctype=int] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/np*number*case*gender*nperson)}{/(np*number*case*gender*nperson\adjp*number*case*gender)};
|
|
281
|
lemma=czyj|jaki|który,pos=apron:
|
|
282
283
284
285
286
|
QUANT[nperson=0,plemma=0,ctype=int] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/prepnp*plemma*case)}{\(prepnp*plemma*case/np*number*case*gender*nperson)}{/(np*number*case*gender*nperson\adjp*number*case*gender)};
lemma=jaki|który,pos=apron:
QUANT[ctype=rel,person=ter] RAISED[ctype]
cp*ctype*lemma/(ip*T*T*T/np*number*case*gender*person);
|
|
287
|
lemma=jaki|który,pos=apron:
|
|
288
289
290
291
292
293
294
295
296
297
298
299
|
QUANT[plemma=0,ctype=rel,person=ter] RAISED[ctype]
cp*ctype*lemma{/(ip*T*T*T/prepnp*plemma*case)}{\(prepnp*plemma*case/np*number*case*gender*person)};
lemma=się,pos=part: lex*się*qub; # FIXME: dodać make_np
lemma=nie,pos=part: nie;
lemma=by,pos=part: by;
lemma=niech,pos=part: aux-imp;
lemma=niechaj,pos=part: aux-imp;
lemma=niechże,pos=part: aux-imp;
lemma=niechajże,pos=part: aux-imp;
lemma=czy,pos=part: QUANT[ctype=int] cp*ctype*lemma/ip*T*T*T;
lemma=gdyby,pos=part: QUANT[ctype=rel] cp*ctype*lemma/ip*T*T*T;
|
|
300
301
302
303
|
pos=qub: qub;
pos=interj: interj;
lemma=-,pos=interp: hyphen;
lemma=?,pos=interp: int;
|
|
304
305
306
|
lemma=„,pos=interp: QUANT[number=0,case=0,gender=0,person=0] (np*number*case*gender*person/rquot)/np*number*case*gender*person; #SetAttr("QUOT",Val "+",Var "x"
lemma=«,pos=interp: QUANT[number=0,case=0,gender=0,person=0] (np*number*case*gender*person/rquot2)/np*number*case*gender*person; #SetAttr("QUOT",Val "+",Var "x"
lemma=»,pos=interp: QUANT[number=0,case=0,gender=0,person=0] (np*number*case*gender*person/rquot3)/np*number*case*gender*person; #SetAttr("QUOT",Val "+",Var "x"
|
|
307
308
309
|
lemma=”,pos=interp: rquot;
lemma=»,pos=interp: rquot2;
lemma=«,pos=interp: rquot3;
|
|
310
311
|
lemma=(,pos=interp: (inclusion/rparen)/(np*T*T*T*T+ip*T*T*T+adjp*T*T*T+prepnp*T*T); #SetAttr("INCLUSION",Val "+",
lemma=[,pos=interp: (inclusion/rparen2)/(np*T*T*T*T+ip*T*T*T+adjp*T*T*T+prepnp*T*T); #SetAttr("INCLUSION",Val "+",
|
|
312
313
314
|
lemma=),pos=interp: rparen;
lemma=],pos=interp: rparen2;
pos=unk: np*number*case*gender*person;
|
|
315
|
pos=xxx: np*number*case*gender*person;
|
|
316
|
|
|
317
318
|
lemma=<conll_root>,pos=interp: <conll_root>/(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj);
|
|
319
320
321
322
323
324
325
|
pos=sinterj: BRACKET interj;
lemma=</sentence>,pos=interp: BRACKET s\?(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj);
lemma=<sentence>,pos=interp: BRACKET <root>/s;
lemma=:,pos=interp: BRACKET or;
lemma=:s,pos=interp: BRACKET <colon>\<speaker>;
|
|
326
|
lemma=:s,pos=interp: BRACKET (<colon>\<speaker>)/<squery>; #FIXME <squery> nie jest nigdzie generowane
|
|
327
|
lemma=<or-sentence>,pos=interp: BRACKET <root>/s;
|
|
328
|
lemma=<or-sentence>,pos=interp: BRACKET ((<root>/<speaker-end>)/(ip*T*T*T/or))/or2 SEM[λxλyλz.NODE(yx,z)];
|
|
329
|
lemma=</or-sentence>,pos=interp: BRACKET or2\?(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj);
|
|
330
|
lemma=<sentence>,pos=interp: BRACKET ((<root>/<speaker-end>)/or)/np*T*nom*T*T;
|
|
331
|
lemma=</sentence>,pos=interp: BRACKET <speaker-end>;
|