|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonPattern
public abstract class TsurgeonPattern
An abstract class for patterns to manipulate Tree
s when
successfully matched on with a TregexMatcher
.
Method Summary | |
---|---|
abstract Tree |
evaluate(Tree t,
TregexMatcher m)
Evaluates the pattern against a Tree and a TregexMatcher
that has been successfully matched against the tree. |
protected void |
setRoot(edu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonPatternRoot root)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
protected void setRoot(edu.stanford.nlp.trees.tregex.tsurgeon.TsurgeonPatternRoot root)
public java.lang.String toString()
toString
in class java.lang.Object
public abstract Tree evaluate(Tree t, TregexMatcher m)
Tree
and a TregexMatcher
that has been successfully matched against the tree.
t
- the Tree
that has been matched upon; typically this tree will be destructively modified.m
- the successfully matched TregexMatcher
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |