Skip to content

Commit

Permalink
Don't CC underneath an MWE, since those are deliberately expected to …
Browse files Browse the repository at this point in the history
…be fixed. Improves 'all but' and 'whether or not'
  • Loading branch information
AngledLuffa committed Mar 15, 2024
1 parent 72918d9 commit 841e11a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -260,7 +260,7 @@ private UniversalEnglishGrammaticalRelations() {}
public static final GrammaticalRelation COORDINATION =
new GrammaticalRelation(Language.UniversalEnglish, "cc", "coordination",
DEPENDENT, ".*", tregexCompiler,
"__ ([ < (CC=target !< /^(?i:either|neither|both)$/ ) | < (CONJP=target !< (RB < /^(?i:not)$/ $+ (RB|JJ < /^(?i:only|just|merely)$/))) ] [!> /PP/ | !>2 NP])");
"/^(?!MWE).*$/ ([ < (CC=target !< /^(?i:either|neither|both)$/ ) | < (CONJP=target !< (RB < /^(?i:not)$/ $+ (RB|JJ < /^(?i:only|just|merely)$/))) ] [!> /PP/ | !>2 NP])");


/**
Expand Down

0 comments on commit 841e11a

Please sign in to comment.