Skip to content

Commit 2786c8c

Browse files
committed
auto update SNACS annotations to v2.6
1 parent 98f6d83 commit 2786c8c

File tree

3 files changed

+31
-25
lines changed

3 files changed

+31
-25
lines changed

lexcatter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,14 @@ def compute_lexcat(tokNum, smwe, smweGroupToks, ss, lexlemma, poses, rels):
9898
return '!@'
9999
return upos
100100

101-
def supersenses_for_lexcat(lc):
101+
def supersenses_for_lexcat(lc): # specific to English
102102
if lc=='N': return NSS
103103
if lc=='V' or lc.startswith('V.'):
104104
if lc!='V':
105105
assert lc in {'V.VID', 'V.VPC.full', 'V.VPC.semi', 'V.LVC.full', 'V.LVC.cause', 'V.IAV'},lc # PARSEME 1.1 verbal MWE subtypes
106106
return VSS
107-
if lc in ('P', 'PP', 'INF.P'): return PSS
108-
if lc in ('POSS', 'PRON.POSS'): return PSS | {'`$'}
107+
if lc in ('P', 'PP', 'INF.P'): return (PSS - {'p.Content'})
108+
if lc in ('POSS', 'PRON.POSS'): return (PSS - {'p.Content'}) | {'`$'}
109109

110110
ALL_LEXCATS = {'N', 'PRON', 'V', 'P', 'PP', 'INF', 'INF.P', 'POSS', 'PRON.POSS', 'DISC', 'AUX',
111111
'ADJ', 'ADV', 'DET', 'CCONJ', 'SCONJ', 'INTJ', 'NUM', 'SYM', 'PUNCT', 'X'}

