lexicon-pl.dic 23.9 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406
@PHRASE_NAMES
  lex infp np prepnp adjp ip cp ncp advp padvp
  adja prepadjp comprepnp compar measure num aglt aux-fut
  aux-past aux-imp qub interj hyphen int
  rparen rparen2 rquot rquot2 rquot3 inclusion
  day-interval day-lex day-month-interval date-interval
  month-lex year-lex month-interval year-interval roman roman-interval
  hour-minute-interval hour-interval obj-id match-result
  url email day-month day year date hour hour-minute
  się nie by s <root> <conll_root> or or2 <colon> <speaker> <speaker-end> <squery>

  <subst> <depr> <ppron12> <ppron3> <siebie> <prep> <num> <intnum>
  <realnum> <intnum-interval> <realnum-interval> <symbol> <ordnum>
  <date> <date-interval> <hour-minute> <hour> <hour-minute-interval>
  <hour-interval> <year> <year-interval> <day> <day-interval> <day-month>
  <day-month-interval> <month-interval> <roman> <roman-interval> <roman-ordnum>
  <match-result> <url> <email> <obj-id> <adj> <apron> <adjc> <adjp> <adja>
  <adv> <ger> <pact> <ppas> <fin> <bedzie> <praet> <winien> <impt>
  <imps> <pred> <aglt> <inf> <pcon> <pant> <qub> <comp> <compar> <conj> <interj>
  <sinterj> <burk> <interp> <part> <unk> <building-number>

@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;
#pos=date:                date{schema}: symbol_weight;
pos=date:                date/(1+year-lex): symbol_weight;
pos=date-interval:       date-interval: symbol_weight;
pos=day:                 day/month-lex: symbol_weight;
pos=day-interval:        day-interval/month-lex: symbol_weight;
#pos=day-month:           day-month{schema}: symbol_weight;
pos=day-month:           day-month/(1+year-lex): symbol_weight;
pos=day-month-interval:  day-month-interval: symbol_weight;

lemma=rok,pos=subst,number=sg,case=gen:   year-lex|(1+adjp*number*case*gender);
lemma=styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień,pos=subst,number=sg,case=gen:
  month-lex/(1+year+np*T*gen*T*T): symbol_weight;
lemma=styczeń|luty|marzec|kwiecień|maj|czerwiec|lipiec|sierpień|wrzesień|październik|listopad|grudzień,pos=subst,number=sg:
  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;
#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;
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:
  np*number*case*gender*person{\(1+num*number*case*gender*person*congr*nsem)}{schema}{\(1+qub),/(1+inclusion)};
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
  QUANT[number=T,case=all_cases,gender=T,person=T]
  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
#FIXME: w poniższych nie powinno być zmiany przypadka
pos=subst,case=gen,nsyn!=pronoun,nsem!=measure:
  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:
  QUANT[unumber=all_numbers,ucase=acc,ugender=all_genders, uperson=all_persons,case=acc]
  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]
  np*unumber*ucase*ugender*uperson{\measure*unumber*ucase*ugender*uperson}{schema}{\(1+qub),/(1+inclusion)};
pos=subst|depr,nsyn=pronoun,nsem!=measure:
  np*number*case*gender*person{\(1+num*number*case*gender*person*congr*nsem)}{\(1+qub),/(1+inclusion)};
pos=subst,case=gen,nsyn=pronoun,nsem!=measure:
  QUANT[number=T,case=all_cases,gender=T,person=T]
  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
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
# 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:
  num*number*case*gender*person*acm*nsem{\(1+qub),/(1+inclusion)}; # FIXME: jak usunięcie Phrase ProNG wpływa na pokrycie?

# pojemniki
pos=subst,nsem=measure:
  measure*number*case*gender*person{\(1+num*number*case*gender*person*congr*count)}{schema}{\(1+qub),/(1+inclusion)}: measure_weight;
pos=subst,case=gen,nsem=measure:
  QUANT[number=T,case=all_cases,gender=T,person=ter]
  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

# frazy przyimkowe
#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)};
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
lemma=temu,pos=prep: prepnp*lemma*case\np*T*case*T*T; # chwilę temu

# przimkowe określenia czasu
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)};
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)};
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)};

# komparatywy
# FIXME: trzeba poprawić comparnp i comparpp w walencji
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)};
pos=compar: QUANT[case=postp] compar*lemma*case{\(1+advp*T),/(prepnp*T*T+prepadjp*T*T)}{\(1+qub),/(1+inclusion)};

# 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
pos=adv: advp*mode{schema}{\(1+qub),/(1+inclusion)}{\(1+adja)};

# relatory
# FIXME: dwa znaczenia jak: pytanie o cechę lub spójnik
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)};
lemma=odkąd|dlaczego|czemu,pos=adv:
  QUANT[ctype=int] RAISED[ctype]
  cp*ctype*lemma{/(ip*T*T*T/advp*mode)};
lemma=gdy,pos=adv:
  QUANT[ctype=sub] RAISED[ctype]
  cp*ctype*lemma{/(ip*T*T*T/advp*mode)};

# 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)};

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};
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};
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};

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};

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};

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};

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;
pos=aglt:             aglt*number*person;

pos=inf,negation=aff:   infp*aspect{schema}{\(1+qub),/(1+inclusion)};
pos=inf,negation=neg:   infp*aspect{schema}{\(1+qub),/(1+inclusion)}{\nie};
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;
lemma=i|oraz|lub|czy|bądź,pos=conj:
  QUANT[number=all_numbers,gender=all_genders,person=all_persons]
  (ip*number*gender*person/ip*T*T*T)\ip*T*T*T;
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:
  QUANT[plemma=0,case=all_cases]
  (prepnp*plemma*case/prepnp*plemma*case)\prepnp*plemma*case;
