Skip to content

Commit c230b41

Browse files
sebschuStanford NLP
authored and
Stanford NLP
committed
Improve handling of auxiliaries in Universal POS tag mapper.
1 parent 310b431 commit c230b41

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

data/edu/stanford/nlp/upos/ENUniversalPOS.tsurgeon

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ TO=target <... {/.*/}
3737

3838
relabel target ADP
3939

40-
40+
% Don't do this, we are now treating these as copular constructions
4141
% VB.* -> AUX (for passives where main verb is part of an ADJP)
42-
@VP < (/^VB/=target < /^(?i:am|is|are|r|be|being|'s|'re|'m|was|were|been|s|ai|m|art|ar|wase|get|got|getting|gets|gotten)$/ ) < (@ADJP [ < VBN|VBD | < (@VP|ADJP < VBN|VBD) < CC ] )
43-
44-
relabel target AUX
45-
42+
%@VP < (/^VB/=target < /^(?i:am|is|are|r|be|being|'s|'re|'m|was|were|been|s|ai|m|art|ar|wase|get|got|getting|gets|gotten)$/ ) < (@ADJP [ < VBN|VBD | < (@VP|ADJP < VBN|VBD) < CC ] )
43+
%
44+
%relabel target AUX
45+
%
4646
% VB.* -> AUX (for cases with fronted main VPs)
4747
@SINV < (@VP < (/^VB/=target < /^(?i:am|is|are|r|be|being|'s|'re|'m|was|were|been|s|ai|m|art|ar|wase)$/ ) $-- (@VP < VBD|VBN))
4848

@@ -64,7 +64,7 @@ VP < VP < (/^VB.*$/=target <... {/.*/})
6464
relabel target AUX
6565

6666
% VB -> AUX (active, case 2)
67-
@SQ|SINV < (/^VB/=target $++ /^(?:VP|ADJP)/ <... {/.*/})
67+
@SQ|SINV < (/^VB/=target $++ /^(?:VP)/ <... {/.*/})
6868

6969
relabel target AUX
7070

0 commit comments

Comments
 (0)