streusle.conllulex

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7714,7 +7714,7 @@
77147714
# streusle_sent_id = ewtb.r.034813.1
77157715
# mwe = Baffled by the one_ - _star reviews
77167716
1 Baffled baffle VERB VBN Tense=Past|VerbForm=Part 0 root 0:root _ _ V baffle v.cognition _ _ _ _ O-V-v.cognition
7717-
2 by by ADP IN _ 7 case 7:case _ _ P by p.Stimulus p.Causer _ _ _ O-P-p.Stimulus|p.Causer
7717+
2 by by ADP IN _ 7 case 7:case _ _ P by p.Stimulus p.Force _ _ _ O-P-p.Stimulus|p.Force
77187718
3 the the DET DT Definite=Def|PronType=Art 7 det 7:det _ _ DET the _ _ _ _ _ O-DET
77197719
4 one one NUM CD NumType=Card 6 nummod 6:nummod SpaceAfter=No 1:1 N one star n.COMMUNICATION _ _ _ _ B-N-n.COMMUNICATION
77207720
5 - - PUNCT HYPH _ 6 punct 6:punct SpaceAfter=No _ PUNCT - _ _ _ _ _ o-PUNCT
@@ -20437,7 +20437,7 @@
2043720437
1 Once once SCONJ IN _ 3 mark 3:mark _ _ SCONJ once _ _ _ _ _ O-SCONJ
2043820438
2 they they PRON PRP Case=Nom|Number=Plur|Person=3|PronType=Prs 3 nsubj 3:nsubj _ _ PRON they _ _ _ _ _ O-PRON
2043920439
3 realized realize VERB VBD Mood=Ind|Tense=Past|VerbForm=Fin 7 advcl 7:advcl:once _ _ V realize v.cognition _ _ _ _ O-V-v.cognition
20440-
4 their they PRON PRP$ Number=Plur|Person=3|Poss=Yes|PronType=Prs 5 nmod:poss 5:nmod:poss _ _ PRON.POSS they p.Causer p.Gestalt _ _ _ O-PRON.POSS-p.Causer|p.Gestalt
20440+
4 their they PRON PRP$ Number=Plur|Person=3|Poss=Yes|PronType=Prs 5 nmod:poss 5:nmod:poss _ _ PRON.POSS they p.Force p.Gestalt _ _ _ O-PRON.POSS-p.Force|p.Gestalt
2044120441
5 mistake mistake NOUN NN Number=Sing 3 obj 3:obj _ _ N mistake n.EVENT _ _ _ _ O-N-n.EVENT
2044220442
6 they they PRON PRP Case=Nom|Number=Plur|Person=3|PronType=Prs 7 nsubj 7:nsubj|19:nsubj _ _ PRON they _ _ _ _ _ O-PRON
2044320443
7 sent send VERB VBD Mood=Ind|Tense=Past|VerbForm=Fin 0 root 0:root _ _ V send v.motion _ _ _ _ O-V-v.motion
@@ -24022,7 +24022,7 @@
2402224022
9 was be AUX VBD Mood=Ind|Number=Sing|Person=3|Tense=Past|VerbForm=Fin 11 aux:pass 11:aux:pass _ _ AUX be _ _ _ _ _ O-AUX
2402324023
10 immediately immediately ADV RB _ 11 advmod 11:advmod _ _ ADV immediately _ _ _ _ _ O-ADV
2402424024
11 impressed impress VERB VBN Tense=Past|VerbForm=Part 1 conj 1:conj:and _ _ V impress v.cognition _ _ _ _ O-V-v.cognition
24025-
12 by by ADP IN _ 14 case 14:case _ _ P by p.Stimulus p.Causer _ _ _ O-P-p.Stimulus|p.Causer
24025+
12 by by ADP IN _ 14 case 14:case _ _ P by p.Stimulus p.Force _ _ _ O-P-p.Stimulus|p.Force
2402624026
13 their they PRON PRP$ Number=Plur|Person=3|Poss=Yes|PronType=Prs 14 nmod:poss 14:nmod:poss _ _ PRON.POSS they p.Gestalt p.Gestalt _ _ _ O-PRON.POSS-p.Gestalt
2402724027
14 professionalism professionalism NOUN NN Number=Sing 11 obl 11:obl:by _ _ N professionalism n.ATTRIBUTE _ _ _ _ O-N-n.ATTRIBUTE
2402824028
15 ( ( PUNCT -LRB- _ 16 punct 16:punct SpaceAfter=No _ PUNCT ( _ _ _ _ _ O-PUNCT
@@ -24470,7 +24470,7 @@
2447024470
11 pies pie NOUN NNS Number=Plur 8 appos 8:appos SpaceAfter=No _ N pie n.FOOD _ _ _ _ O-N-n.FOOD
2447124471
12 , , PUNCT , _ 11 punct 11:punct _ _ PUNCT , _ _ _ _ _ O-PUNCT
2447224472
13 sold sell VERB VBN Tense=Past|VerbForm=Part 11 acl 11:acl _ _ V sell v.possession _ _ _ _ O-V-v.possession
24473-
14 by by ADP IN _ 16 case 16:case _ _ P by p.RateUnit p.RateUnit _ _ _ O-P-p.RateUnit
24473+
14 by by ADP IN _ 16 case 16:case _ _ P by p.SetIteration p.SetIteration _ _ _ O-P-p.SetIteration
2447424474
15 the the DET DT Definite=Def|PronType=Art 16 det 16:det _ _ DET the _ _ _ _ _ O-DET
2447524475
16 slice slice NOUN NN Number=Sing 13 obl 13:obl:by SpaceAfter=No _ N slice n.FOOD _ _ _ _ O-N-n.FOOD
2447624476
17 , , PUNCT , _ 11 punct 11:punct _ _ PUNCT , _ _ _ _ _ O-PUNCT
@@ -26865,7 +26865,7 @@
2686526865
29 dental dental ADJ JJ Degree=Pos 30 amod 30:amod _ _ ADJ dental _ _ _ _ _ O-ADJ
2686626866
30 work work NOUN NN Number=Sing 16 parataxis 16:parataxis _ _ N work n.ACT _ _ _ _ O-N-n.ACT
2686726867
31 underpinned underpin VERB VBN Tense=Past|VerbForm=Part 30 acl 30:acl _ _ V underpin v.stative _ _ _ _ O-V-v.stative
26868-
32 by by ADP IN _ 35 case 35:case _ _ P by p.Causer p.Causer _ _ _ O-P-p.Causer
26868+
32 by by ADP IN _ 35 case 35:case _ _ P by p.Force p.Force _ _ _ O-P-p.Force
2686926869
33 a a DET DT Definite=Ind|PronType=Art 35 det 35:det _ _ DET a _ _ _ _ _ O-DET
2687026870
34 strong strong ADJ JJ Degree=Pos 35 amod 35:amod _ _ ADJ strong _ _ _ _ _ O-ADJ
2687126871
35 duty duty NOUN NN Number=Sing 31 obl 31:obl:by _ _ N duty n.COGNITION _ _ _ _ O-N-n.COGNITION
@@ -36985,7 +36985,7 @@
3698536985
13 be be AUX VB Mood=Imp|VerbForm=Fin 14 aux:pass 14:aux:pass _ _ AUX be _ _ 2:1 _ be put off by B-AUX
3698636986
14 put put VERB VBN Tense=Past|VerbForm=Part|Voice=Pass 4 parataxis 4:parataxis _ 3:1 V.VPC.full put off v.emotion _ 2:2 _ _ I~-V.VPC.full-v.emotion
3698736987
15 off off ADP RP _ 14 compound:prt 14:compound:prt _ 3:2 _ _ _ _ 2:3 _ _ I_
36988-
16 by by ADP IN _ 20 case 20:case _ _ P by p.Stimulus p.Causer 2:4 _ _ I~-P-p.Stimulus|p.Causer
36988+
16 by by ADP IN _ 20 case 20:case _ _ P by p.Stimulus p.Force 2:4 _ _ I~-P-p.Stimulus|p.Force
3698936989
17 the the DET DT Definite=Def|PronType=Art 20 det 20:det _ _ DET the _ _ _ _ _ O-DET
3699036990
18 one one NUM CD NumType=Card 20 nummod 20:nummod _ _ NUM one _ _ _ _ _ O-NUM
3699136991
19 negative negative ADJ JJ Degree=Pos 20 amod 20:amod _ _ ADJ negative _ _ _ _ _ O-ADJ
@@ -42499,7 +42499,7 @@
4249942499
68 IS be AUX VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 70 cop 70:cop _ _ V be v.stative _ _ _ _ O-V-v.stative
4250042500
69 SO so ADV RB _ 70 advmod 70:advmod _ _ ADV so _ _ _ _ _ O-ADV
4250142501
70 HIGH high ADJ JJ Degree=Pos 66 acl:relcl 66:acl:relcl _ _ ADJ high _ _ _ _ _ O-ADJ
42502-
71 FROM from ADP IN _ 75 case 75:case _ _ P from p.Causer p.Source _ _ _ O-P-p.Causer|p.Source
42502+
71 FROM from ADP IN _ 75 case 75:case _ _ P from p.Force p.Source _ _ _ O-P-p.Force|p.Source
4250342503
72 THE the DET DT Definite=Def|PronType=Art 75 det 75:det _ _ DET the _ _ _ _ _ O-DET
4250442504
73 SECOND second ADJ JJ Degree=Pos|NumType=Ord 74 amod 74:amod _ 2:1 N second hand smoke n.SUBSTANCE _ _ _ _ B-N-n.SUBSTANCE
4250542505
74 HAND hand NOUN NN Number=Sing 75 compound 75:compound _ 2:2 _ _ _ _ _ _ _ I_
@@ -45429,7 +45429,7 @@
4542945429
9 a a DET DT Definite=Ind|PronType=Art 11 det 11:det _ _ DET a _ _ _ _ _ O-DET
4543045430
10 certain certain ADJ JJ Degree=Pos 11 amod 11:amod _ _ ADJ certain _ _ _ _ _ O-ADJ
4543145431
11 amount amount NOUN NN Number=Sing 8 obj 8:obj _ _ N amount n.POSSESSION _ _ _ _ O-N-n.POSSESSION
45432-
12 per per ADP IN _ 13 case 13:case _ _ P per p.RateUnit p.RateUnit _ _ _ O-P-p.RateUnit
45432+
12 per per ADP IN _ 13 case 13:case _ _ P per p.SetIteration p.SetIteration _ _ _ O-P-p.SetIteration
4543345433
13 person person NOUN NN Number=Sing 11 nmod 11:nmod:per SpaceAfter=No _ N person n.PERSON _ _ _ _ O-N-n.PERSON
4543445434
14 , , PUNCT , _ 20 punct 20:punct _ _ PUNCT , _ _ _ _ _ O-PUNCT
4543545435
15 and and CCONJ CC _ 20 cc 20:cc _ _ CCONJ and _ _ _ _ _ O-CCONJ
@@ -51837,7 +51837,7 @@
5183751837
2 'm be AUX VBP Mood=Ind|Tense=Pres|VerbForm=Fin 4 aux:pass 4:aux:pass _ _ AUX be _ _ _ _ _ O-AUX
5183851838
3 really really ADV RB _ 4 advmod 4:advmod _ _ ADV really _ _ _ _ _ O-ADV
5183951839
4 surprised surprise VERB VBN Tense=Past|VerbForm=Part 0 root 0:root _ _ V surprise v.cognition _ _ _ _ O-V-v.cognition
51840-
5 by by ADP IN _ 8 case 8:case _ _ P by p.Stimulus p.Causer _ _ _ O-P-p.Stimulus|p.Causer
51840+
5 by by ADP IN _ 8 case 8:case _ _ P by p.Stimulus p.Force _ _ _ O-P-p.Stimulus|p.Force
5184151841
6 the the DET DT Definite=Def|PronType=Art 8 det 8:det _ _ DET the _ _ _ _ _ O-DET
5184251842
7 negative negative ADJ JJ Degree=Pos 8 amod 8:amod _ _ ADJ negative _ _ _ _ _ O-ADJ
5184351843
8 reviews review NOUN NNS Number=Plur 4 obl 4:obl:by SpaceAfter=No _ N review n.COMMUNICATION _ _ _ _ O-N-n.COMMUNICATION
@@ -52609,7 +52609,7 @@
5260952609
24 reap reap VERB VB VerbForm=Inf 13 conj 4:ccomp|13:conj:and _ _ V reap v.possession _ _ _ _ O-V-v.possession
5261052610
25 the the DET DT Definite=Def|PronType=Art 26 det 26:det _ _ DET the _ _ _ _ _ O-DET
5261152611
26 rewards reward NOUN NNS Number=Plur 24 obj 24:obj _ _ N reward n.COGNITION _ _ _ _ O-N-n.COGNITION
52612-
27 of of ADP IN _ 29 case 29:case _ _ P of p.Causer p.Causer _ _ _ O-P-p.Causer
52612+
27 of of ADP IN _ 29 case 29:case _ _ P of p.Force p.Force _ _ _ O-P-p.Force
5261352613
28 this this DET DT Number=Sing|PronType=Dem 29 det 29:det _ _ DET this _ _ _ _ _ O-DET
5261452614
29 program program NOUN NN Number=Sing 26 nmod 26:nmod:of SpaceAfter=No _ N program n.GROUP _ _ _ _ O-N-n.GROUP
5261552615
30 . . PUNCT . _ 4 punct 4:punct _ _ PUNCT . _ _ _ _ _ O-PUNCT
@@ -54724,7 +54724,7 @@
5472454724
6 and and CCONJ CC _ 8 cc 8:cc _ _ CCONJ and _ _ _ _ _ O-CCONJ
5472554725
7 was be AUX VBD Mood=Ind|Number=Sing|Person=1|Tense=Past|VerbForm=Fin 8 aux:pass 8:aux:pass _ _ AUX be _ _ _ _ _ O-AUX
5472654726
8 impressed impress VERB VBN Tense=Past|VerbForm=Part|Voice=Pass 3 conj 3:conj:and _ _ V impress v.cognition _ _ _ _ O-V-v.cognition
54727-
9 by by ADP IN _ 11 mark 11:mark _ _ P by p.Stimulus p.Causer _ _ _ O-P-p.Stimulus|p.Causer
54727+
9 by by ADP IN _ 11 mark 11:mark _ _ P by p.Stimulus p.Force _ _ _ O-P-p.Stimulus|p.Force
5472854728
10 how how ADV WRB PronType=Int 11 advmod 11:advmod _ _ ADV how _ _ _ _ _ O-ADV
5472954729
11 clean clean ADJ JJ Degree=Pos 8 advcl 8:advcl:by _ _ ADJ clean _ _ _ _ _ O-ADJ
5473054730
12 the the DET DT Definite=Def|PronType=Art 13 det 13:det _ _ DET the _ _ _ _ _ O-DET
@@ -55170,7 +55170,7 @@
5517055170
# streusle_sent_id = ewtb.r.291046.3
5517155171
# mwe = Victim of hard_times and I suspect failing corporate management .
5517255172
1 Victim victim NOUN NN Number=Sing 0 root 0:root _ _ N victim n.PERSON _ _ _ _ O-N-n.PERSON
55173-
2 of of ADP IN _ 4 case 4:case _ _ P of p.Causer p.Causer _ _ _ O-P-p.Causer
55173+
2 of of ADP IN _ 4 case 4:case _ _ P of p.Force p.Force _ _ _ O-P-p.Force
5517455174
3 hard hard ADJ JJ Degree=Pos 4 amod 4:amod _ 1:1 N hard time n.STATE _ _ _ _ B-N-n.STATE
5517555175
4 times time NOUN NNS Number=Plur 1 nmod 1:nmod:of _ 1:2 _ _ _ _ _ _ _ I_
5517655176
5 and and CCONJ CC _ 10 cc 10:cc _ _ CCONJ and _ _ _ _ _ O-CCONJ
@@ -58546,7 +58546,7 @@
5854658546
13 a a DET DT Definite=Ind|PronType=Art 14 det 14:det _ 1:1 DET a bit _ _ _ _ _ B-DET
5854758547
14 bit bit NOUN NN Number=Sing 15 obl:npmod 15:obl:npmod _ 1:2 _ _ _ _ _ _ _ I_
5854858548
15 surprised surprised ADJ JJ Degree=Pos 9 parataxis 9:parataxis _ _ ADJ surprised _ _ _ _ _ O-ADJ
58549-
16 by by ADP IN _ 18 case 18:case _ _ P by p.Stimulus p.Causer _ _ _ O-P-p.Stimulus|p.Causer
58549+
16 by by ADP IN _ 18 case 18:case _ _ P by p.Stimulus p.Force _ _ _ O-P-p.Stimulus|p.Force
5855058550
17 other other ADJ JJ Degree=Pos 18 amod 18:amod _ _ ADJ other _ _ _ _ _ O-ADJ
5855158551
18 comments comment NOUN NNS Number=Plur 15 obl 15:obl:by SpaceAfter=No _ N comment n.COMMUNICATION _ _ _ _ O-N-n.COMMUNICATION
5855258552
19 . . PUNCT . _ 9 punct 9:punct _ _ PUNCT . _ _ _ _ _ O-PUNCT
@@ -61091,7 +61091,7 @@
6109161091
35 only only ADV RB _ 37 advmod 37:advmod _ _ ADV only _ _ _ _ _ O-ADV
6109261092
36 70 70 NUM CD NumType=Card 37 nummod 37:nummod SpaceAfter=No _ NUM 70 _ _ _ _ _ O-NUM
6109361093
37 p p NOUN NN Number=Sing 31 obl 31:obl:for _ _ N p n.POSSESSION _ _ _ _ O-N-n.POSSESSION
61094-
38 per per ADP IN _ 39 case 39:case _ _ P per p.RateUnit p.RateUnit _ _ _ O-P-p.RateUnit
61094+
38 per per ADP IN _ 39 case 39:case _ _ P per p.SetIteration p.SetIteration _ _ _ O-P-p.SetIteration
6109561095
39 unit unit NOUN NN Number=Sing 37 nmod 37:nmod:per SpaceAfter=No _ N unit n.ARTIFACT _ _ _ _ O-N-n.ARTIFACT
6109661096
40 . . PUNCT . _ 2 punct 2:punct _ _ PUNCT . _ _ _ _ _ O-PUNCT
6109761097

@@ -65339,7 +65339,7 @@
6533965339
8 slang slang NOUN NN Number=Sing 10 nsubj:pass 10:nsubj:pass|13:nsubj:pass _ _ N slang n.COMMUNICATION _ _ _ _ O-N-n.COMMUNICATION
6534065340
9 is be AUX VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 10 aux:pass 10:aux:pass _ _ AUX be _ _ _ _ _ O-AUX
6534165341
10 influenced influence VERB VBN Tense=Past|VerbForm=Part|Voice=Pass 2 ccomp 2:ccomp _ _ V influence v.cognition _ _ _ _ O-V-v.cognition
65342-
11 by by ADP IN _ 15 case 15:case _ _ P by p.Causer p.Causer _ _ _ O-P-p.Causer
65342+
11 by by ADP IN _ 15 case 15:case _ _ P by p.Force p.Force _ _ _ O-P-p.Force
6534365343
12 and and CCONJ CC _ 13 cc 13:cc _ _ CCONJ and _ _ _ _ _ O-CCONJ
6534465344
13 has have VERB VBZ Mood=Ind|Number=Sing|Person=3|Tense=Pres|VerbForm=Fin 10 conj 2:ccomp|10:conj:and _ _ V have v.stative _ _ _ _ O-V-v.stative
6534565345
14 Jamaican jamaican ADJ JJ Degree=Pos 15 amod 15:amod _ _ ADJ jamaican _ _ _ _ _ O-ADJ
@@ -70516,7 +70516,7 @@
7051670516
19 you you PRON PRP Case=Acc|Person=2|PronType=Prs 18 iobj 18:iobj _ _ PRON you _ _ _ _ _ O-PRON
7051770517
20 $ $ SYM $ _ 18 obj 18:obj SpaceAfter=No _ SYM $ _ _ _ _ _ O-SYM
7051870518
21 1.50 1.50 NUM CD NumType=Card 20 nummod 20:nummod _ _ NUM 1.50 _ _ _ _ _ O-NUM
70519-
22 per per ADP IN _ 23 case 23:case _ _ P per p.RateUnit p.RateUnit _ _ _ O-P-p.RateUnit
70519+
22 per per ADP IN _ 23 case 23:case _ _ P per p.SetIteration p.SetIteration _ _ _ O-P-p.SetIteration
7052070520
23 can can NOUN NN Number=Sing 20 nmod 20:nmod:per SpaceAfter=No _ N can n.ARTIFACT _ _ _ _ O-N-n.ARTIFACT
7052170521
24 . . PUNCT . _ 18 punct 18:punct _ _ PUNCT . _ _ _ _ _ O-PUNCT
7052270522

@@ -70557,7 +70557,7 @@
7055770557
15 you you PRON PRP Case=Acc|Person=2|PronType=Prs 14 iobj 14:iobj _ _ PRON you _ _ _ _ _ O-PRON
7055870558
16 $ $ SYM $ _ 14 obj 14:obj SpaceAfter=No _ SYM $ _ _ _ _ _ O-SYM
7055970559
17 8 8 NUM CD NumType=Card 16 nummod 16:nummod _ _ NUM 8 _ _ _ _ _ O-NUM
70560-
18 per per ADP IN _ 19 case 19:case _ _ P per p.RateUnit p.RateUnit _ _ _ O-P-p.RateUnit
70560+
18 per per ADP IN _ 19 case 19:case _ _ P per p.SetIteration p.SetIteration _ _ _ O-P-p.SetIteration
7056170561
19 item item NOUN NN Number=Sing 16 nmod 16:nmod:per SpaceAfter=No _ N item n.ARTIFACT _ _ _ _ O-N-n.ARTIFACT
7056270562
20 . . PUNCT . _ 14 punct 14:punct _ _ PUNCT . _ _ _ _ _ O-PUNCT
7056370563

supersenses.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
'v.perception', 'v.possession', 'v.social', 'v.stative'}
2727

2828
# Adposition (preposition/postposition) and case supersenses
29-
# As of SNACS v2.5 guidelines, for STREUSLE v4.3
29+
# As of SNACS v2.6 guidelines, for STREUSLE v4.5
3030

3131
PSS_TREE = {
3232
'p.Circumstance': {
@@ -48,10 +48,12 @@
4848
'p.Explanation': {
4949
'p.Purpose': {}}},
5050
'p.Participant': {
51-
'p.Causer': {
51+
'p.Causer': {},
52+
'p.Force': {
5253
'p.Agent': {}},
5354
'p.Theme': {
54-
'p.Topic': {}},
55+
'p.Topic': {},
56+
'p.Content': {}},
5557
'p.Ancillary': {},
5658
'p.Stimulus': {},
5759
'p.Experiencer': {},
@@ -77,7 +79,7 @@
7779
'p.Approximator': {}}},
7880
'p.Ensemble': {},
7981
'p.ComparisonRef': {},
80-
'p.RateUnit': {},
82+
'p.SetIteration': {},
8183
'p.SocialRel': {}},
8284
}
8385

@@ -94,7 +96,7 @@
9496

9597
PSS = set(PSS_PARENTS.keys())
9698

97-
assert len(PSS_DEPTH)==len(PSS)==50
99+
assert len(PSS_DEPTH)==len(PSS)==52
98100
assert max(PSS_DEPTH.values())==4
99101
assert min(PSS_DEPTH.values())==1
100102

@@ -112,6 +114,10 @@
112114
'Transit', 'Traversed', 'Value', 'ValueComparison', 'Via'}
113115

114116
# Note also that Part/Portion was renamed to PartPortion in STREUSLE 4.1
117+
# In SNACS 2.6/STREUSLE 4.5:
118+
# - RateUnit was renamed to SetIteration
119+
# - old Causer was renamed to Force, but Causer remains in the hierarchy with a new meaning
120+
# - added: Content (but not for English)
115121

116122
def coarsen_pss(ss, depth):
117123
coarse = ss

0 commit comments

Comments
 (0)