public class DescriptionPattern extends TregexPattern
TregexPattern.TRegexTreeReaderFactory
Constructor and Description |
---|
DescriptionPattern(edu.stanford.nlp.trees.tregex.Relation rel,
boolean negDesc,
String desc,
String name,
boolean useBasicCat,
Function<String,String> basicCatFunction,
List<Pair<Integer,String>> variableGroups,
boolean isLink,
String linkedName) |
DescriptionPattern(edu.stanford.nlp.trees.tregex.Relation newRelation,
DescriptionPattern oldPattern) |
Modifier and Type | Method and Description |
---|---|
List<TregexPattern> |
getChildren() |
String |
localString() |
TregexMatcher |
matcher(Tree root,
Tree tree,
IdentityHashMap<Tree,Tree> nodesToParents,
Map<String,Tree> namesToNodes,
edu.stanford.nlp.trees.tregex.VariableStrings variableStrings,
HeadFinder headFinder) |
void |
setChild(TregexPattern n) |
String |
toString() |
compile, main, matcher, matcher, pattern, prettyPrint, prettyPrint, prettyPrint, safeCompile
public DescriptionPattern(edu.stanford.nlp.trees.tregex.Relation rel, boolean negDesc, String desc, String name, boolean useBasicCat, Function<String,String> basicCatFunction, List<Pair<Integer,String>> variableGroups, boolean isLink, String linkedName)
public DescriptionPattern(edu.stanford.nlp.trees.tregex.Relation newRelation, DescriptionPattern oldPattern)
public String localString()
public String toString()
toString
in class TregexPattern
public void setChild(TregexPattern n)
public List<TregexPattern> getChildren()
public TregexMatcher matcher(Tree root, Tree tree, IdentityHashMap<Tree,Tree> nodesToParents, Map<String,Tree> namesToNodes, edu.stanford.nlp.trees.tregex.VariableStrings variableStrings, HeadFinder headFinder)