Skip to content

Commit b77103c

Browse files
committed
Fix a comment
1 parent edaaf83 commit b77103c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,12 @@ public Collection<SemanticGraph> execute(SemanticGraph sg) {
168168
* text or otherwise edit a word node will affect the original graph.
169169
*<br>
170170
* It's not clear what to do with a multiple edit pattern.
171-
* Currently we just operate until one edit occurs, then break.
172-
* This makes it harder to do consecutive operations using the
173-
* same match, but there are a couple issues to easily doing that:
171+
* Currently we iterate through multiple patterns. If any of them fire,
172+
* we rerun the semgrex and restart.
173+
* There are a couple issues to doing this:
174174
* <ul>
175175
* <li> what do we do when an edit doesn't fire? keep going or break?
176+
* Currently we continue and give the other edits an opportunity to fire
176177
* <li> what node names do the later edits get? rearranging nodes
177178
* may change the indices, affecting the match
178179
* </ul>

0 commit comments

Comments
 (0)