public abstract class TsurgeonPattern extends Object
Tree
s when
successfully matched on with a TregexMatcher
.Modifier and Type | Method and Description |
---|---|
TsurgeonMatcher |
matcher() |
abstract TsurgeonMatcher |
matcher(Map<String,Tree> newNodeNames,
edu.stanford.nlp.trees.tregex.tsurgeon.CoindexationGenerator coindexer) |
protected void |
setRoot(edu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonPatternRoot root) |
String |
toString() |
protected void setRoot(edu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonPatternRoot root)
public TsurgeonMatcher matcher()
public abstract TsurgeonMatcher matcher(Map<String,Tree> newNodeNames, edu.stanford.nlp.trees.tregex.tsurgeon.CoindexationGenerator coindexer)