Skip to content

Commit 6e6a7d0

Browse files
committed
Allow lowercase -removemorphofeatures
1 parent 5e4ca9c commit 6e6a7d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ public Collection<SsurgeonWordlist> getResources() {
433433
public static final String UPDATE_MORPHO_FEATURES_LOWER = "-updatemorphofeatures";
434434
public static final String REMOVE = "-remove";
435435
public static final String REMOVE_MORPHO_FEATURES = "-removeMorphoFeatures";
436+
public static final String REMOVE_MORPHO_FEATURES_LOWER = "-removemorphofeatures";
436437

437438

438439
// args for Ssurgeon edits, allowing us to not
@@ -558,6 +559,7 @@ private static SsurgeonArgs parseArgsBox(String args, Map<String, String> additi
558559
argsBox.remove.add(argsValue);
559560
break;
560561
case REMOVE_MORPHO_FEATURES:
562+
case REMOVE_MORPHO_FEATURES_LOWER:
561563
argsBox.removeMorphoFeatures.add(argsValue);
562564
break;
563565
default:

0 commit comments

Comments
 (0)