public class ExciseNode extends TsurgeonPattern
Constructor and Description |
---|
ExciseNode(TsurgeonPattern node)
Excises only the directed node.
|
ExciseNode(TsurgeonPattern top,
TsurgeonPattern bottom)
Top should evaluate to a node that dominates bottom, but this is not checked!
|
Modifier and Type | Method and Description |
---|---|
TsurgeonMatcher |
matcher(java.util.Map<java.lang.String,Tree> newNodeNames,
edu.stanford.nlp.trees.tregex.tsurgeon.CoindexationGenerator coindexer) |
matcher, setRoot, toString
public ExciseNode(TsurgeonPattern top, TsurgeonPattern bottom)
public ExciseNode(TsurgeonPattern node)
public TsurgeonMatcher matcher(java.util.Map<java.lang.String,Tree> newNodeNames, edu.stanford.nlp.trees.tregex.tsurgeon.CoindexationGenerator coindexer)
matcher
in class TsurgeonPattern