Blame view

semantics/resources/lexicon-pl.dic 4.68 KB
Wojciech Jaworski authored
1
2
3

day-lex:      /(date+day+day-month):unk;
date:         /(1+year-lex):unk;
Wojciech Jaworski authored
4
5
6
day:          /month-lex:Poss;
day-interval: /month-lex:Poss;
day-month:    /(1+year-lex):Poss;
Wojciech Jaworski authored
7
year-lex:     |(1+adjp*number*case*gender):unk;
Wojciech Jaworski authored
8
month-lex:    /(1+year+np*T*gen*T*T):Poss;
Wojciech Jaworski authored
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

date-interval:        null;
day-month-interval:   null;
month-interval:       null;
year:                 null;
year-interval:        null;
roman:                null;
roman-interval:       null;
hour-minute:          null;
hour:                 null;
hour-minute-interval: null;
hour-interval:        null;
obj-id:               null;
match-result:         null;
url:                  null;
email:                null;

np:
Wojciech Jaworski authored
27
  \(1+num*number*case*gender*person*congr*nsem+num*number*case*gender*person*rec*nsem):adjunct \(1+qub):adjunct /(1+inclusion):adjunct
Wojciech Jaworski authored
28
  \(1+measure*unumber*ucase*ugender*uperson):Measure
Wojciech Jaworski authored
29
30
  /(1+date+day+day-month+date-interval+day-interval+day-month-interval+year+year-interval+hour+hour-minute+hour-interval+hour-minute-interval+roman+roman-interval):Coref
  |(1+year):unk /(1+obj-id):Coref;
Wojciech Jaworski authored
31
32
33
34

num: \(1+qub):adjunct /(1+inclusion):adjunct;

measure:
Wojciech Jaworski authored
35
  \(1+num*number*case*gender*person*congr*count+num*number*case*gender*person*rec*count):adjunct \(1+qub):adjunct /(1+inclusion):adjunct;
Wojciech Jaworski authored
36
Wojciech Jaworski authored
37
38
39
40
41
42
#prepnp: \(1+advp*T):adjunct /(np*T*case*T*T+day-month+day+year+date+hour+hour-minute):unk \(1+qub):adjunct /(1+inclusion):adjunct;
#prepadjp: \(1+advp*T):adjunct /(adjp*T*case*T+adjp*sg*dat*m1+adjp*T*postp*T+adjp*sg*nom*f+advp*T):unk \(1+qub):adjunct /(1+inclusion):adjunct;
#compar: \(1+advp*T):adjunct /(np*T*case*T*T+prepnp*T*T+prepadjp*T*T):unk \(1+qub):adjunct /(1+inclusion):adjunct;
prepnp: \(1+advp*T):adjunct \(1+qub):adjunct /(1+inclusion):adjunct;
prepadjp: \(1+advp*T):adjunct \(1+qub):adjunct /(1+inclusion):adjunct;
compar: \(1+advp*T):adjunct \(1+qub):adjunct /(1+inclusion):adjunct;
Wojciech Jaworski authored
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

adjp: \(1+qub):adjunct /(1+inclusion):adjunct \(1+adja):unk;

adja: /hyphen:nosem;

advp: \(1+qub):adjunct /(1+inclusion):adjunct \(1+adja):unk;

#FIXME: sprawdzić czy 'or' czy 'or2'
ip: /(1+int):unk \(1+qub):adjunct /(1+inclusion):adjunct \(1+nie):nosem |(1+aux-imp):nosem
  |(1+aux-fut*number*gender*person+aux-past*number*gender*person):nosem |(1+aglt*number*person):nosem |(1+by):nosem /(1+or):adjunct;

aux-fut: null;
aux-past: null;
aglt: null;

infp: \(1+qub):adjunct /(1+inclusion):adjunct \(1+nie):nosem;
padvp: \(1+qub):adjunct /(1+inclusion):adjunct \(1+nie):nosem;

cp: /ip*T*T*T:unk;
ncp: \(1+qub):adjunct /(1+inclusion):adjunct /cp*ctype*plemma:unk;

#lemma=i|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|lub|czy|bądź,pos=conj: (advp*mod/prepnp*T*T)\prepnp*T*T;
#lemma=,|i|lub|czy|bądź,pos=conj: QUANT[mode=0] (advp*mode/advp*mode)\prepnp*T*T;
#lemma=,|i|lub|czy|bądź,pos=conj: QUANT[mode=0] (advp*mode/prepnp*T*T)\advp*mode;
#lemma=,|i|lub|czy|bądź,pos=conj: (advp*mod/advp*T)\advp*T; #FIXME: przydałaby się wersja zachowująca mode
#lemma=,|i|lub|czy|bądź,pos=conj:
#  QUANT[plemma=0,case=all_cases]
#  (prepnp*plemma*case/prepnp*plemma*case)\prepnp*plemma*case;
#lemma=,|i|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|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;

lex-się-qub: null;
nie: null;
by: null;
aux-imp: null;
qub: null;
interj: null;
hyphen: null;
int: null;
#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"
rquot: null;
rquot2: null;
rquot3: null;
#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 "+",
rparen: null;
rparen2: null;

<conll_root>: /(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj):unk;
s: \?(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj):unk;
<root>: /(1+s):unk /(1+<speaker-end>):unk /(1+or):unk /(1+np*T*nom*T*T):unk /(1+ip*T*T*T):unk;

or: null;
<colon>: \<speaker>:unk /(1+<squery>):unk;
or2: \?(ip*T*T*T+cp*int*T+np*sg*voc*T*T+interj):unk;
<speaker-end>: null