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() {
1362
1362
1363
1363
1364
1364
/**
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
1366
1366
*/
1367
1367
@ Test
1368
1368
public void readXMLEditNode () {
@@ -1388,8 +1388,7 @@ public void readXMLEditNode() {
1388
1388
SemanticGraph newSG = editSsurgeon .iterate (sg ).first ;
1389
1389
SemanticGraph expected = SemanticGraph .valueOf ("[has-2 nsubj> Jennifer-1 obj> [antennae-4 dep> blue-3]]" );
1390
1390
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
1393
1392
blueVertex = newSG .getNodeByIndexSafe (3 );
1394
1393
assertNotNull (blueVertex );
1395
1394
assertNull (blueVertex .tag ());
You can’t perform that action at this time.
0 commit comments