Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
N
P
R
S
T
W
Y
A
addEdge(Edge)
- Method in class de.pado.dv.
Graph
Add an edge to the Graph.
addEdge(Edge)
- Method in class de.pado.dv.
Path
Add an Edge to a Path
addNode(Node)
- Method in class de.pado.dv.
Graph
Add a node to the graph
affix(String, String)
- Static method in class de.pado.dv.
DVIOHelpers
Creates a filename by combining the name of a context specification and the name of a path value function.
B
basisMapping(Path)
- Static method in class de.pado.dv.
Parameters
returns the basis element to which a path corresponds.
C
charcounter()
- Method in class de.pado.dv.
Corpus
Returns the number of bytes read from the current corpus
close()
- Method in class de.pado.dv.
Logfile
Closes logfile.
CommandLineMap
- Class in
de.pado.dv
CommandLineMap is provides a simple interface to command line parameters (unary) and options (nullary).
CommandLineMap(String[], List)
- Constructor for class de.pado.dv.
CommandLineMap
CommandLineMap is initialized with actual command line arguments (args) and the set of known parameters options (knownArgs) specified as an array of Strings.
containsBE(String)
- Method in interface de.pado.dv.
SemanticSpace
Determines if the basis element b is used for representation in the semantic space.
containsBE(String)
- Method in class de.pado.dv.
SemanticSpaceArray
containsBE(String)
- Method in class de.pado.dv.
SemanticSpaceHash
containsTarget(String)
- Method in interface de.pado.dv.
SemanticSpace
Determines if the target t is represented in the semantic space.
containsTarget(String)
- Method in class de.pado.dv.
SemanticSpaceArray
containsTarget(String)
- Method in class de.pado.dv.
SemanticSpaceHash
Determines if the target t is represented in the semantic space.
Context
- Class in
de.pado.dv
This class models a word's context as determined by the context specification function.
Context(Graph, ContextSpec, Integer)
- Constructor for class de.pado.dv.
Context
A Context is constructed by specifying a (parse) graph, a context specification, and the index of the word in question.
ContextSpec
- Class in
de.pado.dv
ContextSpec models the context specification function.
ContextSpec(String)
- Constructor for class de.pado.dv.
ContextSpec
A ContextSpec is initialized with the filename of a file containing path specifications in textual form.
Corpus
- Class in
de.pado.dv
A Corpus is a sequence of dependency parses.
Corpus(Logfile)
- Constructor for class de.pado.dv.
Corpus
Read corpus from STDIN and write error output to
l
.
Corpus(String, Logfile)
- Constructor for class de.pado.dv.
Corpus
Read corpus from
filename
and write error output to
l
.
createLogfile(String)
- Method in class de.pado.dv.
DVCommandLineMap
creates a logfile according to the current command line
D
de.pado.dv
- package de.pado.dv
determineContextSpecs(String[], Logfile)
- Method in class de.pado.dv.
DVCommandLineMap
determines the context specifications specified by the current command line
determineCorpus(Logfile)
- Method in class de.pado.dv.
DVCommandLineMap
determines the corpus specified by the current command line
determineTargetDirectory()
- Method in class de.pado.dv.
DVCommandLineMap
determines target directory.
determineValueFunctions(String[], Logfile)
- Method in class de.pado.dv.
DVCommandLineMap
determines the value functions specified by the current command line
DVCommandLineMap
- Class in
de.pado.dv
This class provides a number of methods to interpret the arguments given on the command line.
DVCommandLineMap(String[], List)
- Constructor for class de.pado.dv.
DVCommandLineMap
DVIOHelpers
- Class in
de.pado.dv
This class contains small helper functions that are the same in each of the three executables.
DVIOHelpers()
- Constructor for class de.pado.dv.
DVIOHelpers
E
Edge
- Class in
de.pado.dv
This class models an edge of a parse tree, that is an edge between two Nodes with a String label called relation.
Edge(Node, Node, String)
- Constructor for class de.pado.dv.
Edge
Constructs an edge from two nodes an a label (relation).
entriesByFrequency()
- Method in class de.pado.dv.
FrequencyList
Returns a list representation of the entries in the FrequencyList, sorted according to inverse frequency (largest first).
entriesNatural()
- Method in class de.pado.dv.
FrequencyList
Returns a list representation of the entries in the FrequencyList, sorted according to the keys.
exists(String)
- Method in class de.pado.dv.
CommandLineMap
tests whether a particular command line argument exists
ExtractBasisElements
- Class in
de.pado.dv
executable
ExtractBasisElements extracts a list of BasisElements (equivalence classes of Paths).
ExtractIncrementalSpace
- Class in
de.pado.dv
executable
ExtractIncrementalSpace constructs a SemanticSpace for a given set of target words, and a given set of BasisElements to use as dimensions.
ExtractSpace
- Class in
de.pado.dv
executable
ExtractSpace constructs a SemanticSpace for a given set of target words, and a given set of BasisElements to use as dimensions.
F
fillFromFile(String)
- Method in class de.pado.dv.
SemanticSpaceArray
Fill a semantic space with the data from a string represtation of the space in a file.
FrequencyList
- Class in
de.pado.dv
This class models a hash map whose keys are Strings, and values are Doubles to keep track of frequency counts.
G
get(String)
- Method in class de.pado.dv.
CommandLineMap
returns the value of a particular command line argument key.
getAllNodeIndices()
- Method in class de.pado.dv.
Graph
Returns the set of all node indices in the Graph.
getEdges(Integer)
- Method in class de.pado.dv.
Graph
Returns all edges for a given node
getFromNode()
- Method in class de.pado.dv.
Edge
Get the node object at which the edge starts
getIndex()
- Method in class de.pado.dv.
Node
Returns the index (if present).
getNode(Integer)
- Method in class de.pado.dv.
Graph
Get a node from the Graph.
getPOS()
- Method in class de.pado.dv.
Node
Returns the part of speech
getRelation()
- Method in class de.pado.dv.
Edge
Get the relation with which the edge is labelled
getToNode()
- Method in class de.pado.dv.
Edge
Get the node object at which the edge ends
getVector(String)
- Method in class de.pado.dv.
SemanticSpaceArray
Returns the vector representing the target as a double array.
getWord()
- Method in class de.pado.dv.
Node
Returns the word
Graph
- Class in
de.pado.dv
This class models the graph that contains the dependency parsing information for a sentence (one paragraph of input data).
Graph()
- Constructor for class de.pado.dv.
Graph
Initialise an empty graph.
I
inc(Object, Double)
- Method in class de.pado.dv.
FrequencyList
Increase the frequency count for o by increment.
increaseCount(String, String, double)
- Method in interface de.pado.dv.
SemanticSpace
Increases the co-occurrence count for a given target and basis element combination.
increaseCount(String, String, double)
- Method in class de.pado.dv.
SemanticSpaceArray
Increases the co-occurrence count for a given target and basis element combination.
increaseCount(String, String, double)
- Method in class de.pado.dv.
SemanticSpaceHash
Increases the co-occurrence count for a given target and basis element combination.
invert()
- Method in class de.pado.dv.
Edge
Returns a new edge which has the start and end nodes inversed.
isEmpty()
- Method in class de.pado.dv.
Graph
Checks if there are no edges in the Graph.
isEquivalent(Path, Path)
- Static method in class de.pado.dv.
Parameters
isEquivalent tests if two paths are equivalent.
isOption(String)
- Method in class de.pado.dv.
CommandLineMap
tests whether a particular command line argument is an option.
iterator()
- Method in class de.pado.dv.
Context
returns an iterator over all paths in the context.
iterator()
- Method in class de.pado.dv.
ContextSpec
returns an iterator over all path specifications
L
LLT
- Class in
de.pado.dv
executable
This class performs a log likelihood transformation on a semantic space constructed by ExtractSpace.
Logfile
- Class in
de.pado.dv
This class creates a logfile to which program output can be sent, such as warnings, errors and status messages.
Logfile(String)
- Constructor for class de.pado.dv.
Logfile
Opens a new logfile at the position filename.
loglikelihood(double)
- Method in class de.pado.dv.
SemanticSpaceArray
Performs a log-likelihood transformation for all the cells in the space matrix.
M
main(String[])
- Static method in class de.pado.dv.
ExtractBasisElements
This function is called when running the program with
java ExtractBasisElements \< arguments \>
.
main(String[])
- Static method in class de.pado.dv.
ExtractIncrementalSpace
This function is called when running the program with
java ExtractBasisElements /< arguments />.
main(String[])
- Static method in class de.pado.dv.
ExtractSpace
This function is called when running the program with
java ExtractBasisElements /< arguments />.
main(String[])
- Static method in class de.pado.dv.
LLT
This function is called when running the program with
java LLT /< arguments />.
matches(Edge)
- Method in class de.pado.dv.
Edge
Checks if two edges match.
matches(Node)
- Method in class de.pado.dv.
Node
Two nodes match iff their words and parts of speech are equal, or if either is a wildcard ("*")
N
name()
- Method in class de.pado.dv.
ContextSpec
returns the name of the context specification, determined from the initialiasation filename.
nextParseGraph()
- Method in class de.pado.dv.
Corpus
Returns the next parse graph
Node
- Class in
de.pado.dv
This class models a Node.
Node(String, String, Integer)
- Constructor for class de.pado.dv.
Node
Initialisation for a node with an index (word, POS, index)
Node(String, String)
- Constructor for class de.pado.dv.
Node
Initialisation for a node without an index (word, POS)
P
Parameters
- Class in
de.pado.dv
The class Parameters contains functions that parametrize the extraction of Basis Elements and Semantic Spaces.
Parameters()
- Constructor for class de.pado.dv.
Parameters
Path
- Class in
de.pado.dv
A Path is a list of Edges.
Path(String)
- Constructor for class de.pado.dv.
Path
Constructs a Path from a string representation of a path
Path()
- Constructor for class de.pado.dv.
Path
Initialises an empty path.
pathValue(Path, String)
- Static method in class de.pado.dv.
Parameters
pathValue implements the Path Value Function parameter.
prettyPrintSpecs()
- Static method in class de.pado.dv.
Parameters
pretty print path value function names for help
prettyPrintVals()
- Static method in class de.pado.dv.
Parameters
pretty print path value function names for help
println(String)
- Method in class de.pado.dv.
Logfile
Writes a string to the logfile
purge(int, double)
- Method in class de.pado.dv.
FrequencyList
Reduces the FrequencyList to size maxsize if its size is larger than maxsize/ratio.
R
relSet()
- Method in class de.pado.dv.
Path
Returns the set of all relations on the Path.
replaceBy(Integer, Integer)
- Method in class de.pado.dv.
Graph
Replace all occurrences of some index in the Graph by a new index.
resetFrequencies()
- Method in class de.pado.dv.
FrequencyList
Set all frequencies to zero
S
SemanticSpace
- Interface in
de.pado.dv
This interface models a basic semantic space, that is a matrix in which
targets
are represented as vectors.
SemanticSpaceArray
- Class in
de.pado.dv
This is a naive array-based implementation of the SemanticSpace interface.
SemanticSpaceHash
- Class in
de.pado.dv
This is a naive hash-based implementation of the SemanticSpace interface.
setCount(String, String, double)
- Method in class de.pado.dv.
SemanticSpaceArray
Sets the co-occurrence count for a given target and basis element combination to some number.
size()
- Method in class de.pado.dv.
Context
T
testLocation(String)
- Static method in class de.pado.dv.
DVIOHelpers
Tests if the given filename is good for writing by creating a file there and erasing it afterwards.
toString()
- Method in class de.pado.dv.
Edge
Returns a string representation of the edge (equivalent to the edge part of a path specification)
toString()
- Method in class de.pado.dv.
Graph
return a string representation of the graph.
toString()
- Method in class de.pado.dv.
Node
Returns a string representation of the Node object.
toString()
- Method in class de.pado.dv.
Path
Returns a string representation of a Path: Edge1=Edge2=...
toString()
- Method in interface de.pado.dv.
SemanticSpace
Returns a string representation of the semantic space.
toString()
- Method in class de.pado.dv.
SemanticSpaceArray
Returns a string representation of the SemanticSpace.
toString()
- Method in class de.pado.dv.
SemanticSpaceHash
Returns a string representation of the semantic space.
toStringByFrequency()
- Method in class de.pado.dv.
FrequencyList
Returns a string representation of the FrequencyList, sorted inversely according to the values (greatest frequency first).
toStringNatural()
- Method in class de.pado.dv.
FrequencyList
Returns a string representation of the FrequencyList, sorted according to keys.
W
writeToFile(String, String)
- Static method in class de.pado.dv.
DVIOHelpers
Opens a file, writes the string to it, closes the file.
Y
yield()
- Method in class de.pado.dv.
Path
returns the set of all nodes which are touched by the Path.
A
B
C
D
E
F
G
I
L
M
N
P
R
S
T
W
Y
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes