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.
Created by sonalg on 11/3/14.
A SemgrexPattern is a
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