A B C D E F G H I K L M N O P Q R S T U V W X

A

add(CompareResult) - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
Adds another CompareResult to this one.
addFeature(String) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Adds a new feature to the feature set.
addFeature(String, int) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Adds a new feature to the feature set, and assigns it the given number.
Alignment - Class in se.lth.cs.nlp.nlputils.alignment
Word alignment.
Alignment(String) - Constructor for class se.lth.cs.nlp.nlputils.alignment.Alignment
Constructor from alignment string in the format used by GIZA++.
alpha - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm.decision_function
 
AnnotatedText - Class in se.lth.cs.nlp.nlputils.annotations
A text with a list of annotation layers.
AnnotatedText() - Constructor for class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
Creates a new AnnotatedText.
AnnotationLayer - Class in se.lth.cs.nlp.nlputils.annotations
Annotation layer.
AnnotationLayer() - Constructor for class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
 
AnnotationType - Class in se.lth.cs.nlp.nlputils.annotations
This class is inherited by factories of annotation types.
AnnotationType() - Constructor for class se.lth.cs.nlp.nlputils.annotations.AnnotationType
 
apply(T1) - Method in class se.lth.cs.nlp.nlputils.core.Function
Calls this function.
apply(T) - Method in class se.lth.cs.nlp.nlputils.core.Predicate
Calls this predicate.
apply(T) - Method in class se.lth.cs.nlp.nlputils.core.Procedure
Calls this procedure.
apply(int[]) - Method in class se.lth.cs.nlp.nlputils.ml.BinaryLinearClassifier
 
