Package | Description |
---|---|
de.up.ling.irtg |
This package contains the core classes for Alto, which represent Interpreted
Regular tree grammars.
|
de.up.ling.irtg.automata.condensed |
Classes for "condensed" tree automata.
|
de.up.ling.irtg.codec |
Classes for reading and writing IRTGs, tree automata,
and other objects.
|
de.up.ling.irtg.codec.tag |
This package contains a codec for reading in the grammar format used by Chen and Rambow.
|
de.up.ling.irtg.script |
Various useful scripts.
|
de.up.ling.irtg.util |
Various utilities.
|
Modifier and Type | Method and Description |
---|---|
static InterpretedTreeAutomaton |
InterpretedTreeAutomaton.fromPath(String path)
Helper method that creates a stream from the given path and reads it as with
read from an IRTG input codec. |
static InterpretedTreeAutomaton |
InterpretedTreeAutomaton.fromString(String s)
Helper method that reads an IRTG from a string as with
read
from an IRTG input codec. |
InterpretedTreeAutomaton |
TemplateInterpretedTreeAutomaton.instantiate(FirstOrderModel model)
Instantiates this template IRTG into a concrete IRTG.
|
static InterpretedTreeAutomaton |
InterpretedTreeAutomaton.read(InputStream r)
Helper method that reads an IRTG from an input stream as with
read
from an IRTG input codec. |
Modifier and Type | Method and Description |
---|---|
static void |
GenericCondensedIntersectionAutomaton.main(String[] args,
boolean showViterbiTrees,
GenericCondensedIntersectionAutomaton.IntersectionCall icall)
Function to test the efficiency of this intersection algorithm by parsing
each sentence in a text file with a given IRTG.
|
static void |
NonCondensedIntersectionAutomaton.main(String[] args,
boolean showViterbiTrees,
NonCondensedIntersectionAutomaton.IntersectionCall icall)
Function to test the efficiency of this intersection algorithm by parsing
each sentence in a text file with a given IRTG.
|
Modifier and Type | Method and Description |
---|---|
static void |
IrtgInputCodec.addConstructorFeature(String id,
String classname,
List<String> arguments,
Map<String,FeatureFunction> features) |
static void |
IrtgInputCodec.addStaticFeature(String id,
String classname,
String methodname,
List<String> arguments,
Map<String,FeatureFunction> features) |
static void |
NoSignatureBinaryIrtgInputCodec.main(String[] args)
translates first argument IRTG into normal irtb format, using second argument
IRTG as reference for signatures
|
InterpretedTreeAutomaton |
PcfgIrtgInputCodec.read(InputStream is) |
TreeAutomaton |
TreeAutomatonInputCodec.read(InputStream is) |
abstract E |
InputCodec.read(InputStream is)
Reads an object from an input stream.
|
TemplateInterpretedTreeAutomaton |
TemplateIrtgInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
IrtgInputCodec.read(InputStream is) |
TreeAutomaton |
BottomUpTreeAutomatonInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
NoSignatureBinaryIrtgInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
JoshuaInputCodec.read(InputStream is) |
SGraph |
IsiAmrInputCodec.read(InputStream is) |
Tree<String> |
PtbTreeInputCodec.read(InputStream is)
Reads a single tree in PTB format.
|
InterpretedTreeAutomaton |
BolinasHrgInputCodec.read(InputStream is) |
SGraph |
SGraphInputCodec.read(InputStream is) |
TreeAutomaton |
TiburonTreeAutomatonInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
BinaryIrtgInputCodec.read(InputStream is) |
E |
InputCodec.read(String s)
Reads an object from a string representation.
|
List<Tree<String>> |
PtbTreeInputCodec.readCorpus(InputStream is)
Reads a whole corpus of PTB trees and returns the trees as a list.
|
Modifier and Type | Method and Description |
---|---|
InterpretedTreeAutomaton |
ChenTagInputCodec.read(InputStream is) |
Modifier and Type | Method and Description |
---|---|
static void |
CorpusParser.main(String[] args) |
Modifier and Type | Method and Description |
---|---|
static TreeAutomaton |
TestingTools.pa(InputStream s) |
static TreeAutomaton |
TestingTools.pa(String s) |
static SGraph |
TestingTools.pg(String s) |
static InterpretedTreeAutomaton |
TestingTools.pi(InputStream r) |
static InterpretedTreeAutomaton |
TestingTools.pi(String s) |
Copyright © 2017. All rights reserved.