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.coarse_to_fine |
Classes used to implement coarse-to-fine parsing.
|
de.up.ling.irtg.binarization |
Classes for binarizing IRTGs.
|
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.corpus |
Classes for working with corpora.
|
de.up.ling.irtg.gui |
A graphical user interface (GUI) for Alto.
|
de.up.ling.irtg.laboratory |
This package contains the core classes used to run Alto Lab tasks.
|
de.up.ling.irtg.maxent |
Classes for working with maximum-entropy IRTGs.
|
de.up.ling.irtg.script |
Various useful scripts.
|
de.up.ling.irtg.util |
Various utilities.
|
Modifier and Type | Method and Description |
---|---|
InterpretedTreeAutomaton |
InterpretedTreeAutomaton.filterBinarizedForAppearingConstants(String interpName,
Object input)
Creates a new IRTG with many of the rules filtered out.
|
InterpretedTreeAutomaton |
InterpretedTreeAutomaton.filterForAppearingConstants(String interpName,
Object input)
Creates a new IRTG with many of the rules filtered out.
|
static InterpretedTreeAutomaton |
InterpretedTreeAutomaton.forAlgebras(Map<String,Algebra> algebras)
Creates an empty IRTG for the given algebras.
|
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 |
---|---|
InterpretedTreeAutomaton |
RuleRefinementTree.makeIrtgWithCoarsestAutomaton(InterpretedTreeAutomaton irtg) |
Modifier and Type | Method and Description |
---|---|
RuleRefinementTree |
GrammarCoarsifier.coarsify(InterpretedTreeAutomaton irtg,
String inputInterpretation) |
static CoarseToFineParser |
CoarseToFineParser.makeCoarseToFineParser(InterpretedTreeAutomaton irtg,
String interpretation,
String ftcMap,
double theta)
This is a convenience method which constructs a coarse to fine parser with the given
parameters.
|
InterpretedTreeAutomaton |
RuleRefinementTree.makeIrtgWithCoarsestAutomaton(InterpretedTreeAutomaton irtg) |
Constructor and Description |
---|
CoarseToFineParser(InterpretedTreeAutomaton irtg,
String inputInterpretation,
FineToCoarseMapping ftc,
double theta)
Creates a new instance from the given FineToCoarseMapping.
|
Modifier and Type | Method and Description |
---|---|
InterpretedTreeAutomaton |
BkvBinarizer.binarize(InterpretedTreeAutomaton irtg,
Map<String,Algebra> newAlgebras) |
InterpretedTreeAutomaton |
BkvBinarizer.binarize(InterpretedTreeAutomaton irtg,
Map<String,Algebra> newAlgebras,
ProgressListener listener) |
Modifier and Type | Method and Description |
---|---|
static Function<InterpretedTreeAutomaton,BinaryRuleFactory> |
GensymBinaryRuleFactory.createFactoryFactory() |
static Function<InterpretedTreeAutomaton,BinaryRuleFactory> |
InsideRuleFactory.createFactoryFactory() |
static Function<InterpretedTreeAutomaton,BinaryRuleFactory> |
XbarRuleFactory.createFactoryFactory() |
Modifier and Type | Method and Description |
---|---|
InterpretedTreeAutomaton |
BkvBinarizer.binarize(InterpretedTreeAutomaton irtg,
Map<String,Algebra> newAlgebras) |
InterpretedTreeAutomaton |
BkvBinarizer.binarize(InterpretedTreeAutomaton irtg,
Map<String,Algebra> newAlgebras,
ProgressListener listener) |
static IdentitySeed |
IdentitySeed.fromInterp(InterpretedTreeAutomaton irtg,
String interpretation) |
Rule |
GensymBinaryRuleFactory.generateBinarizedRule(Tree<String> nodeInVartree,
List<String> binarizedChildStates,
String pathToNode,
Rule originalRule,
Tree<String> vartree,
InterpretedTreeAutomaton originalIrtg,
InterpretedTreeAutomaton binarizedIrtg) |
Rule |
InsideRuleFactory.generateBinarizedRule(Tree<String> nodeInVartree,
List<String> binarizedChildStates,
String pathToNode,
Rule originalRule,
Tree<String> vartree,
InterpretedTreeAutomaton originalIrtg,
InterpretedTreeAutomaton binarizedIrtg)
Generates an automaton rule for a single node of the common variable tree.
|
Rule |
BinaryRuleFactory.generateBinarizedRule(Tree<String> nodeInVartree,
List<String> binarizedChildStates,
String pathToNode,
Rule originalRule,
Tree<String> vartree,
InterpretedTreeAutomaton originalIrtg,
InterpretedTreeAutomaton binarizedIrtg)
Generates an automaton rule for a single node of the common variable tree.
|
Rule |
XbarRuleFactory.generateBinarizedRule(Tree<String> nodeInVartree,
List<String> binarizedChildStates,
String pathToNode,
Rule originalRule,
Tree<String> vartree,
InterpretedTreeAutomaton originalIrtg,
InterpretedTreeAutomaton binarizedIrtg) |
Constructor and Description |
---|
InsideRuleFactory(InterpretedTreeAutomaton irtg) |
XbarRuleFactory(InterpretedTreeAutomaton irtg) |
Constructor and Description |
---|
BkvBinarizer(Map<String,RegularSeed> regularSeeds,
Function<InterpretedTreeAutomaton,BinaryRuleFactory> ruleFactory) |
Modifier and Type | Method and Description |
---|---|
InterpretedTreeAutomaton |
PcfgIrtgInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
IrtgInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
NoSignatureBinaryIrtgInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
JoshuaInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
BolinasHrgInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
BinaryIrtgInputCodec.read(InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
BinaryIrtgOutputCodec.write(InterpretedTreeAutomaton irtg,
OutputStream ostream) |
Constructor and Description |
---|
NoSignatureBinaryIrtgInputCodec(InterpretedTreeAutomaton referenceIRTG) |
Modifier and Type | Method and Description |
---|---|
InterpretedTreeAutomaton |
ChenTagInputCodec.read(InputStream is) |
InterpretedTreeAutomaton |
TagGrammar.toIrtg() |
Modifier and Type | Method and Description |
---|---|
static void |
Charts.computeCharts(Corpus corpus,
InterpretedTreeAutomaton irtg,
OutputStream ostream) |
static void |
Charts.computeCharts(Corpus corpus,
InterpretedTreeAutomaton irtg,
OutputStream ostream,
ProgressListener listener) |
static InterpretationPrintingPolicy |
InterpretationPrintingPolicy.fromIrtg(InterpretedTreeAutomaton irtg) |
static Corpus |
Corpus.readCorpus(Reader reader,
InterpretedTreeAutomaton irtg)
Reads a corpus from a string format available via a reader.
|
static Corpus |
Corpus.readCorpusLenient(Reader reader,
InterpretedTreeAutomaton irtg)
A version of readCorpus that allows interpretations in the corpus file to not be declared in the grammar.
|
Constructor and Description |
---|
CorpusWriter(InterpretedTreeAutomaton irtg,
String comment,
String commentPrefix,
InterpretationPrintingPolicy printingPolicy,
Writer writer) |
CorpusWriter(InterpretedTreeAutomaton irtg,
String comment,
String commentPrefix,
Writer writer) |
CorpusWriter(InterpretedTreeAutomaton irtg,
String comment,
Writer writer) |
OnTheFlyCharts(InterpretedTreeAutomaton irtg)
Creates an instance that will provide an iterator over charts by iterating
over the instances and computing charts as they are needed.
|
Modifier and Type | Field and Description |
---|---|
InterpretedTreeAutomaton |
IrtgTreeAutomatonAnnotator.irtg |
Modifier and Type | Method and Description |
---|---|
static Corpus |
GuiMain.loadAnnotatedCorpus(InterpretedTreeAutomaton irtg,
Component parent) |
static boolean |
GuiMain.saveIrtg(InterpretedTreeAutomaton irtg,
Component parent) |
void |
JLanguageViewer.setAutomaton(TreeAutomaton automaton,
InterpretedTreeAutomaton irtg) |
void |
JDerivationViewer.setInterpretedTreeAutomaton(InterpretedTreeAutomaton irtg) |
void |
JTreeAutomaton.setIrtg(InterpretedTreeAutomaton irtg) |
static void |
GuiMain.withLoadedUnannotatedCorpus(InterpretedTreeAutomaton irtg,
JFrame parent,
Consumer<Corpus> andThen) |
Constructor and Description |
---|
IrtgTreeAutomatonAnnotator(InterpretedTreeAutomaton irtg) |
RegularSeedChooser(InterpretedTreeAutomaton irtg,
Frame parent,
boolean modal)
Creates new form RegularSeedChooser
|
Constructor and Description |
---|
CorpusCache(Path baseDir,
URI baseURL,
InterpretedTreeAutomaton irtg,
AltoLabHttpClient labClient) |
Program(InterpretedTreeAutomaton irtg,
List<String> additionalData,
List<String> unparsedProgram,
Map<String,String> varRemapper)
Creates a new program for a given task and parameter values.
|
Modifier and Type | Class and Description |
---|---|
class |
MaximumEntropyIrtg
An IRTG with a log-linear probability model.
|
Modifier and Type | Method and Description |
---|---|
static InterpretedTreeAutomaton |
PennTreebankConverter.getIrtg() |
Modifier and Type | Method and Description |
---|---|
static Function<InterpretedTreeAutomaton,BinaryRuleFactory> |
PennTreebankConverter.makeRuleFactoryFactory(String binarizationMode) |
Modifier and Type | Method and Description |
---|---|
static InterpretedTreeAutomaton |
TestingTools.pi(InputStream r) |
static InterpretedTreeAutomaton |
TestingTools.pi(String s) |
Copyright © 2017. All rights reserved.