public class TemplateIrtgInputCodec extends InputCodec<TemplateInterpretedTreeAutomaton>
foreach keyword, like so:
foreach { a,b | left-of(a,b) and target(a) and distractor(b)}:
NP_$a -> leftof_$a(N_$a, NP_$b)
[sem] project_1(intersect_2(intersect_1(left-of, ?1), ?2))
[string] *(?1, *("left of", ?2))
See TemplateInterpretedTreeAutomaton for details about
what such rules mean.| Constructor and Description |
|---|
TemplateIrtgInputCodec() |
| Modifier and Type | Method and Description |
|---|---|
TemplateInterpretedTreeAutomaton |
read(InputStream is)
Reads an object from an input stream.
|
addOptions, getAllInputCodecs, getInputCodecByExtension, getInputCodecByName, getInputCodecByNameOrExtension, getInputCodecs, getMetadata, getOption, hasTrueOption, main, read, setOption, setProgressListenerpublic TemplateInterpretedTreeAutomaton read(InputStream is) throws CodecParseException, IOException
InputCodecread in class InputCodec<TemplateInterpretedTreeAutomaton>CodecParseException - if an error occurred while decoding
the input stream into an objectIOException - if an error occurred while reading
data from the input streamCopyright © 2017. All rights reserved.