Skip to content

Commit 8bdf456

Browse files
committed
Remove obsolete documentation from RemoveNamedEdge
1 parent 9ad7886 commit 8bdf456

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/edu/stanford/nlp/semgraph/semgrex/ssurgeon/RemoveNamedEdge.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
import edu.stanford.nlp.semgraph.SemanticGraphEdge;
99

1010
/**
11-
* Given a named edge, governor, and dependent, removes that edge
12-
* from the SemanticGraph.
11+
* Given a named edge, removes that edge from the SemanticGraph.
1312
*
1413
* NOTE: you should manually reassign roots for dangling subtrees,
1514
* or delete them outright. This does not perform any new root
@@ -39,11 +38,6 @@ public String toEditString() {
3938

4039
/**
4140
* Removes the named edge from the graph, if it exists.
42-
*<br>
43-
* TODO: it should not be necessary to have node names for this to work.
44-
* Any edge that gets matched by the edge matcher should just work
45-
* This operation is not used anywhere, even in RTE, so we should be
46-
* able to change its semantics to not include the node names
4741
*/
4842
@Override
4943
public boolean evaluate(SemanticGraph sg, SemgrexMatcher sm) {

0 commit comments

Comments
 (0)