public class CombineMWT extends SsurgeonEdit
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LABEL |
Constructor and Description |
---|
CombineMWT(java.util.List<java.lang.String> names,
java.lang.String word) |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(SemanticGraph sg,
SemgrexMatcher sm)
Combine the nodes named in the expression, as long as they are all in a row
|
java.lang.String |
toEditString()
Emits a parseable instruction string.
|
addNamedNode, equals, getNamedNode, getOwningPattern, setOwningPattern, toString
public static final java.lang.String LABEL
public CombineMWT(java.util.List<java.lang.String> names, java.lang.String word)
public java.lang.String toEditString()
toEditString
in class SsurgeonEdit
public boolean evaluate(SemanticGraph sg, SemgrexMatcher sm)
evaluate
in class SsurgeonEdit