Skip to content

Commit 9103adb

Browse files
committed
Update some incorrect doc
1 parent ad37f2a commit 9103adb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/src/edu/stanford/nlp/semgraph/semgrex/ssurgeon/SsurgeonTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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());

0 commit comments

Comments
 (0)