Skip to content

Commit

Permalink
Add a lowercase form of "-updateMorphoFeatures" for use in EditNode
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Nov 3, 2023
1 parent 861f72f commit 4d91ec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edu/stanford/nlp/semgraph/semgrex/ssurgeon/Ssurgeon.java
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ public Collection<SsurgeonWordlist> getResources() {
public static final String NAME_ARG = "-name";
public static final String POSITION_ARG = "-position";
public static final String UPDATE_MORPHO_FEATURES = "-updateMorphoFeatures";
public static final String UPDATE_MORPHO_FEATURES_LOWER = "-updatemorphofeatures";


// args for Ssurgeon edits, allowing us to not
Expand Down Expand Up @@ -496,6 +497,7 @@ private static SsurgeonArgs parseArgsBox(String args, Map<String, String> additi
argsBox.position = argsValue;
break;
case UPDATE_MORPHO_FEATURES:
case UPDATE_MORPHO_FEATURES_LOWER:
argsBox.updateMorphoFeatures = argsValue;
break;
default:
Expand Down

0 comments on commit 4d91ec8

Please sign in to comment.