File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/edu/stanford/nlp/semgraph/semgrex/ssurgeon Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,12 @@ public Collection<SemanticGraph> execute(SemanticGraph sg) {
168
168
* text or otherwise edit a word node will affect the original graph.
169
169
*<br>
170
170
* 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 :
174
174
* <ul>
175
175
* <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
176
177
* <li> what node names do the later edits get? rearranging nodes
177
178
* may change the indices, affecting the match
178
179
* </ul>
You can’t perform that action at this time.
0 commit comments