public abstract class TsurgeonMatcher extends Object
Tsurgeonoperation separate from the
TsurgeonPatternobjects. This makes it easier to reset state between invocations and makes it easier to use in a threadsafe manner.
newNodeNamesor look for appropriate nodes in
matcher()took the tree & tregex instead of
evaluate(), but that is a little more complicated because of the way the
TsurgeonMatcheris used in
Tsurgeon. Basically, you would need to move that code from
|Constructor and Description|
public abstract Tree evaluate(Tree tree, TregexMatcher tregex)
TregexMatcherthat has been successfully matched against the tree.
© 2002-2013 Stanford NLP Group