Class | Description |
---|---|
Alignment |
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.
|
CoordinationPattern | |
Env | |
NodeAttributes |
Stores attributes for a Semgrex NodePattern.
|
NodePattern | |
ProcessSemgrexRequest | |
SemgrexBatchParser |
Parses a batch of SemgrexPatterns from a stream.
|
SemgrexMatcher | |
SemgrexPattern |
A SemgrexPattern is a pattern for matching node and edge configurations a dependency graph.
|
Enum | Description |
---|---|
SemgrexPattern.OutputFormat |
Exception | Description |
---|---|
ParseException |
This exception is thrown when parse errors are encountered.
|
SemgrexParseException |
A runtime exception that indicates something went wrong parsing a
semgrex expression.
|
java.util.regex
package 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.