Package | Description |
---|---|
de.up.ling.irtg |
This package contains the core classes for Alto, which represent Interpreted
Regular tree grammars.
|
de.up.ling.irtg.algebra.graph |
The algebra of s-graphs, together with supporting classes.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Corpus |
InterpretedTreeAutomaton.readCorpus(Reader reader)
Loads a corpus for this IRTG using the given a reader.
|
Modifier and Type | Method and Description |
---|---|
void |
InterpretedTreeAutomaton.bulkParse(Corpus input,
Consumer<Instance> corpusConsumer,
ProgressListener listener)
Reads all inputs for this IRTG from a corpus and parses them.
|
void |
InterpretedTreeAutomaton.bulkParse(Corpus input,
Predicate<Instance> filter,
Consumer<Instance> corpusConsumer,
ProgressListener listener)
Reads inputs for this IRTG from a corpus and parses them.
|
void |
InterpretedTreeAutomaton.trainEM(Corpus trainingData)
Performs expectation maximization (EM) training of this (weighted) IRTG
using the given corpus.
|
void |
InterpretedTreeAutomaton.trainEM(Corpus trainingData,
int iterations,
double threshold,
ProgressListener listener)
Performs expectation maximization (EM) training of this (weighted) IRTG
using the given corpus and gives progress information to the passed progress
listener.
|
void |
InterpretedTreeAutomaton.trainEM(Corpus trainingData,
ProgressListener listener)
Performs expectation maximization (EM) training of this (weighted) IRTG
using the given corpus and gives progress information to the passed progress
listener.
|
void |
InterpretedTreeAutomaton.trainML(Corpus trainingData)
Performs maximum likelihood training of this (weighted) IRTG using the
given annotated corpus.
|
void |
InterpretedTreeAutomaton.trainVB(Corpus trainingData)
Performs Variational Bayes (VB) training of this (weighted) IRTG using
the given corpus.
|
void |
InterpretedTreeAutomaton.trainVB(Corpus trainingData,
int iterations,
double threshold,
ProgressListener listener)
Performs Variational Bayes (VB) training of this (weighted) IRTG using
the given corpus.
|
void |
InterpretedTreeAutomaton.trainVB(Corpus trainingData,
ProgressListener listener)
Performs Variational Bayes (VB) training of this (weighted) IRTG using
the given corpus.
|
Modifier and Type | Method and Description |
---|---|
static void |
SGraphBRDecompositionAutomatonBottomUp.writeDecompositionAutomata(String targetFolderPath,
Corpus corpus,
int startIndex,
int stopIndex,
int sourceCount,
int maxNodes,
int maxPerNodeCount,
boolean onlyBolinas)
Writes the decomposition automata for all specified graphs in the corpus,
with one restriction: There are no rename operations on states only
reachable via rename.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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) |
void |
AbstractCorpusWriter.writeCorpus(Corpus corpus) |
Modifier and Type | Method and Description |
---|---|
static Corpus |
GuiMain.loadAnnotatedCorpus(InterpretedTreeAutomaton irtg,
Component parent) |
Modifier and Type | Method and Description |
---|---|
static void |
GuiMain.withLoadedUnannotatedCorpus(InterpretedTreeAutomaton irtg,
JFrame parent,
Consumer<Corpus> andThen) |
Modifier and Type | Method and Description |
---|---|
void |
Program.run(Corpus corpus,
ResultManager resMan,
IntConsumer onInstanceSuccess,
int maxInstances,
boolean isWarmup,
Set<String> verboseMeasurements,
int flushFrequency)
Runs the program on all instances in the corpus.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MaximumEntropyIrtg.trainMaxent(Corpus corpus) |
boolean |
MaximumEntropyIrtg.trainMaxent(Corpus corpus,
ProgressListener listener)
Trains the weights for the rules according to the training data.
|
Copyright © 2017. All rights reserved.