Skip to content

Commit 6501baf

Browse files
committed
Oops, the flat needs to include the possible NN tag as part of its target
1 parent cb338cd commit 6501baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ private UniversalEnglishGrammaticalRelations() {}
12381238
public static final GrammaticalRelation FLAT_EXPRESSION =
12391239
new GrammaticalRelation(Language.UniversalEnglish, "flat", "flat expression",
12401240
MODIFIER, "FLAT", tregexCompiler,
1241-
"FLAT < (IN|FW=target)");
1241+
"FLAT < (IN|FW|NN=target)");
12421242

12431243
/**
12441244
* The "determiner" grammatical relation.

0 commit comments

Comments
 (0)