File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
test/src/edu/stanford/nlp/semgraph/semgrex/ssurgeon Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1362,7 +1362,7 @@ public void checkAnnotationConversionErrors() {
13621362
13631363
13641364 /**
1365- * Check that adding a word to the start of a sentence works as expected
1365+ * Check that a basic edit script works as expected
13661366 */
13671367 @ Test
13681368 public void readXMLEditNode () {
@@ -1388,8 +1388,7 @@ public void readXMLEditNode() {
13881388 SemanticGraph newSG = editSsurgeon .iterate (sg ).first ;
13891389 SemanticGraph expected = SemanticGraph .valueOf ("[has-2 nsubj> Jennifer-1 obj> [antennae-4 dep> blue-3]]" );
13901390 assertEquals (expected , newSG );
1391- // the Ssurgeon we just created should not put a tag on the word
1392- // but it SHOULD put blue at the start of the sentence
1391+ // this ssurgeon will fix the color of the antennae
13931392 blueVertex = newSG .getNodeByIndexSafe (3 );
13941393 assertNotNull (blueVertex );
13951394 assertNull (blueVertex .tag ());
You can’t perform that action at this time.
0 commit comments