Skip to content

Commit c5d5548

Browse files
committed
Verify that the enhanced graph isn't present from the enhanced-free conllu
1 parent d95e8b8 commit c5d5548

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

itest/src/edu/stanford/nlp/pipeline/CoNLLUReaderITest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ public void testReadingNoEnhanced() throws ClassNotFoundException, IOException {
447447
assertEquals(i+1, tokens.get(i).index());
448448
assertEquals(EXPECTED_ENGLISH_WORDS[i], tokens.get(i).value());
449449
}
450+
451+
assertFalse(sentence.containsKey(SemanticGraphCoreAnnotations.EnhancedDependenciesAnnotation.class));
450452
}
451453

452454
}

0 commit comments

Comments
 (0)