Skip to content

Commit c1ed2de

Browse files
committed
Add a bit of doc on a possible fix needed
1 parent 183e0eb commit c1ed2de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ public boolean evaluate(SemanticGraph sg, SemgrexMatcher sm) {
9090
// or found an existing edge with the relation we wanted,
9191
// update the named edge in the SemgrexMatcher so future
9292
// iterations have the name connected to the edge
93+
// TODO: if an existing edge was clobbered, perhaps we need to
94+
// update anything that named it
9395
sm.putNamedEdge(edgeName, newEdge);
9496
return true;
9597
}

0 commit comments

Comments
 (0)