This defines how to use macros from a file in Tregex.
A TregexPattern is a regular expression-like pattern that is designed to match node configurations within a Tree where the nodes are labeled with symbols, rather than a character string.
A class for compiling TregexPatterns with specific HeadFinders and or basicCategoryFunctions.
This exception is thrown when parse errors are encountered.
A runtime exception that indicates something went wrong parsing a tregex expression.
java.util.regexpackage. Internally, tree-pattern expressions are parsed using a parser designed with the javacc "compiler compiler" utility.
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.
Stanford NLP Group