File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/edu/stanford/nlp/semgraph/semgrex/ssurgeon Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 166
166
* {@code -node} is the node to split. <br>
167
167
* {@code -headIndex} is the index (counting from 0) of the word piece to make the head. <br>
168
168
* {@code -reln} is the name of the dependency type to use. pieces other than the head will connect using this relation <br>
169
- * {@code -regex} regex must match the matched node. all matching groups will be concatenated to form a new word. need at least 2 to split a word
169
+ * {@code -regex} regex must match the matched node. all matching groups will be concatenated to form a new word. need at least 2 to split a word <br>
170
+ * {@code -exact} instead of specifying matching regex, can split to exact pieces. need at least 2 to split a word <br>
171
+ * {@code -name} will give names to the newly created. The format is #=name, comma separated
170
172
*</p><p>
171
173
* {@code setRoots} sets the roots of the sentence to a new root. <br>
172
174
* {@code n1, n2, ...} are the names of the nodes from the Semgrex to use as the root(s). <br>
You can’t perform that action at this time.
0 commit comments