Skip to content

Commit e08eded

Browse files
committed
Add documentation on the morphoFeatures when updating the morphological features using Ssurgeon. Currently, there is no way to update features without wiping out the entire features map. This could be changed if needed
1 parent 6bfbb0f commit e08eded

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@
133133
* {@code editNode} will edit the attributes of a word.
134134
* {@code -node} is the node to edit.
135135
* {@code ...attributes...} are the attributes to change, same as with {@code addDep}
136+
* {@code -morphofeatures ...} will set the features to be exactly as written. TODO: if anyone
137+
* needs the ability to add or remove features without resetting the entire features map,
138+
* please file an issue on github.
136139
*</p><p>
137140
* {@code combineMWT} will add MWT attributes to a sequence of two or more words.
138141
* {@code -node} (repeated) is the nodes to edit.

0 commit comments

Comments
 (0)