apply(int[]) - Method in class se.lth.cs.nlp.nlputils.ml.BinaryNumericClassifier
Applies the discriminator function.
apply(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.BinaryNumericClassifier
Auxiliary method that encodes the features and calls apply.
apply(int[]) - Method in class se.lth.cs.nlp.nlputils.ml.BinaryQuadraticClassifier
 
attlist_name - Static variable in class RoleLabeler
 
Aux - Class in <Unnamed>
 
Aux() - Constructor for class Aux
 
Aux - Class in se.lth.cs.nlp.nlputils.core
Contains a set of auxiliary methods used by all libraries.

B

bgColor - Variable in class se.lth.cs.nlp.nlputils.framenet.FrameElement
Background color for presentation.
BIKEL_PATH - Static variable in class Aux
 
BinaryLinearClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml
A binary linear classifier.
BinaryLinearClassifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.BinaryLinearClassifier
 
BinaryNumericClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml
Abstract class for binary numeric classifiers, such as classical linear or quadratic models.
BinaryNumericClassifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.BinaryNumericClassifier
 
BinaryQuadraticClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml
A binary quadratic classifier.
BinaryQuadraticClassifier(NumericEncoding, Object[], double[], int[][], double[][], double) - Constructor for class se.lth.cs.nlp.nlputils.ml.BinaryQuadraticClassifier
 
ByLeft<T1 extends Comparable<? super T1>,T2> - Class in se.lth.cs.nlp.nlputils.core
A comparator that compares the left element of a pair.
ByLeft() - Constructor for class se.lth.cs.nlp.nlputils.core.ByLeft
 
ByRight<T1,T2 extends Comparable<? super T2>> - Class in se.lth.cs.nlp.nlputils.core
A comparator that compares the right element of a pair.
ByRight() - Constructor for class se.lth.cs.nlp.nlputils.core.ByRight
 

C

C - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
C_SVC - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
cache_size - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
cacheNode(Node, String, Node) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
 
check(boolean, String) - Static method in class se.lth.cs.nlp.nlputils.core.Aux
Asserts that condition holds, otherwise throws a RuntimeException.
children - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The children of this node.
children - Variable in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
The children of the node.
classes - Variable in class se.lth.cs.nlp.nlputils.ml.BinaryNumericClassifier
The range of output values.
Classifier<ItemType> - Class in se.lth.cs.nlp.nlputils.ml
Abstract class representing a classifier.
Classifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.Classifier
 
classify(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.BinaryNumericClassifier
 
classify(ItemType) - Method in class se.lth.cs.nlp.nlputils.ml.Classifier
Auxiliary method that calls the feature extractor on the item.
classify(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.Classifier
Performs a classification given a feature list.
classify(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.ClasswiseClassifier
 
classify(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMClassifier
 
classify(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.glue.NativeLibSVMClassifier
 
classify(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.PairwiseClassifier
 
classifyRestricted(FeatureList, Collection) - Method in class se.lth.cs.nlp.nlputils.ml.Classifier
Optional method that makes sure that restricts the range of the output value.
classifyRestricted(FeatureList, Collection) - Method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMClassifier
 
ClasswiseClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml
Multiclass classifier by applying a binary classifier for each class.
ClasswiseClassifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.ClasswiseClassifier
 
clone() - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
coef0 - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
COLLAPSE_IDENTICAL - Static variable in class TreeFeatures
 
COLLAPSE_VERB_TOKENS - Static variable in class TreeFeatures
 
CollectionUtils - Class in se.lth.cs.nlp.nlputils.core
Some auxiliary methods for collections.
collinsTree(String) - Static method in class se.lth.cs.nlp.nlputils.pstree.PSTree
Creates a parse tree from a string containing a tree in Collins' format, that is a phrase structure tree with heads.
compare(AnnotationLayer) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
Compares this layer to another layer.
compare(Pair<T1, T2>, Pair<T1, T2>) - Method in class se.lth.cs.nlp.nlputils.core.ByLeft
 
compare(Pair<T1, T2>, Pair<T1, T2>) - Method in class se.lth.cs.nlp.nlputils.core.ByRight
 
compare(T, T) - Method in class se.lth.cs.nlp.nlputils.core.NegatedComparator
 
CompareResult - Class in se.lth.cs.nlp.nlputils.annotations
The result of a comparison of two layers.
CompareResult() - Constructor for class se.lth.cs.nlp.nlputils.annotations.CompareResult
 
computeProbabilities(FeatureList, double[]) - Method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMClassifier
 
computeProbabilities(FeatureList, double[]) - Method in class se.lth.cs.nlp.nlputils.ml.glue.NativeLibSVMClassifier
 
computeProbabilities(T, double[]) - Method in class se.lth.cs.nlp.nlputils.ml.ProbabilityClassifier
Computes the posterior class probabilities given an item.
computeProbabilities(FeatureList, double[]) - Method in class se.lth.cs.nlp.nlputils.ml.ProbabilityClassifier
Computes the posterior class probabilities given a feature list.
containsKey(K) - Method in class se.lth.cs.nlp.nlputils.core.ListHash
Checks whether the map contains a given key.
coreType - Variable in class se.lth.cs.nlp.nlputils.framenet.FrameElement
The core type (that is Core, Peripheral or Extra-thematic).
countEndPunc(Node) - Method in class se.lth.cs.nlp.nlputils.pstree.PSTree
Returns the number of punctuation tokens that the node n ends with.
countUnderscores(String) - Static method in class TreeFeatures
 
createDocument(String, String) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Creates a new document.
createEncoding(String, HashMap<String, Integer>) - Static method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Creates a NumericEncoding from a training file.
createLayers(InputStream) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationType
Reads and parses an AnnotatedText from the given InputStream, using the format of the inheriting AnnotationType.
createLayers(String) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationType
Reads and parses an AnnotatedText from a string, using the format of the inheriting AnnotationType.
createLayers(InputStream) - Method in class se.lth.cs.nlp.nlputils.annotations.ProcessedFNAnnotation
 
createLayers(String) - Method in class se.lth.cs.nlp.nlputils.annotations.ProcessedFNAnnotation
 
createLayers(InputStream) - Method in class se.lth.cs.nlp.nlputils.annotations.RawXMLAnnotation
Creates an annotated text with a single layer.
createLayers(String) - Method in class se.lth.cs.nlp.nlputils.annotations.RawXMLAnnotation
This method is unimplemented since raw XML text should never be put into Java strings (because this may break the encoding).

D

decl - Variable in class se.lth.cs.nlp.nlputils.ml.FeatureList
The feature declaration that is used by this feature list.
decodeTarget(int) - Method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Decodes a target value.
degree - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
DEP_COLLAPSE_NOUN_TAGS - Static variable in class TreeFeatures
 
DEP_COLLAPSE_VERB_TAGS - Static variable in class TreeFeatures
 
DepGraph - Class in se.lth.cs.nlp.nlputils.deptree
A dependency graph consisting of an array of nodes.
DepGraph() - Constructor for class se.lth.cs.nlp.nlputils.deptree.DepGraph
 
DepNode - Class in se.lth.cs.nlp.nlputils.deptree
A node in a dependency tree.
DepNode() - Constructor for class se.lth.cs.nlp.nlputils.deptree.DepNode
 
depParent() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
The dependency parent of this token node.
doAll(String) - Static method in class Aux
 
documentToXMLBytes(Document, String) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Converts the Document to a byte array, taking the declared XML character encoding into account.
doFilter(Collection<T>, Predicate<T>) - Static method in class se.lth.cs.nlp.nlputils.core.CollectionUtils
Destructively removes the elements for which p returns false.
DOMUtils - Class in se.lth.cs.nlp.nlputils.core
A utility class which contains static methods to simplify some chores common when working with DOM trees.
dot(svm_node[], svm_node[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
dumpFrames(PrintWriter) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
 

E

encode(FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Encodes a feature list.
encodeFile(NumericEncoding, String, String) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
 
encodeStrings(String[]) - Method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Encodes a list of symbolic strings.
encodeTarget(Object) - Method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Encodes a target value.
encodeTargets(Collection) - Method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Encodes a collection of target values.
encoding - Variable in class se.lth.cs.nlp.nlputils.ml.BinaryNumericClassifier
The numeric encoding that maps feature values to indices.
end - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
The end of the span, exclusive.
eps - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
EPSILON_SVR - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
equals(Object) - Method in class se.lth.cs.nlp.nlputils.core.Pair
 
equals(Object) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
 
ESCAPE_FEATURE_SEPARATOR - Static variable in class se.lth.cs.nlp.nlputils.ml.MLConstants
This value is used to replace the feature separator in strings.
EXCLUDED_MAGIC_NUMBER - Static variable in class se.lth.cs.nlp.nlputils.ml.MLConstants
This number signifies that a member of a feature set is excluded.
extractFeatures(T, FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureExtractor
Extracts features of an item to a FeatureList.
extractor - Variable in class se.lth.cs.nlp.nlputils.ml.Classifier
The feature extractor that is used in classify(ItemType item).

F

FALSE - Static variable in class se.lth.cs.nlp.nlputils.core.Predicate
A predicate that always returns false.
FEATURE_EXTRACTOR_FAILED - Static variable in class se.lth.cs.nlp.nlputils.ml.FeatureExtractor
 
FEATURE_EXTRACTOR_OK - Static variable in class se.lth.cs.nlp.nlputils.ml.FeatureExtractor
 
FEATURE_LIST - Static variable in class FeatureExtractors
 
FEATURE_SEPARATOR - Static variable in class se.lth.cs.nlp.nlputils.ml.MLConstants
This character is used to separate features in a feature string.
FeatureDeclaration - Class in se.lth.cs.nlp.nlputils.ml
Declaration of a feature set.
FeatureDeclaration() - Constructor for class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Creates a new, empty, feature set.
FeatureDeclaration(String[]) - Constructor for class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Creates a new feature set from the given feature names.
FeatureExtractor<T> - Class in se.lth.cs.nlp.nlputils.ml
Abstract class that represents the mapping from an item to a list of feature values.
FeatureExtractor() - Constructor for class se.lth.cs.nlp.nlputils.ml.FeatureExtractor
 
FeatureExtractors - Class in <Unnamed>
 
FeatureExtractors() - Constructor for class FeatureExtractors
 
FeatureList - Class in se.lth.cs.nlp.nlputils.ml
A list of feature values.
FeatureList(FeatureDeclaration) - Constructor for class se.lth.cs.nlp.nlputils.ml.FeatureList
Creates a new feature list given a declaration.
FeatureList(FeatureDeclaration, String[]) - Constructor for class se.lth.cs.nlp.nlputils.ml.FeatureList
Creates a new feature list given a declaration, using the given array as storage.
features - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The "features" in CoNLL-X terminology.
features - Variable in class se.lth.cs.nlp.nlputils.ml.FeatureList
The array of feature values.
fgColor - Variable in class se.lth.cs.nlp.nlputils.framenet.FrameElement
Foreground color for presentation.
filter(Collection<T>, Predicate<T>) - Static method in class se.lth.cs.nlp.nlputils.core.CollectionUtils
Returns a filtered copy of the collection coll.
findCharIndices(String[]) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
Sets the character indices for all spans, assuming that the token indices are already set.
findChildByName(Node, String) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Finds the first child node with a certain name if one exists.
findCommonAncestor(DepGraph, DepNode, DepNode) - Static method in class TreeFeatures
 
findCommonAncestor(Node, Node) - Static method in class TreeFeatures
 
findCommonAncestorDep(Node, Node) - Static method in class TreeFeatures
 
findDepPath(Node, Node) - Static method in class TreeFeatures
 
findGovCat(Node) - Static method in class TreeFeatures
 
findMaltPath(DepGraph, int, int) - Static method in class TreeFeatures
 
findNMaxSums(double[][], int, Predicate<int[]>) - Static method in class se.lth.cs.nlp.nlputils.optimization.OptimizeScores
 
findNodeById(Node, String) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
This is needed because Document.getElementById does not seems to work well in our DOM implementation.
findPassiveInParents(Node) - Static method in class TreeFeatures
 
findPath(Node, Node) - Static method in class TreeFeatures
 
findPhraseType(Node) - Static method in class TreeFeatures
 
findPhraseTypeAndHead(Node) - Static method in class TreeFeatures
 
findSubCat(Node) - Static method in class TreeFeatures
 
findTokenIndices(String[]) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
Sets the token indices for all spans, assuming that the character indices are already set.
findVoice(Node) - Static method in class TreeFeatures
 
findVPHead(TokenNode) - Static method in class TreeFeatures
 
first - Variable in class se.lth.cs.nlp.nlputils.core.Triple
 
firstChild(Node) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Returns the first non-text child of the node.
FrameElement - Class in se.lth.cs.nlp.nlputils.framenet
A FrameElement in the FrameNet database.
FrameElement(String, String, String, String, String) - Constructor for class se.lth.cs.nlp.nlputils.framenet.FrameElement
 
framenet - Static variable in class FeatureExtractors
 
framenet - Variable in class RoleLabeler
 
FrameNet - Class in se.lth.cs.nlp.nlputils.framenet
An interface to the FrameNet database.
FrameNet(String, String, boolean, String) - Constructor for class se.lth.cs.nlp.nlputils.framenet.FrameNet
Creates a FrameNet from the database files.
FrameNet(String, String) - Constructor for class se.lth.cs.nlp.nlputils.framenet.FrameNet
Creates a FrameNet from the database files.
FrameNet(String, String, boolean) - Constructor for class se.lth.cs.nlp.nlputils.framenet.FrameNet
Creates a FrameNet from the database files.
FrameNet(String, String, String) - Constructor for class se.lth.cs.nlp.nlputils.framenet.FrameNet
Creates a FrameNet from the database files.
Function<T1,T2> - Class in se.lth.cs.nlp.nlputils.core
A callable one-argument function from T1 to T2.
Function() - Constructor for class se.lth.cs.nlp.nlputils.core.Function
Initiates the function.
Function(Object) - Constructor for class se.lth.cs.nlp.nlputils.core.Function
Initiates the function with a parameter.

G

gamma - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
get(K) - Method in class se.lth.cs.nlp.nlputils.core.ListHash
Returns the association list for key.
get_Q(int, int) - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
get_Q(int, int) - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.QMatrix
 
get_QD() - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
get_QD() - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.QMatrix
 
getAllLemmas() - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Returns the set of all FrameNet lemmas.
getConvertedLemma(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Converts an unstandardized lemma to a standardized.
getExcludes(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Returns the list of Excludes pairs for the given frame.
getF(double) - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
Returns a weighted F-measure.
getF1() - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
Returns the F-measure with equal weights, that is the harmonic mean of the precision and the recall.
getFeature(String) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
Gets the value of a feature given by name.
getFeature(int) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
Gets the value of a feature given by index.
getFeatureIndex(String) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Returns the feature number of the given feature.
getFirstToken() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
Returns the leftmost dependent token.
getFirstToken() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
getFirstToken() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
getFNLemma(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Converts a standardized lemma to an unstandardized.
getFrameElementNames(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Looks up the list of frame element names for a frame.
getFrameElements(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Looks up the list of frame elements for a frame.
getFramesByLemma(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Looks up a list of frames given a lemma.
getHead() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
Returns the head token node.
getHead() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
getHead() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
getIndices(int) - Method in class se.lth.cs.nlp.nlputils.alignment.Alignment
Returns an array of indices that the token at position index is projected to.
getLabel() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
For a token node, returns the part of speech; for a nonterminal node, returns its label.
getLabel() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
getLabel() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
getLastToken() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
Returns the rightmost dependent token.
getLastToken() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
getLastToken() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
getLemmasByHeadPos(String, String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Looks up a list of lemma-frame pairs given a single-word lemma and its POS (which must be N, V, or A).
getLenientPrecision() - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
Returns the precision when partial matches are counted as correct.
getNFeatures() - Method in class se.lth.cs.nlp.nlputils.ml.NumericEncoding
Returns the number of features.
getPrecision() - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
Returns the precision, that is the probability that a guess is correct.
getProperty(String) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
Gets a property of the annotated text.
getRecall() - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
Returns the recall, that is the probability that an item from the gold standard is retrieved.
getRequires(String) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Returns the set of Requires pairs for the given frame.
getResource(String) - Method in class RoleLabeler
 
getSpanEnd() - Method in class se.lth.cs.nlp.nlputils.deptree.DepNode
The position of the rightmost descendent of this node.
getSpanStart() - Method in class se.lth.cs.nlp.nlputils.deptree.DepNode
The position of the leftmost descendent of this node.

H

handleGraphs(InputSource, Procedure<DepGraph>) - Static method in class se.lth.cs.nlp.nlputils.deptree.ImportMalt
Reads dependency graphs from an InputSource and calls a callback for each graph.
handleGraphsFromFile(String, Procedure<DepGraph>) - Static method in class se.lth.cs.nlp.nlputils.deptree.ImportMalt
Reads dependency graphs from a file and calls a callback for each graph.
hashCode() - Method in class se.lth.cs.nlp.nlputils.core.Pair
 
hashCode() - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
 
head - Variable in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
The head token node.
headChild - Variable in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
The child that contains the head.
heads - Variable in class se.lth.cs.nlp.nlputils.pstree.PSTree
The heads.

I

id - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
 
ImportCoNLLFormat - Class in se.lth.cs.nlp.nlputils.deptree
Factory class that reads a dependency graph encoded in the CoNLL-X format.
importGraphsFromFile(String) - Static method in class se.lth.cs.nlp.nlputils.deptree.ImportMalt
Returns a list of dependency graphs read from a file.
importGraphsFromString(String) - Static method in class se.lth.cs.nlp.nlputils.deptree.ImportMalt
Returns a list of dependency graphs given an XML string.
ImportMalt - Class in se.lth.cs.nlp.nlputils.deptree
Factory class that reads a dependency graph encoded in the MALT-XML format.
in - Variable in class se.lth.cs.nlp.nlputils.core.Function
Initiation parameter.
in - Variable in class se.lth.cs.nlp.nlputils.core.Predicate
Initiation parameter.
in - Variable in class se.lth.cs.nlp.nlputils.core.Procedure
Initiation parameter.
index - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_node
 
instance() - Static method in class se.lth.cs.nlp.nlputils.annotations.ProcessedFNAnnotation
Returns the instance of this AnnotationType.
instance() - Static method in class se.lth.cs.nlp.nlputils.annotations.RawXMLAnnotation
Returns the instance of this AnnotationType.
isBefore(Node, int) - Static method in class TreeFeatures
 
isPassiveSwedish(TokenNode) - Static method in class TreeFeatures
 
isPunctuation() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
Returns true if this is a punctuation token.
isSameOrAncestorOf(Node) - Method in class se.lth.cs.nlp.nlputils.pstree.Node
Returns true if this node is identical to or is an ancestor of n.
isSameOrAncestorOf(Node) - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
isSameOrAncestorOf(Node) - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
isUnderLabel(Node, HashMap) - Static method in class TreeFeatures
 

K

k_function(svm_node[], svm_node[], svm_parameter) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
Kernel - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
Kernel(int, svm_node[][], svm_parameter) - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
kernel_function(int, int) - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
kernel_type - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
kernel_type_table - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
KNOWN_FRAME - Static variable in class FeatureExtractors
 

L

l - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
label - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
 
label - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
 
label - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
label - Variable in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
The label of the node.
labelNode(FeatureList) - Method in class RoleLabeler
 
labelRawText(String) - Method in class RoleLabeler
 
labelRawTextFromStdin() - Method in class RoleLabeler
 
labelRev - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
labelSentence(AnnotatedText, Function<Pair<FeatureList, Node>, String>) - Method in class RoleLabeler
 
lastChild(Node) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Returns the last non-text child of the node.
layers - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
left - Variable in class se.lth.cs.nlp.nlputils.core.Pair
The left element.
lemma - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The lemma.
lemma - Variable in class se.lth.cs.nlp.nlputils.pstree.TokenNode
The lemma, if available.
lemmas - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
Lemmatizer - Class in <Unnamed>
 
Lemmatizer(String) - Constructor for class Lemmatizer
 
lemmatizer - Variable in class RoleLabeler
 
LibSVMClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml.glue
 
LibSVMClassifier(String, NumericEncoding) - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.LibSVMClassifier
 
LibSVMInterface - Class in se.lth.cs.nlp.nlputils.ml.glue
 
LibSVMInterface() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
 
LINEAR - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
lineCount - Static variable in class se.lth.cs.nlp.nlputils.deptree.ImportCoNLLFormat
 
list - Variable in class se.lth.cs.nlp.nlputils.ml.Classifier
The feature list that is used in classify(ItemType item).
ListHash<K,V> - Class in se.lth.cs.nlp.nlputils.core
A map from a key type to a list of the value type.
ListHash() - Constructor for class se.lth.cs.nlp.nlputils.core.ListHash
 
loadClassifier(String, NumericEncoding, boolean) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
 
loadClassifier(String, NumericEncoding) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
 
loadClassifier(JarFile, String, String, boolean) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
 
loadExpanded(JarFile, String, String) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.LibSVMInterface
 
loadSubset(InputStream) - Static method in class FeatureExtractors
 
lookup(String, String) - Method in class Lemmatizer
 

M

main(String[]) - Static method in class RoleLabeler
 
main(String[]) - Static method in class se.lth.cs.nlp.nlputils.deptree.ImportMalt
 
matches(Span) - Method in class se.lth.cs.nlp.nlputils.annotations.Span
Returns true if this span has the same start and end and the same label as the other span.
matchesPartially(Span) - Method in class se.lth.cs.nlp.nlputils.annotations.Span
Returns true if this span overlaps and has the same label as the other span.
matchTreeToSpans(AnnotatedText) - Method in class RoleLabeler
 
maxSpan(int, int) - Method in class se.lth.cs.nlp.nlputils.alignment.Alignment
Finds the maximal span of all projected positions between start and end.
MLConstants - Class in se.lth.cs.nlp.nlputils.ml
Declares some public constants.
model_dir - Variable in class RoleLabeler
 
model_jar - Variable in class RoleLabeler
 
MXPOST_PATH - Static variable in class Aux
 

N

N_DEP_PATH - Static variable in class FeatureExtractors
 
N_GOV_CAT - Static variable in class FeatureExtractors
 
N_HEAD - Static variable in class FeatureExtractors
 
N_HEAD_POS - Static variable in class FeatureExtractors
 
N_PARTIAL_PATH - Static variable in class FeatureExtractors
 
N_PATH - Static variable in class FeatureExtractors
 
N_PHRASE_TYPE - Static variable in class FeatureExtractors
 
N_POSITION - Static variable in class FeatureExtractors
 
N_SENT - Variable in class RoleLabeler
 
name - Variable in class se.lth.cs.nlp.nlputils.framenet.FrameElement
The name of the FE.
NativeLibSVMClassifier - Class in se.lth.cs.nlp.nlputils.ml.glue
 
NativeLibSVMClassifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.NativeLibSVMClassifier
 
nCorrect - Variable in class se.lth.cs.nlp.nlputils.annotations.CompareResult
 
NegatedComparator<T> - Class in se.lth.cs.nlp.nlputils.core
A reversal of a given comparator.
NegatedComparator(Comparator<T>) - Constructor for class se.lth.cs.nlp.nlputils.core.NegatedComparator
 
NESTING_ORDER - Static variable in class se.lth.cs.nlp.nlputils.annotations.Span
A comparator that can be used to sort span according to nesting order.
nextSibling(Node) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Returns the next non-text sibling of the node.
nInGold - Variable in class se.lth.cs.nlp.nlputils.annotations.CompareResult
 
nn_classifier - Variable in class RoleLabeler
 
nn_enc_name - Static variable in class RoleLabeler
 
nn_model_name - Static variable in class RoleLabeler
 
Node - Class in se.lth.cs.nlp.nlputils.pstree
A node in a phrase structure tree.
Node() - Constructor for class se.lth.cs.nlp.nlputils.pstree.Node
 
NODE_EXTRACTOR - Static variable in class FeatureExtractors
 
nodes - Variable in class se.lth.cs.nlp.nlputils.deptree.DepGraph
The array of nodes.
nodes - Variable in class se.lth.cs.nlp.nlputils.pstree.PSTree
The nodes.
NonterminalNode - Class in se.lth.cs.nlp.nlputils.pstree
Non-terminal node in a phrase structure tree.
NonterminalNode() - Constructor for class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
normalize(String) - Static method in class Aux
 
nPartialMatches - Variable in class se.lth.cs.nlp.nlputils.annotations.CompareResult
 
nPredicted - Variable in class se.lth.cs.nlp.nlputils.annotations.CompareResult
 
nr_class - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
nr_weight - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
nSV - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
nu - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
NU_SVC - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
NU_SVR - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
NULL - Static variable in class se.lth.cs.nlp.nlputils.ml.MLConstants
This string signifies the empty set for a set-valued feature.
NumericEncoding - Class in se.lth.cs.nlp.nlputils.ml
Mapping from symbolic feature values to numeric values.
NumericEncoding(int, HashMap<String, Integer>[], HashMap<String, Integer>, int[], int[]) - Constructor for class se.lth.cs.nlp.nlputils.ml.NumericEncoding
 

O

ONE_CLASS - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
OptimizeScores - Class in se.lth.cs.nlp.nlputils.optimization
 
OptimizeScores() - Constructor for class se.lth.cs.nlp.nlputils.optimization.OptimizeScores
 
overlaps(Node) - Method in class se.lth.cs.nlp.nlputils.pstree.Node
Returns true if the spans of the nodes overlap.

P

p - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
P_ALL_FES - Static variable in class FeatureExtractors
 
P_FES - Static variable in class FeatureExtractors
 
P_FRAME - Static variable in class FeatureExtractors
 
P_PHRASE_TYPE - Static variable in class FeatureExtractors
 
P_PRED_POS - Static variable in class FeatureExtractors
 
P_PRED_POS_FN - Static variable in class FeatureExtractors
 
P_SUBCAT - Static variable in class FeatureExtractors
 
P_TARGET_LEMMA - Static variable in class FeatureExtractors
 
P_VOICE - Static variable in class FeatureExtractors
 
Pair<T1,T2> - Class in se.lth.cs.nlp.nlputils.core
A pair consisting of a left and a right element.
Pair(T1, T2) - Constructor for class se.lth.cs.nlp.nlputils.core.Pair
Constructs a Pair of the two given arguments.
PairwiseClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml
Multiclass classifier by applying a binary classifier for each pair of classes.
PairwiseClassifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.PairwiseClassifier
 
param - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
parent - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The parent of this node.
parent - Variable in class se.lth.cs.nlp.nlputils.pstree.Node
Parent node.
parse(String[][][]) - Static method in class Aux
 
pennTree(String) - Static method in class se.lth.cs.nlp.nlputils.pstree.PSTree
Creates a parse tree from a string containing a tree in the Penn Treebank format.
pennTreeWithLemmas(String) - Static method in class se.lth.cs.nlp.nlputils.pstree.PSTree
Creates a parse tree from a string containing a tree in the Penn Treebank format with lemmas.
POLY - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
pos - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The part of speech.
pos - Variable in class se.lth.cs.nlp.nlputils.pstree.TokenNode
The part of speech.
posFine - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The "fine" part-of-speech (in CoNLL-X terminology).
position - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The position of this node in the dependency graph.
position - Variable in class se.lth.cs.nlp.nlputils.pstree.TokenNode
The position in the sentence.
poss - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
PP_PROCESSING - Static variable in class TreeFeatures
 
PRED_EXTRACTOR - Static variable in class FeatureExtractors
 
Predicate<T> - Class in se.lth.cs.nlp.nlputils.core
A callable one-argument predicate.
Predicate() - Constructor for class se.lth.cs.nlp.nlputils.core.Predicate
Initiates the predicate.
Predicate(Object) - Constructor for class se.lth.cs.nlp.nlputils.core.Predicate
Initiates the predicate with a parameter.
previousSibling(Node) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Returns the previous non-text sibling of the node.
print() - Method in class se.lth.cs.nlp.nlputils.deptree.DepGraph
Prints the graph to stdout.
print(PrintWriter) - Method in class se.lth.cs.nlp.nlputils.deptree.DepGraph
Prints the graph to a writer.
printDetailed(String) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
Detailed printout.
printLayers(PrintWriter, String, List<AnnotationLayer>) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationType
Prints a list of layers on a text to a PrintWriter using the format of the inheriting AnnotationType.
printLayers(PrintWriter, AnnotatedText) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationType
Prints an AnnotatedText to a PrintWriter using the format of the inheriting AnnotationType.
printLayers(OutputStream, String, List<AnnotationLayer>) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationType
Prints a list of layers on a text to an OutputStream using the format of the inheriting AnnotationType.
printLayers(OutputStream, AnnotatedText) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationType
Prints an AnnotatedText to an OutputStream using the format of the inheriting AnnotationType.
printLayers(OutputStream, String, List<AnnotationLayer>) - Method in class se.lth.cs.nlp.nlputils.annotations.RawXMLAnnotation
Prints a list of annotation layers on a text to an output stream.
printStats() - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
 
probA - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
probability - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
ProbabilityClassifier<T> - Class in se.lth.cs.nlp.nlputils.ml
A classifier that can compute posterior class probabilities.
ProbabilityClassifier() - Constructor for class se.lth.cs.nlp.nlputils.ml.ProbabilityClassifier
 
probB - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
Procedure<T> - Class in se.lth.cs.nlp.nlputils.core
A callable one-argument procedure.
Procedure() - Constructor for class se.lth.cs.nlp.nlputils.core.Procedure
Initiates the procedure.
Procedure(Object) - Constructor for class se.lth.cs.nlp.nlputils.core.Procedure
Initiates the procedure with a parameter.
ProcessedFNAnnotation - Class in se.lth.cs.nlp.nlputils.annotations
An AnnotationType for the simplified FrameNet annotation.
properties - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
properties - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
Properties.
pruneTree(PSTree, TokenNode) - Method in class RoleLabeler
 
PSTree - Class in se.lth.cs.nlp.nlputils.pstree
A phrase structure tree.
PSTree() - Constructor for class se.lth.cs.nlp.nlputils.pstree.PSTree
 
put(K, V) - Method in class se.lth.cs.nlp.nlputils.core.ListHash
Adds value to the association list of key.

Q

QMatrix - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
QMatrix() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.QMatrix
 

R

RawXMLAnnotation - Class in se.lth.cs.nlp.nlputils.annotations
This AnnotationType implements functionality to handle classical nested XML annotations.
RBF - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
readDocument(InputSource) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Reads a document.
readDocument(InputStream) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Reads a document.
readNextGraph(BufferedReader) - Static method in class se.lth.cs.nlp.nlputils.deptree.ImportCoNLLFormat
Reads a dependency graph from a reader.
relation - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The relation of this node to its parent.
removeEmptySpans() - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
Removes all empty spans from the layer.
removeTrailingPunctuation(String[], AnnotationLayer) - Method in class RoleLabeler
 
replaceChildByName(Node, String, Node, String[]) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Replaces a child node.
rho - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm.decision_function
 
rho - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
right - Variable in class se.lth.cs.nlp.nlputils.core.Pair
The right element.
role_classifier - Variable in class RoleLabeler
 
role_enc_name - Static variable in class RoleLabeler
 
role_model_name - Static variable in class RoleLabeler
 
RoleLabeler - Class in <Unnamed>
 
RoleLabeler() - Constructor for class RoleLabeler
 

S

se.lth.cs.nlp.nlputils.alignment - package se.lth.cs.nlp.nlputils.alignment
A library representing a word alignment (for example produced by GIZA++).
se.lth.cs.nlp.nlputils.annotations - package se.lth.cs.nlp.nlputils.annotations
Annotation layers.
se.lth.cs.nlp.nlputils.core - package se.lth.cs.nlp.nlputils.core
Auxiliary classes used by all libraries.
se.lth.cs.nlp.nlputils.deptree - package se.lth.cs.nlp.nlputils.deptree
Dependency trees.
se.lth.cs.nlp.nlputils.framenet - package se.lth.cs.nlp.nlputils.framenet
A library that handles the FrameNet database.
se.lth.cs.nlp.nlputils.ml - package se.lth.cs.nlp.nlputils.ml
Machine learning library.
se.lth.cs.nlp.nlputils.ml.glue - package se.lth.cs.nlp.nlputils.ml.glue
Glue code to integrate some external machine learning libraries.
se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm - package se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
A somewhat extended version of a part of LibSVM-2.8.
se.lth.cs.nlp.nlputils.optimization - package se.lth.cs.nlp.nlputils.optimization
A library for some optimization tasks.
se.lth.cs.nlp.nlputils.pstree - package se.lth.cs.nlp.nlputils.pstree
Phrase structure trees.
second - Variable in class se.lth.cs.nlp.nlputils.core.Triple
 
secondLabel - Variable in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
SET_SEPARATOR - Static variable in class se.lth.cs.nlp.nlputils.ml.MLConstants
This character is used to separate members in a set-valued feature.
setFeature(String, String) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
Sets the value of a feature given by name.
setFeature(int, String) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
Sets the value of a feature given by index.
setFeatureExtractor(FeatureExtractor<ItemType>, FeatureList) - Method in class se.lth.cs.nlp.nlputils.ml.Classifier
Sets the feature extractor of this classifier.
setHeads() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
 
setHeads() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
Uses the head rules described in Collins' thesis to find the heads of the nodes.
setHeadsSwedish() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
 
setHeadsSwedish() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
setProperty(String, Object) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
Sets a property of the annotated text.
shortName - Variable in class se.lth.cs.nlp.nlputils.framenet.FrameElement
The short name of the FE.
shrinking - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
SIGMOID - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
simpleDisambiguation(List<String>, Collection<String>) - Method in class se.lth.cs.nlp.nlputils.framenet.FrameNet
Returns the set of possible frames, given a set of assigned FEs.
size() - Method in class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Returns the number of active features in this feature set.
Span - Class in se.lth.cs.nlp.nlputils.annotations
A span, that is a contiguous piece of text.
Span() - Constructor for class se.lth.cs.nlp.nlputils.annotations.Span
 
span() - Method in class se.lth.cs.nlp.nlputils.pstree.Node
Returns the span of the node, that is the index of the leftmost dependent token and the index of the rightmost dependent token + 1.
span() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
span() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
spans - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
 
start - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
The start of the span, inclusive.
start - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
SUBSET - Static variable in class FeatureExtractors
 
subset(Collection<String>) - Method in class se.lth.cs.nlp.nlputils.ml.FeatureDeclaration
Returns a FeatureDeclaration that is a subset of this declaration.
subtree - Variable in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
SV - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
sv_coef - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
svm - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
svm() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm.decision_function - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
svm.decision_function() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm.decision_function
 
svm_check_probability_model(svm_model) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_get_labels(svm_model, int[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_get_nr_class(svm_model) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_get_svm_type(svm_model) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_load_model(String) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_load_model(InputStream) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_model - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
svm_model() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_model
 
svm_node - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
svm_node() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_node
 
svm_parameter - Class in se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
 
svm_parameter() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
svm_predict(svm_model, svm_node[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_predict_probability(svm_model, svm_node[], double[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_predict_restricted(svm_model, svm_node[], int[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_predict_values(svm_model, svm_node[], double[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_save_model(String, svm_model) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
svm_type - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
svm_type_table - Static variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm
 
swap_index(int, int) - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
 
swap_index(int, int) - Method in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.QMatrix
 

T

tabbedOutput() - Method in class se.lth.cs.nlp.nlputils.pstree.PSTree
Returns an indented string representing this tree.
tagTokens(String[][][]) - Static method in class Aux
 
test() - Method in class RoleLabeler
 
text - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
third - Variable in class se.lth.cs.nlp.nlputils.core.Triple
 
tmpHeadToken - Variable in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
toColoredHTML() - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
Returns an HTML representation of the layers, which can be used to present the text in a JEditorPane.
toColoredHTML(String) - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
Returns an HTML representation of the layer.
tokenEnd - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
The end of the span as counted in tokens, exclusive.
tokenize(String) - Static method in class Aux
 
TokenNode - Class in se.lth.cs.nlp.nlputils.pstree
A terminal node in a phrase structure tree.
TokenNode() - Constructor for class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
tokens - Variable in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
tokens - Variable in class se.lth.cs.nlp.nlputils.pstree.PSTree
The tokens.
tokenStart - Variable in class se.lth.cs.nlp.nlputils.annotations.Span
The start of the span as counted in tokens, inclusive.
topnode - Variable in class se.lth.cs.nlp.nlputils.pstree.PSTree
The top node.
toString() - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotatedText
 
toString() - Method in class se.lth.cs.nlp.nlputils.annotations.AnnotationLayer
 
toString() - Method in class se.lth.cs.nlp.nlputils.annotations.CompareResult
 
toString() - Method in class se.lth.cs.nlp.nlputils.annotations.Span
 
toString() - Method in class se.lth.cs.nlp.nlputils.core.Pair
 
toString() - Method in class se.lth.cs.nlp.nlputils.deptree.DepNode
 
toString() - Method in class se.lth.cs.nlp.nlputils.framenet.FrameElement
 
toString() - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
 
toString() - Method in class se.lth.cs.nlp.nlputils.pstree.NonterminalNode
 
toString() - Method in class se.lth.cs.nlp.nlputils.pstree.PSTree
 
toString() - Method in class se.lth.cs.nlp.nlputils.pstree.TokenNode
 
totalResult - Variable in class RoleLabeler
 
totalUnlabeledResult - Variable in class RoleLabeler
 
toTrainingString() - Method in class se.lth.cs.nlp.nlputils.ml.FeatureList
Returns a string that can be used to create training sets with the NumericEncoding.
train(String, String) - Method in class RoleLabeler
 
trainClassifier(String, String[]) - Static method in class se.lth.cs.nlp.nlputils.ml.glue.WekaInterface
 
TreeFeatures - Class in <Unnamed>
 
treeToString(Document, String) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Returns a string containing the XML printout of a document.
treeToString(Document) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
 
Triple<T1,T2,T3> - Class in se.lth.cs.nlp.nlputils.core
A triple consisting of three elements.
Triple(T1, T2, T3) - Constructor for class se.lth.cs.nlp.nlputils.core.Triple
 
TRUE - Static variable in class se.lth.cs.nlp.nlputils.core.Predicate
A predicate that always returns true.

U

USE_NATIVE - Static variable in class RoleLabeler
 
USE_ROLE_CLASSIFIER - Static variable in class RoleLabeler
 

V

validate(Document) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Validates a document against its DTD.
value - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_node
 

W

weight - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
weight_label - Variable in class se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.svm_parameter
 
WekaInterface - Class in se.lth.cs.nlp.nlputils.ml.glue
 
WekaInterface() - Constructor for class se.lth.cs.nlp.nlputils.ml.glue.WekaInterface
 
word - Variable in class se.lth.cs.nlp.nlputils.deptree.DepNode
The word.
word - Variable in class se.lth.cs.nlp.nlputils.pstree.TokenNode
The word.
writeDocument(Document, StreamResult) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
 
writeDocument(Document, OutputStream) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
 

X

XMLBytesToDocument(byte[]) - Static method in class se.lth.cs.nlp.nlputils.core.DOMUtils
Converts the byte array to a Document, taking the declared XML character encoding into account.

A B C D E F G H I K L M N O P Q R S T U V W X