Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 841e11a

Browse files
committedMar 15, 2024·
Don't CC underneath an MWE, since those are deliberately expected to be fixed. Improves 'all but' and 'whether or not'
1 parent 72918d9 commit 841e11a

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)
Please sign in to comment.