Represents an alignment between a text and a hypothesis as a map from hypothesis words to text words, along with a real-valued score and (optionally) a justification string.
Stores attributes for a Semgrex NodePattern.
Parses a batch of SemgrexPatterns from a stream.
A SemgrexPattern is a pattern for matching node and edge configurations a dependency graph.
This exception is thrown when parse errors are encountered.
A runtime exception that indicates something went wrong parsing a semgrex expression.
java.util.regexpackage and based on the
edu.stanford.nlp.trees.tregex. Internally, these expressions are parsed using a parser designed with the javacc "compiler compiler" utility.
See SemgrexPattern for a description of the command line utility version.
Note that the only classes which should be public are the SemgrexMatcher, SemgrexPattern and SemgrexPatternCompiler classes-- the others were automatically given public access by javacc although really they should be package-private.
Stanford NLP Group