Skip navigation links

Package edu.stanford.nlp.trees.tregex

A package for tree-pattern expressions and matching these expressions to Tree instances.

See: Description

Package edu.stanford.nlp.trees.tregex Description

A package for tree-pattern expressions and matching these expressions to Tree instances. The design is similar to the java.util.regex package. Internally, tree-pattern expressions are parsed using a parser designed with the javacc "compiler compiler" utility.

See TregexPattern for a description of the command-line utility version.

Note that the only classes which should be public are the TregexMatcher, TregexPattern and TregexPatternCompiler classes -- the others were automatically given public access by javacc although really they should be package-private.

Author:
Roger Levy, Galen Andrew
Skip navigation links

Stanford NLP Group