Skip to content

Commit 2513676

Browse files
committed
Don't CC underneath an MWE, since those are deliberately expected to be FIXED. Improves 'all but' and 'whether or not' UniversalDependencies/docs#717
1 parent 72918d9 commit 2513676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/edu/stanford/nlp/trees/UniversalEnglishGrammaticalRelations.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ private UniversalEnglishGrammaticalRelations() {}
260260
public static final GrammaticalRelation COORDINATION =
261261
new GrammaticalRelation(Language.UniversalEnglish, "cc", "coordination",
262262
DEPENDENT, ".*", tregexCompiler,
263-
"__ ([ < (CC=target !< /^(?i:either|neither|both)$/ ) | < (CONJP=target !< (RB < /^(?i:not)$/ $+ (RB|JJ < /^(?i:only|just|merely)$/))) ] [!> /PP/ | !>2 NP])");
263+
"/^(?!MWE).*$/ ([ < (CC=target !< /^(?i:either|neither|both)$/ ) | < (CONJP=target !< (RB < /^(?i:not)$/ $+ (RB|JJ < /^(?i:only|just|merely)$/))) ] [!> /PP/ | !>2 NP])");
264264

265265

266266
/**

0 commit comments

Comments
 (0)