lemma=,|i|oraz|lub|czy|bądź,pos=conj:
  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;
lemma=,|i|oraz|lub|czy|bądź,pos=conj:
  QUANT[number=all_numbers,case=all_cases,gender=all_genders]
  (adjp*number*case*gender/adjp*number*case*gender)\adjp*number*case*gender;

lemma=co|kto,pos=subst:
  QUANT[ctype=int&rel] RAISED[ctype]
  cp*ctype*lemma/(ip*T*T*T/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/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)};
lemma=to,pos=subst:
  QUANT[ctype=0,plemma=0]
  ncp*number*case*gender*person*ctype*plemma{\(1+qub),/(1+inclusion)}{/cp*ctype*plemma};
pos=ppron3,praep=praep:
  QUANT[plemma=0]
  prepnp*plemma*case\(prepnp*plemma*case/np*number*case*gender*person); #inclusion
lemma=ile,pos=num,acm=congr:
  QUANT[ctype=int] RAISED[ctype]
  cp*ctype*lemma{/(ip*T*T*T/np*number*case*gender*person)}{/(np*number*case*gender*person\num*number*case*gender*person*congr*nsem)};
lemma=ile,pos=num,acm=congr:
  QUANT[plemma=0,ctype=int] RAISED[ctype]
  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)};
lemma=ile,pos=num,acm=rec:
  QUANT[ctype=int] RAISED[ctype]
  cp*ctype*lemma{/(ip*T*T*T/np*sg*case*n*person)}{/(np*sg*case*n*person\num*number*case*gender*person*rec*nsem)};
lemma=ile,pos=num,acm=rec:
  QUANT[plemma=0,ctype=int] RAISED[ctype]
  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)};
#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"
lemma=czyj|jaki|który,pos=apron:
  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)};
lemma=czyj|jaki|który,pos=apron:
  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);
lemma=jaki|który,pos=apron:
  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;
pos=qub:                  qub;
pos=interj:               interj;
lemma=-,pos=interp:       hyphen;
lemma=?,pos=interp:       int;
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"
lemma=”,pos=interp:       rquot;
lemma=»,pos=interp:       rquot2;
lemma=«,pos=interp:       rquot3;
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 "+",
lemma=),pos=interp:       rparen;
lemma=],pos=interp:       rparen2;
pos=unk:                  np*number*case*gender*person;
pos=xxx:                  np*number*case*gender*person;

lemma=<conll_root>,pos=interp:    <conll_root>/(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj);

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>;
lemma=:s,pos=interp:              BRACKET (<colon>\<speaker>)/<squery>; #FIXME <squery> nie jest nigdzie generowane
lemma=<or-sentence>,pos=interp:   BRACKET <root>/s;
lemma=<or-sentence>,pos=interp:   BRACKET ((<root>/<speaker-end>)/(ip*T*T*T/or))/or2 SEM[λxλyλz.NODE(yx,z)];
lemma=</or-sentence>,pos=interp:  BRACKET or2\?(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj);
lemma=<sentence>,pos=interp:      BRACKET ((<root>/<speaker-end>)/or)/np*T*nom*T*T;
lemma=</sentence>,pos=interp:     BRACKET <speaker-end>;

pos=subst:  <subst>;
pos=year:  <year>;
pos=year-interval:  <year-interval>;
pos=prep:  <prep>;
pos=depr:  <depr>;
pos=ppron12:  <ppron12>;
pos=ppron3:  <ppron3>;
pos=siebie:  <siebie>;
pos=num:  <num>;
pos=intnum:  <intnum>;
pos=realnum:  <realnum>;
pos=intnum-interval:  <intnum-interval>;
pos=realnum-interval:  <realnum-interval>;
pos=symbol:  <symbol>;
pos=ordnum:  <ordnum>;
pos=date:  <date>;
pos=date-interval:  <date-interval>;
pos=hour-minute:  <hour-minute>;
pos=hour:  <hour>;
pos=hour-minute-interval:  <hour-minute-interval>;
pos=hour-interval:  <hour-interval>;
pos=day:  <day>;
pos=day-interval:  <day-interval>;
pos=day-month:  <day-month>;
pos=day-month-interval:  <day-month-interval>;
pos=month-interval:  <month-interval>;
pos=roman:  <roman>;
pos=roman-interval:  <roman-interval>;
pos=roman-ordnum:  <roman-ordnum>;
pos=match-result:  <match-result>;
pos=building-number:  <building-number>;
pos=url:  <url>;
pos=email:  <email>;
pos=obj-id:  <obj-id>;
pos=apron:  <apron>;
pos=adj:  <adj>;
pos=adjc:  <adjc>;
pos=adjp:  <adjp>;
pos=adja:  <adja>;
pos=adv:  <adv>;
pos=ger:  <ger>;
pos=pact:  <pact>;
pos=ppas:  <ppas>;
pos=fin:  <fin>;
pos=bedzie:  <bedzie>;
pos=praet:  <praet>;
pos=winien:  <winien>;
pos=impt:  <impt>;
pos=imps:  <imps>;
pos=pred:  <pred>;
pos=aglt:  <aglt>;
pos=inf:  <inf>;
pos=pcon:  <pcon>;
pos=pant:  <pant>;
pos=qub:  <qub>;
pos=comp:  <comp>;
pos=conj:  <conj>;
pos=interj:  <interj>;
pos=sinterj:  <sinterj>;
pos=burk:  <burk>;
pos=interp:  <interp>;
pos=part:  <part>;
pos=compar:  <compar>;
pos=unk:  <unk>;