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

A

ABSOLUTE - Static variable in class LBJ2.learn.Lexicon.PruningPolicy
Represents pruning with an absolute threshold.
Ac - Variable in class LBJ2.infer.ZeroOneILPProblem
Half of a sparse matrix representation of the constraints; this half contains the coefficients on the variables whose indexes appear in ZeroOneILPProblem.Av.
Accuracy - Class in LBJ2.learn
Returns the accuracy of a discrete classifier with respect to the oracle as the fraction of examples for which its prediction was correct.
Accuracy() - Constructor for class LBJ2.learn.Accuracy
Creates an Accuracy testing metric that does not print a table of results.
Accuracy(boolean) - Constructor for class LBJ2.learn.Accuracy
Creates an Accuracy testing metric that prints a table of results if requested.
AdaBoost - Class in LBJ2.learn
Implementation of the AdaBoost binary classification learning algorithm.
AdaBoost() - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(Learner) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(int) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(Learner, int) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(AdaBoost.Parameters) - Constructor for class LBJ2.learn.AdaBoost
Initializing constructor.
AdaBoost(String) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(String, Learner) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(String, int) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(String, Learner, int) - Constructor for class LBJ2.learn.AdaBoost
Instantiates member variables.
AdaBoost(String, AdaBoost.Parameters) - Constructor for class LBJ2.learn.AdaBoost
Initializing constructor.
AdaBoost.Parameters - Class in LBJ2.learn
A container for all of AdaBoost's configurable parameters.
AdaBoost.Parameters() - Constructor for class LBJ2.learn.AdaBoost.Parameters
Sets all the default values.
AdaBoost.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.AdaBoost.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
AdaBoost.Parameters(AdaBoost.Parameters) - Constructor for class LBJ2.learn.AdaBoost.Parameters
Copy constructor.
add(FirstOrderConstraint) - Method in class LBJ2.infer.FirstOrderConjunction
If the given constraint has the same type as this constraint, its terms are merged into this constraint; otherwise, it is added as a new term.
add(FirstOrderConstraint) - Method in class LBJ2.infer.FirstOrderDisjunction
If the given constraint has the same type as this constraint, its terms are merged into this constraint; otherwise, it is added as a new term.
add(FirstOrderConstraint) - Method in class LBJ2.infer.FirstOrderNAryConstraint
If the given constraint has the same type as this constraint, its terms are merged into this constraint; otherwise, it is added as a new term.
add(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalConjunction
If the given constraint has the same type as this constraint, its terms are merged into this constraint; otherwise, it is added as a new term.
add(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalDisjunction
If the given constraint has the same type as this constraint, its terms are merged into this constraint; otherwise, it is added as a new term.
add(LinkedChild) - Method in class LBJ2.parse.LinkedVector
Adds the specified child to the end of the vector, informing the child of its parent and index and linking the child to its only neighbor (which was previously the last child in the vector).
add(double) - Method in class LBJ2.util.DVector
Adds the specified value on to the end of the vector, expanding its capacity as necessary.
add(Feature) - Method in class LBJ2.util.FVector
Adds the specified value on to the end of the vector, expanding its capacity as necessary.
add(int) - Method in class LBJ2.util.IVector
Adds the specified value on to the end of the vector, expanding its capacity as necessary.
add(Object) - Method in class LBJ2.util.OVector
Adds the specified value on to the end of the vector, expanding its capacity as necessary.
addAll(SentenceSplitter) - Method in class LBJ2.nlp.NLDocument
Adds all the sentences that come from the argument sentence splitter to this document after using a word splitter to chop them up.
addAll(DVector) - Method in class LBJ2.util.DVector
Adds all the values in the given vector to the end of this vector, expanding its capacity as necessary.
addAll(FVector) - Method in class LBJ2.util.FVector
Adds all the values in the given vector to the end of this vector, expanding its capacity as necessary.
addAll(IVector) - Method in class LBJ2.util.IVector
Adds all the values in the given vector to the end of this vector, expanding its capacity as necessary.
addAll(OVector) - Method in class LBJ2.util.OVector
Adds all the values in the given vector to the end of this vector, expanding its capacity as necessary.
addBooleanVariable(double) - Method in class LBJ2.infer.GurobiHook
Adds a new Boolean variable (an integer variable constrained to take either the value 0 or the value 1) with the specified coefficient in the objective function to the problem.
addBooleanVariable(double) - Method in interface LBJ2.infer.ILPSolver
Adds a new Boolean variable (an integer variable constrained to take either the value 0 or the value 1) with the specified coefficient in the objective function to the problem.
addBooleanVariable(double) - Method in class LBJ2.infer.XpressMPHook
Adds a new Boolean variable (an integer variable constrained to take either the value 0 or the value 1) with the specified coefficient in the objective function to the problem.
addBooleanVariable(double) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a new Boolean variable (an integer variable constrained to take either the value 0 or the value 1) with the specified coefficient in the objective function to the problem.
addBooleanVariable(double) - Method in class LBJ2.jni.GLPKHook
Adds a new Boolean variable (an integer variable constrained to take either the value 0 or the value 1) with the specified coefficient in the objective function to the problem.
addConstraint(int[], double[], int, double) - Method in class LBJ2.infer.BalasHook
Simply overrides ZeroOneILPProblem.addConstraint(int[],double[],int,double) so that it calls ZeroOneILPProblem.addConstraint(int[],double[],double) thereby ignoring the constraint's type.
addConstraint(FirstOrderConstraint) - Method in class LBJ2.infer.GLPK
Deprecated. Adds a constraint to the inference.
addConstraint(int[], double[], double, char) - Method in class LBJ2.infer.GurobiHook
Adds a new constraint to the problem with the specified type.
addConstraint(FirstOrderConstraint) - Method in class LBJ2.infer.ILPInference
Adds a constraint to the inference.
addConstraint(int[], double[], double, int) - Method in class LBJ2.infer.XpressMPHook
Adds a new constraint to the problem with the specified type.
addConstraint(int[], double[], double) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a typeless constraint to the problem.
addConstraint(int[], double[], int, double) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a new constraint of the specified type to the problem.
addDiscreteVariable(double[]) - Method in class LBJ2.infer.GurobiHook
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(Score[]) - Method in class LBJ2.infer.GurobiHook
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(double[]) - Method in interface LBJ2.infer.ILPSolver
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(Score[]) - Method in interface LBJ2.infer.ILPSolver
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(double[]) - Method in class LBJ2.infer.XpressMPHook
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(Score[]) - Method in class LBJ2.infer.XpressMPHook
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(double[]) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(Score[]) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(double[]) - Method in class LBJ2.jni.GLPKHook
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addDiscreteVariable(Score[]) - Method in class LBJ2.jni.GLPKHook
Adds a general, multi-valued discrete variable, which is implemented as a set of Boolean variables, one per value of the discrete variable, with exactly one of those variables set true at any given time.
addEqualityConstraint(int[], double[], double) - Method in class LBJ2.infer.BalasHook
Adds a new fixed constraint to the problem.
addEqualityConstraint(int[], double[], double) - Method in class LBJ2.infer.GurobiHook
Adds a new fixed constraint to the problem.
addEqualityConstraint(int[], double[], double) - Method in interface LBJ2.infer.ILPSolver
Adds a new fixed constraint to the problem.
addEqualityConstraint(int[], double[], double) - Method in class LBJ2.infer.XpressMPHook
Adds a new fixed constraint to the problem.
addEqualityConstraint(int[], double[], double) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a new fixed constraint to the problem.
addEqualityConstraint(int[], double[], double) - Method in class LBJ2.jni.GLPKHook
Adds a new fixed constraint to the problem.
addFeature(Feature) - Method in class LBJ2.classify.FeatureVector
Adds a feature to the vector.
addFeatures(FeatureVector) - Method in class LBJ2.classify.FeatureVector
Adds all the features in another vector to this vector.
addFixedConstraint(int[], double[], double) - Method in class LBJ2.jni.GLPKHook
Adds a new fixed constraint to the problem.
addGreaterThanConstraint(int[], double[], double) - Method in class LBJ2.infer.BalasHook
Adds a new lower bounded constraint to the problem.
addGreaterThanConstraint(int[], double[], double) - Method in class LBJ2.infer.GurobiHook
Adds a new lower bounded constraint to the problem.
addGreaterThanConstraint(int[], double[], double) - Method in interface LBJ2.infer.ILPSolver
Adds a new lower bounded constraint to the problem.
addGreaterThanConstraint(int[], double[], double) - Method in class LBJ2.infer.XpressMPHook
Adds a new lower bounded constraint to the problem.
addGreaterThanConstraint(int[], double[], double) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a new lower bounded constraint to the problem.
addGreaterThanConstraint(int[], double[], double) - Method in class LBJ2.jni.GLPKHook
Adds a new lower bounded constraint to the problem.
addLabel(Feature) - Method in class LBJ2.classify.FeatureVector
Adds a label to the vector.
addLabels(FeatureVector) - Method in class LBJ2.classify.FeatureVector
Adds all the features in another vector (but not the labels in that vector) to the labels of this vector.
addLessThanConstraint(int[], double[], double) - Method in class LBJ2.infer.BalasHook
Adds a new upper bounded constraint to the problem.
addLessThanConstraint(int[], double[], double) - Method in class LBJ2.infer.GurobiHook
Adds a new upper bounded constraint to the problem.
addLessThanConstraint(int[], double[], double) - Method in interface LBJ2.infer.ILPSolver
Adds a new upper bounded constraint to the problem.
addLessThanConstraint(int[], double[], double) - Method in class LBJ2.infer.XpressMPHook
Adds a new upper bounded constraint to the problem.
addLessThanConstraint(int[], double[], double) - Method in class LBJ2.infer.ZeroOneILPProblem
Adds a new upper bounded constraint to the problem.
addLessThanConstraint(int[], double[], double) - Method in class LBJ2.jni.GLPKHook
Adds a new upper bounded constraint to the problem.
addLowerBoundedConstraint(int[], double[], double) - Method in class LBJ2.jni.GLPKHook
Adds a new lower bounded constraint to the problem.
addNull(String) - Method in class LBJ2.classify.TestDiscrete
Adds a label to the set of "null" labels.
addObjectiveCoefficient(double) - Method in class LBJ2.jni.GLPKHook
Adds a new Boolean variable (an integer variable constrained to take either the value 0 or the value 1) with the specified coefficient in the objective function to the problem.
addUpperBoundedConstraint(int[], double[], double) - Method in class LBJ2.jni.GLPKHook
Adds a new upper bounded constraint to the problem.
Affixes - Class in LBJ2.nlp
This class implements a classifier that takes a Word as input and generates features representing the prefixes and suffixes of the input word.
Affixes() - Constructor for class LBJ2.nlp.Affixes
 
allExamples - Variable in class LBJ2.learn.AdaBoost
All the examples observed by this learner during training.
allExamples - Variable in class LBJ2.learn.SupportVectorMachine
The array of example vectors.
allLabels - Variable in class LBJ2.learn.SupportVectorMachine
The array of example labels
allowableValues() - Method in class LBJ2.classify.Classifier
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues() - Method in class LBJ2.classify.ValueComparer
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues() - Method in class LBJ2.infer.ParameterizedConstraint
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues - Variable in class LBJ2.learn.AdaBoost
The label producing classifier's allowable values.
allowableValues() - Method in class LBJ2.learn.AdaBoost
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues - Variable in class LBJ2.learn.LinearThresholdUnit
The label producing classifier's allowable values.
allowableValues() - Method in class LBJ2.learn.LinearThresholdUnit
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues - Variable in class LBJ2.learn.SupportVectorMachine
The label producing classifier's allowable values.
allowableValues() - Method in class LBJ2.learn.SupportVectorMachine
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues - Variable in class LBJ2.learn.WekaWrapper
The label producing classifier's allowable values.
allowableValues() - Method in class LBJ2.learn.WekaWrapper
Returns the array of allowable values that a feature returned by this classifier may take.
allowableValues() - Method in class LBJ2.nlp.Capitalization
 
allowableValues() - Method in class LBJ2.nlp.WordTypeInformation
 
alpha - Variable in class LBJ2.learn.AdaBoost
Parameters associated with the trained copies of the weak learner.
alpha - Variable in class LBJ2.learn.Sigmoid
The user-specified constant described above.
alpha - Variable in class LBJ2.learn.Softmax
The user-specified constant described above.
append(String) - Method in class LBJ2.util.ByteString
Appends the encoding of the given string onto the existing encoding in this object.
append(String[]) - Method in class LBJ2.util.ByteString
Appends the encodings of all the given strings onto the existing encoding in this object.
append(ByteString) - Method in class LBJ2.util.ByteString
Appends the string represented by the given byte string onto the existing content in this object.
append(ByteString[]) - Method in class LBJ2.util.ByteString
Appends the strings represented by the given byte strings onto the existing content in this object.
ArgumentReplacer - Class in LBJ2.infer
Anonymous inner classes extending this class are instantiated by the code generated by the LBJ compiler when creating FirstOrderConstraint representations.
ArgumentReplacer(Object[]) - Constructor for class LBJ2.infer.ArgumentReplacer
Initializing constructor.
ArrayFileParser - Class in LBJ2.parse
This parser returns an array of arrays representing each example.
ArrayFileParser(String) - Constructor for class LBJ2.parse.ArrayFileParser
Initializes the parser with a file name assuming the input stream is not zipped.
ArrayFileParser(String, boolean) - Constructor for class LBJ2.parse.ArrayFileParser
Initializes the parser with a file name, specifying whether the data is zipped.
ArrayFileParser(byte[]) - Constructor for class LBJ2.parse.ArrayFileParser
Initializes the parser with a data array assuming the input stream is not zipped.
ArrayFileParser(byte[], boolean) - Constructor for class LBJ2.parse.ArrayFileParser
Initializes the parser with a data array, specifying whether the data is zipped.
arrayIndex - Variable in class LBJ2.classify.DiscreteArrayFeature
The feature's index in the returned array it is contained in.
arrayIndex - Variable in class LBJ2.classify.DiscreteArrayStringFeature
The feature's index in the returned array it is contained in.
arrayIndex - Variable in class LBJ2.classify.RealArrayFeature
The feature's index in the returned array it is contained in.
arrayIndex - Variable in class LBJ2.classify.RealArrayStringFeature
The feature's index in the returned array it is contained in.
arrayLength - Variable in class LBJ2.classify.DiscreteArrayFeature
The size of the returned array this feature is contained in.
arrayLength - Variable in class LBJ2.classify.DiscreteArrayStringFeature
The size of the returned array this feature is contained in.
arrayLength - Variable in class LBJ2.classify.RealArrayFeature
The size of the returned array this feature is contained in.
arrayLength - Variable in class LBJ2.classify.RealArrayStringFeature
The size of the returned array this feature is contained in.
ArrayParser - Class in LBJ2.parse
This parser returns the example objects in an array one at a time.
ArrayParser() - Constructor for class LBJ2.parse.ArrayParser
Initializes the parser with an empty example array.
ArrayParser(Object[]) - Constructor for class LBJ2.parse.ArrayParser
Creates the parser with the supplied example array.
arrayToString(byte[]) - Static method in class LBJ2.infer.XpressMPHook
Generates a string representation of the given array.
arrayToString(int[]) - Static method in class LBJ2.infer.XpressMPHook
Generates a string representation of the given array.
arrayToString(double[]) - Static method in class LBJ2.infer.XpressMPHook
Generates a string representation of the given array.
asciiTableFormat(int, int, int, int, String[], String[], Double[][], int[], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
AtLeastQuantifier - Class in LBJ2.infer
An "at least" quantifier states that the constraint must hold for at least m of the objects in the collection.
AtLeastQuantifier(String, Collection, FirstOrderConstraint, int) - Constructor for class LBJ2.infer.AtLeastQuantifier
Initializing constructor.
AtLeastQuantifier(String, Collection, FirstOrderConstraint, int, QuantifierArgumentReplacer) - Constructor for class LBJ2.infer.AtLeastQuantifier
This constructor specifies a variable setter for when this quantifier is itself quantified.
AtMostQuantifier - Class in LBJ2.infer
An "at most" quantifier states that the constraint must hold for no more than m of the objects in the collection.
AtMostQuantifier(String, Collection, FirstOrderConstraint, int) - Constructor for class LBJ2.infer.AtMostQuantifier
Initializing constructor.
AtMostQuantifier(String, Collection, FirstOrderConstraint, int, QuantifierArgumentReplacer) - Constructor for class LBJ2.infer.AtMostQuantifier
This constructor specifies a variable setter for when this quantifier is itself quantified.
attributeInfo - Variable in class LBJ2.learn.WekaWrapper
Information about the features this learner takes as input is parsed from an attribute string and stored here.
attributeString - Variable in class LBJ2.learn.WekaWrapper
A string encoding of the attributes used by this learner.
attributeString - Variable in class LBJ2.learn.WekaWrapper.Parameters
A string encoding of the return types of each of the feature extractors in use; default WekaWrapper.defaultAttributeString.
Av - Variable in class LBJ2.infer.ZeroOneILPProblem
Half of a sparse matrix representation of the constraints; this half contains the variable indexes corresponding to the coefficients in ZeroOneILPProblem.Ac.
averagedBias - Variable in class LBJ2.learn.SparseAveragedPerceptron
Keeps the extra information necessary to compute the averaged bias.
averagedWeights - Variable in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Together with SparseWeightVector.weights, this vector provides enough information to reconstruct the average of all weight vectors arrived at during the course of learning.
awv - Variable in class LBJ2.learn.SparseAveragedPerceptron
Holds the same reference as LinearThresholdUnit.weightVector casted to SparseAveragedPerceptron.AveragedWeightVector.

B

BalasHook - Class in LBJ2.infer
This ILPSolver implements Egon Balas' zero-one ILP solving algorithm.
BalasHook() - Constructor for class LBJ2.infer.BalasHook
Default constructor.
BalasHook(int) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver with the specified verbosity.
BalasHook(boolean) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver that halts at the first feasible solution found, if the parameter to this constructor is true.
BalasHook(boolean, int) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver that halts at the first feasible solution found, if the first parameter to this constructor is true.
BalasHook(String) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver with the problem represented in the named file loaded and ready to solve.
BalasHook(String, boolean) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver with the problem represented in the named file loaded and ready to solve.
BalasHook(String, int) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver with the problem represented in the named file loaded and ready to solve.
BalasHook(String, boolean, int) - Constructor for class LBJ2.infer.BalasHook
Creates a new ILP solver with the problem represented in the named file loaded and ready to solve.
baseClassifier - Variable in class LBJ2.learn.WekaWrapper
Stores the instance of the WEKA classifier which we are training; default is weka.classifiers.bayes.NaiveBayes.
baseClassifier - Variable in class LBJ2.learn.WekaWrapper.Parameters
Stores the instance of the WEKA classifier which we are training; default WekaWrapper.defaultBaseClassifier.
baseLearner - Variable in class LBJ2.learn.MuxLearner
Instances of this learning algorithm will be multiplexed; default null.
baseLearner - Variable in class LBJ2.learn.MuxLearner.Parameters
Instances of this learning algorithm will be multiplexed; default null.
baseLTU - Variable in class LBJ2.learn.SparseNetworkLearner
The underlying algorithm used to learn each class separately as a binary classifier; default SparseNetworkLearner.defaultBaseLTU.
baseLTU - Variable in class LBJ2.learn.SparseNetworkLearner.Parameters
The underlying algorithm used to learn each class separately as a binary classifier; default SparseNetworkLearner.defaultBaseLTU.
BatchTrainer - Class in LBJ2.learn
Use this class to batch train a Learner.
BatchTrainer(Learner, String) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that doesn't produce status messages.
BatchTrainer(Learner, String, int) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that produces status messages.
BatchTrainer(Learner, String, int, String) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that produces status messages with the specified indentation spacing for status messages.
BatchTrainer(Learner, String, boolean) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that doesn't produce status messages.
BatchTrainer(Learner, String, boolean, int) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that produces status messages.
BatchTrainer(Learner, String, boolean, int, String) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that produces status messages with the specified indentation spacing for status messages.
BatchTrainer(Learner, Parser) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that doesn't produce status messages.
BatchTrainer(Learner, Parser, int) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that produces status messages.
BatchTrainer(Learner, Parser, int, String) - Constructor for class LBJ2.learn.BatchTrainer
Creates a new trainer that produces status messages with the specified indentation spacing for status messages.
BatchTrainer.DoneWithRound - Interface in LBJ2.learn
Provides access to a hook into BatchTrainer.train(int) so that additional processing can be performed at the end of each round.
beta - Variable in class LBJ2.learn.BinaryMIRA
The user supplied learning algorithm parameter; default BinaryMIRA.defaultBeta.
beta - Variable in class LBJ2.learn.BinaryMIRA.Parameters
The user supplied learning algorithm parameter; default BinaryMIRA.defaultBeta.
beta - Variable in class LBJ2.learn.SparseWinnow
The rate at which weights are demoted; default equal to 1 / LinearThresholdUnit.learningRate.
beta - Variable in class LBJ2.learn.SparseWinnow.Parameters
The rate at which weights are demoted; default equal to 1 / LinearThresholdUnit.learningRate.
bias - Variable in class LBJ2.learn.BiasedRandomWeightVector
The current bias weight.
bias - Variable in class LBJ2.learn.BiasedWeightVector
The current bias weight.
bias - Variable in class LBJ2.learn.LinearThresholdUnit
The bias is stored here rather than as an element of the weight vector.
bias - Variable in class LBJ2.learn.StochasticGradientDescent
The bias is stored here rather than as an element of the weight vector.
bias - Variable in class LBJ2.learn.SupportVectorMachine
If SupportVectorMachine.bias >= 0, an instance vector x becomes [x; bias]; otherwise, if SupportVectorMachine.bias < 0, no bias term is added.
bias - Variable in class LBJ2.learn.SupportVectorMachine.Parameters
If SupportVectorMachine.bias >= 0, an instance vector x becomes [x; bias]; otherwise, if SupportVectorMachine.bias < 0, no bias term is added.
BiasedRandomWeightVector - Class in LBJ2.learn
Same as the RandomWeightVector class that it extends, except that this vector also contains a bias term (also initialized randomly) which is added to every dot product and affected by every vector addition operation.
BiasedRandomWeightVector() - Constructor for class LBJ2.learn.BiasedRandomWeightVector
Instantiates this biased vector with a random bias.
BiasedRandomWeightVector(double) - Constructor for class LBJ2.learn.BiasedRandomWeightVector
Sets the specified standard deviation and a random bias.
BiasedWeightVector - Class in LBJ2.learn
Same as the SparseWeightVector class that it extends, except that this vector also contains a bias term which is added to every dot product and affected by every vector addition operation.
BiasedWeightVector() - Constructor for class LBJ2.learn.BiasedWeightVector
Instantiates this biased vector with default parameter values.
BiasedWeightVector(double) - Constructor for class LBJ2.learn.BiasedWeightVector
Instantiates this biased vector with the specified initial bias.
biasFeatures - Variable in class LBJ2.learn.SupportVectorMachine
The number of bias features; there are either 0 or 1 of them.
BinaryMIRA - Class in LBJ2.learn
The Binary MIRA learning algorithm implementation.
BinaryMIRA() - Constructor for class LBJ2.learn.BinaryMIRA
The learning rate and beta take default values while the name of the classifier takes the empty string.
BinaryMIRA(double) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the learning rate to the specified value, and beta to the default, while the name of the classifier takes the empty string.
BinaryMIRA(double, double) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the learning rate and beta to the specified values, while the name of the classifier takes the empty string.
BinaryMIRA(double, double, SparseWeightVector) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the learning rate, beta and the weight vector to the specified values.
BinaryMIRA(BinaryMIRA.Parameters) - Constructor for class LBJ2.learn.BinaryMIRA
Initializing constructor.
BinaryMIRA(String) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the name of the classifier to the specified value, while the learning rate and beta take default values.
BinaryMIRA(String, double) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the name of the classifier and learning rate to the specified values, while beta takes the default value.
BinaryMIRA(String, double, double) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the name of the classifier, the learning rate and beta to the specified values.
BinaryMIRA(String, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.BinaryMIRA
Sets the name of the classifier, the learning rate, beta and the weight vector to the specified values.
BinaryMIRA(String, BinaryMIRA.Parameters) - Constructor for class LBJ2.learn.BinaryMIRA
Initializing constructor.
BinaryMIRA.Parameters - Class in LBJ2.learn
Simply a container for all of BinaryMIRA's configurable parameters.
BinaryMIRA.Parameters() - Constructor for class LBJ2.learn.BinaryMIRA.Parameters
Sets all the default values.
BinaryMIRA.Parameters(SparsePerceptron.Parameters) - Constructor for class LBJ2.learn.BinaryMIRA.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
BinaryMIRA.Parameters(BinaryMIRA.Parameters) - Constructor for class LBJ2.learn.BinaryMIRA.Parameters
Copy constructor.
binarySearch(double) - Method in class LBJ2.util.DVector
Searches this vector for the specified value using the binary search algorithm.
binarySearch(int, int) - Method in class LBJ2.util.DVector2D
Searches the selected row vector for the specified value using the binary search algorithm.
binarySearch(int) - Method in class LBJ2.util.IVector
Searches this vector for the specified value using the binary search algorithm.
binarySearch(int, int) - Method in class LBJ2.util.IVector2D
Searches the selected row vector for the specified value using the binary search algorithm.
BIOTester - Class in LBJ2.nlp.seg
This class may be used to produce a detailed report of the segment by segment performance of a given classifier on given labeled testing data.
BIOTester(Classifier, Classifier, Parser) - Constructor for class LBJ2.nlp.seg.BIOTester
Initializing constructor.
BooleanValues - Static variable in class LBJ2.classify.DiscreteFeature
Convient access to a common allowable value set.
boundary(int, Word, Word, Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the given punctuation represents the end of a sentence based on elements of the paragraph immediately surrounding the punctuation.
boundConstant - Variable in class LBJ2.infer.QuantifierArgumentReplacer
This flag is set if the bound parameter of an AtLeastQuantifier or an AtMostQuantifier is not quantified.
bounds - Variable in class LBJ2.infer.ZeroOneILPProblem
The vector of constraint bounds.
boundsCheck(int) - Method in class LBJ2.util.DVector
Throws an exception when the specified index is negative.
boundsCheck(int, int) - Method in class LBJ2.util.DVector2D
Throws an exception when either of the specified indexes are negative.
boundsCheck(int) - Method in class LBJ2.util.FVector
Throws an exception when the specified index is negative.
boundsCheck(int) - Method in class LBJ2.util.IVector
Throws an exception when the specified index is negative.
boundsCheck(int, int) - Method in class LBJ2.util.IVector2D
Throws an exception when either of the specified indexes are negative.
boundsCheck(int) - Method in class LBJ2.util.OVector
Throws an exception when the specified index is negative.
boundTypes - Variable in class LBJ2.infer.ZeroOneILPProblem
Contains the types of the constraints.
boundTypeSymbols - Static variable in class LBJ2.infer.ZeroOneILPProblem
Maps from the three constraint types to their operator symbols.
buffer - Variable in class LBJ2.util.ExceptionlessInputStream
This buffer is used internally by ExceptionlessInputStream.readUTF(int).
buffer - Variable in class LBJ2.util.ExceptionlessOutputStream
This buffer is used internally by ExceptionlessOutputStream.writeUTF(String).
ByteString - Class in LBJ2.util
Represents a String by directly storing an encoding of that String in an array of bytes.
ByteString(boolean) - Constructor for class LBJ2.util.ByteString
For internal use only.
ByteString() - Constructor for class LBJ2.util.ByteString
Creates an empty byte string.
ByteString(String) - Constructor for class LBJ2.util.ByteString
Creates a byte string by using the default encoding to encode the specified string.
ByteString(String, String) - Constructor for class LBJ2.util.ByteString
Creates a byte string by using the specified encoding to encode the specified string.
ByteString(ByteString, String) - Constructor for class LBJ2.util.ByteString
Creates a byte string with the given encoding, which may involve converting the specified byte string's contents if the encodings differ.

C

C - Variable in class LBJ2.learn.SupportVectorMachine
The cost parameter C; default SupportVectorMachine.defaultC
C - Variable in class LBJ2.learn.SupportVectorMachine.Parameters
The cost parameter C; default SupportVectorMachine.defaultC
cache - Static variable in class LBJ2.infer.InferenceManager
The cache of Inference objects, indexed by Keys.
cancelled - Variable in class LBJ2.infer.BalasHook
A set of variables which must retain their current settings in x as the algorithm continues processing.
Capitalization - Class in LBJ2.nlp
This class implements a classifier that takes a Word as input and generates Boolean features representing the capitalizations of the words in a [-2, +2] window around the input word.
Capitalization() - Constructor for class LBJ2.nlp.Capitalization
 
capitalized - Variable in class LBJ2.nlp.Word
Whether or not the word is capitalized is determined automatically by the constructor.
capitalsAndDots - Static variable in class LBJ2.nlp.SentenceSplitter
Regular expression matching a sequence of capital letters and dots ending with a capital letter.
CC - Static variable in class LBJ2.nlp.POS
POS object representing the "coordinating conjunction" tag.
CD - Static variable in class LBJ2.nlp.POS
POS object representing the "cardinal number" tag.
center(String, int) - Static method in class LBJ2.util.TableFormat
Returns a space-padded string of at least the specified width such that the argument string is centered within the returned string.
chars - Variable in class LBJ2.util.ExceptionlessInputStream
This buffer is used internally by ExceptionlessInputStream.readUTF(int).
ChildLexicon - Class in LBJ2.learn
Instances of this class are intended to store features that are children of other features and which do not correspond to their own weights in any learner's weight vector.
ChildLexicon() - Constructor for class LBJ2.learn.ChildLexicon
Creates an empty lexicon.
ChildLexicon(Lexicon) - Constructor for class LBJ2.learn.ChildLexicon
Creates an empty lexicon.
ChildLexicon(Lexicon, String) - Constructor for class LBJ2.learn.ChildLexicon
Creates an empty lexicon with the given encoding.
childLexiconLookup(ChildLexicon, int) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Does a feature-type-specific lookup of this feature in the given ChildLexicon.
childLexiconLookup(ChildLexicon, int) - Method in class LBJ2.classify.DiscreteReferrer
Does a feature-type-specific lookup of this feature in the given ChildLexicon.
childLexiconLookup(ChildLexicon, int) - Method in class LBJ2.classify.Feature
Does a feature-type-specific lookup of this feature in the given ChildLexicon.
childLexiconLookup(ChildLexicon, int) - Method in class LBJ2.classify.RealConjunctiveFeature
Does a feature-type-specific lookup of this feature in the given ChildLexicon.
childLexiconLookup(ChildLexicon, int) - Method in class LBJ2.classify.RealReferrer
Does a feature-type-specific lookup of this feature in the given ChildLexicon.
childLexiconLookup(Feature, int) - Method in class LBJ2.learn.ChildLexicon
Updates the counts in ChildLexicon.parents for the children of f.
childLexiconLookup(DiscreteConjunctiveFeature, int) - Method in class LBJ2.learn.ChildLexicon
Updates the counts in ChildLexicon.parents for the children of f.
childLexiconLookup(RealConjunctiveFeature, int) - Method in class LBJ2.learn.ChildLexicon
Updates the counts in ChildLexicon.parents for the children of f.
childLexiconLookup(DiscreteReferrer, int) - Method in class LBJ2.learn.ChildLexicon
Updates the counts in ChildLexicon.parents for the children of f.
childLexiconLookup(RealReferrer, int) - Method in class LBJ2.learn.ChildLexicon
Updates the counts in ChildLexicon.parents for the children of f.
children - Variable in class LBJ2.infer.FirstOrderNAryConstraint
The children of the operator.
children - Variable in class LBJ2.infer.PropositionalAtLeast
The children are stored in an array in this class.
children - Variable in class LBJ2.infer.PropositionalNAryConstraint
The children of the operator.
children - Variable in class LBJ2.parse.LinkedVector
The linked vector is simply represented as a vector of children.
ChildrenFromVectors - Class in LBJ2.parse
Use this parser in conjunction with another parser that returns LinkedVectors, and this parser will return their LinkedChildren.
ChildrenFromVectors(Parser) - Constructor for class LBJ2.parse.ChildrenFromVectors
Creates the parser.
classEquivalent(Feature) - Method in class LBJ2.classify.DiscreteArrayFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.DiscreteReferringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.Feature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.RealArrayFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.RealArrayStringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.RealPrimitiveFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.RealReferringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
classEquivalent(Feature) - Method in class LBJ2.classify.RealReferringStringFeature
Some features are functionally equivalent, differing only in the encoding of their values; this method will return true iff the class of this feature and f are different, but they differ only because they encode their values differently.
Classifier - Class in LBJ2.classify
Objects of this class represent functions that make some multi-valued decision about an object.
Classifier() - Constructor for class LBJ2.classify.Classifier
Does nothing.
Classifier(String) - Constructor for class LBJ2.classify.Classifier
Initializing constructor.
classifier - Static variable in class LBJ2.classify.TestDiscrete
References the classifier that is to be tested.
classifier - Variable in class LBJ2.infer.FirstOrderVariable
The classifier being applied.
classifier - Variable in class LBJ2.infer.PropositionalVariable
The classifier being applied.
classifier - Variable in class LBJ2.nlp.seg.BIOTester
A BIO classifier that classifies Tokens.
classify(Object) - Method in class LBJ2.classify.Classifier
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(Object[]) - Method in class LBJ2.classify.Classifier
Use this method to make a batch of classification decisions about several objects.
classify(Object) - Method in class LBJ2.classify.FeatureVectorReturner
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(Object) - Method in class LBJ2.classify.LabelVectorReturner
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(Object) - Method in class LBJ2.classify.MultiValueComparer
Returns a Boolean feature (with value "true" or "false") indicating whether the output of ValueComparer.labeler applied to the argument object contained the feature value referenced by ValueComparer.value.
classify(Object) - Method in class LBJ2.classify.ValueComparer
Returns a Boolean feature (with value "true" or "false") representing the equality of the output of ValueComparer.labeler applied to the argument object and ValueComparer.value.
classify(Object) - Method in class LBJ2.infer.ParameterizedConstraint
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(int[], double[]) - Method in class LBJ2.learn.AdaBoost
This method uses the trained parameters to make a binary decision about an example object.
classify(Object) - Method in class LBJ2.learn.Learner
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(FeatureVector) - Method in class LBJ2.learn.Learner
This method makes one or more decisions about a single feature vector, returning those decisions as Features in a vector.
classify(int[], double[]) - Method in class LBJ2.learn.Learner
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(FeatureVector[]) - Method in class LBJ2.learn.Learner
Use this method to make a batch of classification decisions about several objects.
classify(Object[][]) - Method in class LBJ2.learn.Learner
Use this method to make a batch of classification decisions about several examples.
classify(int[], double[]) - Method in class LBJ2.learn.LinearThresholdUnit
The default evaluation method simply computes the score for the example and returns a DiscretePrimitiveStringFeature set to either the second value from the label classifier's array of allowable values if the score is greater than or equal to LinearThresholdUnit.threshold or the first otherwise.
classify(int[], double[]) - Method in class LBJ2.learn.MultiLabelLearner
Returns a separate feature for each LinearThresholdUnit whose score on the example object exceeds the threshold.
classify(int[], double[]) - Method in class LBJ2.learn.MuxLearner
This method performs the multiplexing and returns the output of the selected Learner.
classify(int[], double[]) - Method in class LBJ2.learn.NaiveBayes
Prediction value counts and feature counts given a particular prediction value are used to select the most likely prediction value.
classify(int[], double[]) - Method in class LBJ2.learn.SparseMIRA
This implementation uses a winner-take-all comparison of the individual weight vectors' dot products.
classify(int[], double[]) - Method in class LBJ2.learn.SparseNetworkLearner
This implementation uses a winner-take-all comparison of the outputs from the individual linear threshold units' score methods.
classify(int[], double[]) - Method in class LBJ2.learn.StochasticGradientDescent
Simply computes the dot product of the weight vector and the feature vector extracted from the example object.
classify(int[], double[]) - Method in class LBJ2.learn.SupportVectorMachine
Evaluates the given example using liblinear's prediction method.
classify(int[], double[]) - Method in class LBJ2.learn.WekaWrapper
This method makes one or more decisions about a single object, returning those decisions as Features in a vector.
classify(Object) - Method in class LBJ2.nlp.Affixes
 
classify(Object[]) - Method in class LBJ2.nlp.Affixes
 
classify(Object) - Method in class LBJ2.nlp.Capitalization
 
classify(Object[]) - Method in class LBJ2.nlp.Capitalization
 
classify(Object) - Method in class LBJ2.nlp.Forms
 
classify(Object[]) - Method in class LBJ2.nlp.Forms
 
classify(Object) - Method in class LBJ2.nlp.WordTypeInformation
 
classify(Object[]) - Method in class LBJ2.nlp.WordTypeInformation
 
ClassUtils - Class in LBJ2.util
Utility methods for retrieving various classes that are part of the LBJ class hierarchy by name.
ClassUtils() - Constructor for class LBJ2.util.ClassUtils
 
clear() - Method in class LBJ2.classify.FeatureVector
Removes all elements from both FeatureVector.features and FeatureVector.labels.
clear() - Method in class LBJ2.learn.BiasedRandomWeightVector
Empties the weight map and resets the random number generator.
clear() - Method in class LBJ2.learn.BiasedWeightVector
Empties the weight map.
clear() - Method in class LBJ2.learn.ChildLexicon
Clears the data structures associated with this instance.
clear() - Method in class LBJ2.learn.Lexicon
Clears the data structures associated with this instance.
clear() - Method in class LBJ2.learn.RandomWeightVector
Empties the weight map and resets the random number generator.
clear() - Method in class LBJ2.learn.SparseWeightVector
Empties the weight map.
clearLabels() - Method in class LBJ2.classify.FeatureVector
Removes all elements from just the FeatureVector.labels list.
clone() - Method in class LBJ2.classify.Classifier
This method returns a shallow clone.
clone() - Method in class LBJ2.classify.Feature
Returns a shallow clone of this Feature.
clone() - Method in class LBJ2.classify.FeatureVector
Returns a shallow clone of this vector; the vectors are cloned, but their elements aren't.
clone() - Method in class LBJ2.classify.Score
Produces a deep copy of this object.
clone() - Method in class LBJ2.classify.ScoreSet
Produces a deep copy of this object.
clone() - Method in class LBJ2.infer.FirstOrderVariable
This method returns a shallow clone.
clone() - Method in class LBJ2.infer.PropositionalAtLeast
This method returns a shallow clone.
clone() - Method in class LBJ2.infer.PropositionalConstraint
This method returns a shallow clone.
clone() - Method in class LBJ2.infer.PropositionalNAryConstraint
This method returns a shallow clone.
clone() - Method in class LBJ2.learn.Learner
Returns a deep (enough) clone of this learner.
clone() - Method in class LBJ2.learn.Lexicon
Returns a deep clone of this lexicon implemented as a HashMap.
clone() - Method in class LBJ2.learn.LinearThresholdUnit
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.learn.MuxLearner
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.learn.NaiveBayes
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.learn.NaiveBayes.Count
This method returns a shallow clone.
clone() - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Returns a copy of this NaiveBayesVector.
clone() - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Returns a copy of this AveragedWeightVector.
clone() - Method in class LBJ2.learn.SparseConfidenceWeighted
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.learn.SparseMIRA
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.learn.SparseNetworkLearner
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.learn.SparseWeightVector
Returns a copy of this SparseWeightVector in which the SparseWeightVector.weights variable has been cloned deeply.
clone() - Method in class LBJ2.learn.StochasticGradientDescent
Returns a deep clone of this learning algorithm.
clone() - Method in class LBJ2.parse.LinkedChild
Returns a shallow clone of this object.
clone() - Method in class LBJ2.parse.LinkedVector
Returns a clone of this object that is deep in the sense that all of the children objects are cloned.
clone() - Method in class LBJ2.util.ByteString
Returns a shallow copy of this string.
clone() - Method in class LBJ2.util.DVector
Returns a deep clone of this vector.
clone() - Method in class LBJ2.util.DVector2D
Returns a clone of this vector that is one level deep; in particular, the objects in the vector themselves are not cloned, but the underlying array is.
clone() - Method in class LBJ2.util.FVector
Returns a shallow clone of this vector; the vector itself is cloned, but the element objects aren't.
clone() - Method in class LBJ2.util.IVector
Returns a deep clone of this vector.
clone() - Method in class LBJ2.util.IVector2D
Returns a clone of this vector that is one level deep; in particular, the objects in the vector themselves are not cloned, but the underlying array is.
clone() - Method in class LBJ2.util.OVector
Returns a shallow clone of this vector; the vector itself is cloned, but the element objects aren't.
close() - Method in class LBJ2.nlp.seg.PlainToTokenParser
Frees any resources this parser may be holding.
close() - Method in class LBJ2.nlp.seg.WordsToTokens
Frees any resources this parser may be holding.
close() - Method in class LBJ2.nlp.StringArraysToWords
Frees any resources this parser may be holding.
close() - Method in class LBJ2.nlp.WordsInDocumentByDirectory
Frees any resources this parser may be holding.
close() - Method in class LBJ2.nlp.WordSplitter
Frees any resources this parser may be holding.
close() - Method in class LBJ2.parse.ArrayFileParser
Frees any resources this parser may be holding.
close() - Method in class LBJ2.parse.ArrayParser
Frees any resources this parser may be holding.
close() - Method in class LBJ2.parse.ChildrenFromVectors
Frees any resources this parser may be holding.
close() - Method in class LBJ2.parse.FeatureVectorParser
Deprecated. Frees any resources this parser may be holding.
close() - Method in class LBJ2.parse.FoldParser
Frees any resources this parser may be holding.
close() - Method in class LBJ2.parse.LineByLine
Frees any resources this parser may be holding.
close() - Method in interface LBJ2.parse.Parser
Frees any resources this parser may be holding.
close() - Method in class LBJ2.util.ExceptionlessInputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class LBJ2.util.ExceptionlessOutputStream
Closes this output stream and releases any system resources associated with the stream.
closeDoubleQuote - Static variable in class LBJ2.nlp.POS
POS object representing the "close double quote" tag.
closeReader(BufferedReader, File) - Static method in class LBJ2.nlp.WordsInDocumentByDirectory
Closes the specified input stream, handling any exception by reporting the error and exiting the program.
CNF() - Method in class LBJ2.infer.PropositionalAtLeast
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalConjunction
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalConstant
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalConstraint
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalDisjunction
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalDoubleImplication
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalImplication
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalNegation
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
CNF() - Method in class LBJ2.infer.PropositionalVariable
Produces a new, logically simplified version of this constraint in conjunctive normal form (CNF).
coefficients - Variable in class LBJ2.infer.XpressMPHook
Contains one vector for each added variable representing a list of non-zero coefficients associated with the variable in the various constraints in the problem.
collection - Variable in class LBJ2.infer.Quantifier
The collection of objects to iterate over.
collectionConstant - Variable in class LBJ2.infer.QuantifierArgumentReplacer
This flag is set if the collection of the quantifier is not quantified.
colon - Static variable in class LBJ2.nlp.POS
POS object representing the "(semi-)colon" tag.
ColumnFormat - Class in LBJ2.nlp
This parser returns arrays of Strings representing the rows of a file in column format.
ColumnFormat(String) - Constructor for class LBJ2.nlp.ColumnFormat
Creates the parser.
columnPrimalValueOf(int) - Method in class LBJ2.jni.GLPKHook
Returns the value of the specified variable in the primal solution.
columns() - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the number of variables in the ILP problem.
comma - Static variable in class LBJ2.nlp.POS
POS object representing the "comma" tag.
compare(int, int) - Method in interface LBJ2.util.Sort.IntComparator
The comparison function.
compareNameStrings(Object) - Method in class LBJ2.classify.DiscreteReferringFeature
Compares only the run-time types, packages, classifier names, and identifiers of the features.
compareNameStrings(Object) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Compares only the run-time types, packages, classifier names, and identifiers of the features.
compareNameStrings(Object) - Method in class LBJ2.classify.Feature
Compares only the run-time types, packages, classifier names, and identifiers of the features.
compareNameStrings(Object) - Method in class LBJ2.classify.RealReferringFeature
Compares only the run-time types, packages, classifier names, and identifiers of the features.
compareNameStrings(Object) - Method in class LBJ2.classify.RealReferringStringFeature
Compares only the run-time types, packages, classifier names, and identifiers of the features.
compareTo(Object) - Method in class LBJ2.classify.DiscreteArrayFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.DiscreteReferrer
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.Feature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.RealArrayFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.RealArrayStringFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.RealConjunctiveFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.RealPrimitiveFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.RealReferrer
Used to sort features into an order that is convenient both to page through and for the lexicon to read off disk.
compareTo(Object) - Method in class LBJ2.classify.Score
This method is implemented so that a collection of Scores will be sorted first by value and then by score.
compareTo(Object) - Method in class LBJ2.util.ByteString
If the argument object is a byte string, this object's byte array and the argument object's byte array are compared lexicographically.
compareTypes(Object) - Method in class LBJ2.classify.Feature
Compares only the run-time types of the features.
compute() - Method in class LBJ2.infer.InvocationArgumentReplacer
Computes the value of the constraint invocation's parameter.
computeLearningRate(int[], double[], double, boolean) - Method in class LBJ2.learn.BinaryMIRA
Computes the learning rate for this example.
computeLearningRate(int[], double[], double, boolean) - Method in class LBJ2.learn.LinearThresholdUnit
Computes the value of the LinearThresholdUnit.learningRate variable if needed and returns the value.
computeLearningRate(int[], double[], double, boolean) - Method in class LBJ2.learn.PassiveAggressive
Computes the value of the learning rate for this example.
computeLearningRate(int[], double[], double, boolean) - Method in class LBJ2.learn.SparseWinnow
Returns the learning rate, which is LinearThresholdUnit.learningRate (alpha) if it is a positive example, and SparseWinnow.beta if it is a negative example.
confidence - Variable in class LBJ2.learn.SparseConfidenceWeighted
The confidence parameter as described above; default SparseConfidenceWeighted.defaultConfidence.
confidence - Variable in class LBJ2.learn.SparseConfidenceWeighted.Parameters
The confidence parameter as described above; default SparseConfidenceWeighted.defaultConfidence.
confidenceInterval(double[], double) - Static method in class LBJ2.util.StudentT
Computes the confidence interval of the specified precision over a set of data points.
conjunction(Feature, Classifier) - Method in class LBJ2.classify.DiscreteFeature
Create a feature representing the conjunction of this feature with the given argument feature.
conjunction(Feature, Classifier) - Method in class LBJ2.classify.Feature
Create a feature representing the conjunction of this feature with the given argument feature.
conjunction(Feature, Classifier) - Method in class LBJ2.classify.RealFeature
Create a feature representing the conjunction of this feature with the given argument feature.
conjunctiveLabels - Variable in class LBJ2.learn.SparseMIRA
Whether or not this learner's labeler produces conjunctive features.
conjunctiveLabels - Variable in class LBJ2.learn.SparseNetworkLearner
Whether or not this learner's labeler produces conjunctive features.
conjunctiveLabels - Variable in class LBJ2.learn.SupportVectorMachine
Whether or not this learner's labeler produces conjunctive features.
conjunctiveScores(int[], double[], Iterator) - Method in class LBJ2.learn.SparseMIRA
This method is a surrogate for SparseMIRA.scores(int[],double[],Collection) when the labeler is known to produce conjunctive features.
conjunctiveScores(int[], double[], Iterator) - Method in class LBJ2.learn.SparseNetworkLearner
This method is a surrogate for SparseNetworkLearner.scores(int[],double[],Collection) when the labeler is known to produce conjunctive features.
conjunctiveValueOf(int[], double[], Iterator) - Method in class LBJ2.learn.SparseMIRA
This method is a surrogate for SparseMIRA.valueOf(int[],double[],Collection) when the labeler is known to produce conjunctive features.
conjunctiveValueOf(int[], double[], Iterator) - Method in class LBJ2.learn.SparseNetworkLearner
This method is a surrogate for SparseNetworkLearner.valueOf(int[],double[],Collection) when the labeler is known to produce conjunctive features.
conjunctiveValueOf(int[], double[], Iterator) - Method in class LBJ2.learn.SupportVectorMachine
This method is a surrogate for SupportVectorMachine.valueOf(int[],double[],Collection) when the labeler is known to produce conjunctive features.
conjunctWith(DiscreteFeature, Classifier) - Method in class LBJ2.classify.DiscreteFeature
Create a feature representing the conjunction of this feature with the given argument feature.
conjunctWith(DiscreteFeature, Classifier) - Method in class LBJ2.classify.Feature
Create a feature representing the conjunction of this feature with the given argument feature.
conjunctWith(RealFeature, Classifier) - Method in class LBJ2.classify.Feature
Create a feature representing the conjunction of this feature with the given argument feature.
consolidate() - Method in class LBJ2.util.FVector
After calling this method, the new size and capacity of this vector will be equal to the number of non-null elements; all such elements will be retained in the same relative order.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.Constraint
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderBinaryConstraint
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderConstant
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderEqualityWithValue
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderNAryConstraint
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.FirstOrderNegation
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.PropositionalBinaryConstraint
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.PropositionalConstant
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.PropositionalNAryConstraint
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.PropositionalNegation
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.PropositionalVariable
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.QuantifiedConstraintInvocation
Replaces all unquantified variables with the unique copy stored as a value of the given map; also instantiates all quantified variables and stores them in the given map.
consolidateVariables(AbstractMap) - Method in class LBJ2.infer.Quantifier
Sets the variable map object stored in this object to the given argument; also instantiates all quantified variables and stores them in the map.
constant - Variable in class LBJ2.infer.FirstOrderConstant
The constant value.
constant - Variable in class LBJ2.infer.PropositionalConstant
The constant value.
Constraint - Class in LBJ2.infer
A constraint is an expression that is either satisified or unsatisfied by its constituent classifier applications.
Constraint() - Constructor for class LBJ2.infer.Constraint
 
constraint - Variable in class LBJ2.infer.FirstOrderNegation
The constraint that the negation is applied to.
constraint - Variable in class LBJ2.infer.Inference
The constraints which must be satisfied by the inference algorithm.
constraint - Variable in class LBJ2.infer.PropositionalNegation
The constraint that the negation is applied to.
constraint - Variable in class LBJ2.infer.QuantifiedConstraintInvocation
The latest result of invoking parameterized.
constraint - Variable in class LBJ2.infer.Quantifier
The constraint being quantified.
constraints - Variable in class LBJ2.jni.GLPKHook
If the appropriate methods are called below, this list will contain all the constraints that have been added to this solver.
constraintSatisfiability(IVector, IVector, IVector) - Method in class LBJ2.infer.BalasHook
For each violated constraint, this method determines whether it is individually satisfiable given the eligible variables remaining.
constraintsSatisfied(int[]) - Method in class LBJ2.infer.ZeroOneILPProblem
Determines whether all constraints are satisfied by the given solution.
containingPackage - Variable in class LBJ2.classify.Classifier
The name of the package containing this classifier.
containingPackage - Variable in class LBJ2.classify.Feature
The Java package containing the classifier that produced this feature.
contains(FirstOrderConstraint) - Method in class LBJ2.infer.FirstOrderNAryConstraint
Determines whether the given constraint is a term of this constraint.
contains(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalAtLeast
Determines whether the given constraint is a term of this constraint.
contains(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalNAryConstraint
Determines whether the given constraint is a term of this constraint.
contains(Feature) - Method in class LBJ2.learn.Lexicon
Returns true if the given feature is already in the lexicon (whether it's past the Lexicon.pruneCutoff or not) and false otherwise.
containsAll(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalConjunction
Determines whether this conjunction contains all of the terms that the given conjunction contains.
containsAll(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalDisjunction
Determines whether this disjunction contains all of the terms that the given disjunction contains.
context - Variable in class LBJ2.infer.ArgumentReplacer
The settings of non-quantification variables in context at the equality in question.
contFract(double, double, double) - Static method in class LBJ2.util.StudentT
Incomplete fraction summation used in the method StudentT.regularisedBetaFunction(double,double,double).
convert(LinkedVector) - Static method in class LBJ2.nlp.seg.WordsToTokens
Given a LinkedVector containing Words, this method creates a new LinkedVector containing Tokens.
convert(String[]) - Static method in class LBJ2.nlp.StringArraysToWords
Given an array of Strings, this method creates a new LinkedVector containing Words.
correctExample() - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Increments the SparseAveragedPerceptron.AveragedWeightVector.examples variable.
correctHistogram - Variable in class LBJ2.classify.TestDiscrete
The histogram of correct predictions.
count - Variable in class LBJ2.learn.NaiveBayes.Count
The accumulated value.
countFeatures(Lexicon.CountPolicy) - Method in class LBJ2.learn.Learner
Establishes a new feature counting policy for this learner's lexicon.
countFeatures(Lexicon.CountPolicy) - Method in class LBJ2.learn.Lexicon
Call this method to initialize the lexicon to count feature occurrences on each call to lookup(feature, true) (counting still won't happen on a call to lookup(feature, false)).
counts - Variable in class LBJ2.learn.NaiveBayes.NaiveBayesVector
The counts in the vector indexed by their Lexicon key.
createNewVariable(String) - Method in class LBJ2.infer.GLPK
Deprecated. Used during ILP constraint generation, this method creates a new temporary propositional variable and adds the corresponding column to the solver.
createPrediction(int) - Method in class LBJ2.learn.Learner
If it hasn't been created already, this method will create the prediction feature in Learner.predictions associated with the label feature at the given index of Learner.labelLexicon.
createPrediction(Lexicon, int) - Method in class LBJ2.learn.Learner
If it hasn't been created already, this method will create the prediction feature in Learner.predictions associated with the label feature at the given index of lex.
createProblem() - Method in class LBJ2.jni.GLPKHook
Instantiates the problem object in the C world.
createVariable(String) - Method in class LBJ2.infer.ILPInference
Creates a new Boolean variable to represent the value of a subexpression of some constraint.
crossValidation(int[], int, FoldParser.SplitPolicy, double, TestingMetric, boolean) - Method in class LBJ2.learn.BatchTrainer
Performs cross validation, computing a confidence interval on the performance of the learner after each of the specified rounds of training.
crossValidationTesting(FoldParser, TestingMetric, boolean, boolean) - Method in class LBJ2.learn.BatchTrainer
Tests the learner as a subroutine inside cross validation.
currentOffset - Variable in class LBJ2.nlp.SentenceSplitter
Contains the offset of a paragraph currently being processed.
currentWord - Variable in class LBJ2.nlp.POSBracketToWord
Deprecated. The next word to return, or null if we need a new sentence.
currentWord - Variable in class LBJ2.nlp.seg.POSBracketToToken
A pointer to the most recently returned word is kept for easy access to the next word.

D

debug - Static variable in class LBJ2.infer.BalasHook
 
debugFileName - Variable in class LBJ2.jni.GLPKHook
Diagnostic messages are written to this file when an optimal solution cannot be found.
decrement(int) - Method in class LBJ2.util.IVector
Decrements the integer at the given index by 1.
decrement(int, int) - Method in class LBJ2.util.IVector
Decrements the integer at the given index by 1.
decrementParentCounts(Feature) - Method in class LBJ2.learn.ChildLexicon
The parent of feature f is being removed, so we decrement f's parent counts and remove it if it's ready.
defaultAttributeString - Static variable in class LBJ2.learn.WekaWrapper
Default for the WekaWrapper.attributeString field.
defaultBaseClassifier - Static variable in class LBJ2.learn.WekaWrapper
Default for the WekaWrapper.baseClassifier field.
defaultBaseLearner - Static variable in class LBJ2.learn.MuxLearner
Default for MuxLearner.baseLearner.
defaultBaseLTU - Static variable in class LBJ2.learn.SparseNetworkLearner
Default for SparseNetworkLearner.baseLTU.
defaultBeta - Static variable in class LBJ2.learn.BinaryMIRA
Default value for BinaryMIRA.beta.
defaultBias - Static variable in class LBJ2.learn.SupportVectorMachine
Default for SupportVectorMachine.bias.
defaultC - Static variable in class LBJ2.learn.SupportVectorMachine
Default for SupportVectorMachine.C.
defaultCapacity - Static variable in class LBJ2.learn.Lexicon
The default capacity of Lexicon.lexiconInv and Lexicon.featureCounts.
defaultCapacity - Static variable in class LBJ2.learn.SparseWeightVector
The initial capacity for SparseWeightVector.weights if not specified otherwise.
defaultCapacity - Static variable in class LBJ2.util.DVector
The default capacity of a vector upon first construction.
defaultCapacity - Static variable in class LBJ2.util.FVector
The default capacity of a vector upon first construction.
defaultCapacity - Static variable in class LBJ2.util.IVector
The default capacity of a vector upon first construction.
defaultCapacity - Static variable in class LBJ2.util.OVector
The default capacity of a vector upon first construction.
defaultCapacity1 - Static variable in class LBJ2.util.DVector2D
The default capacity of the first dimension of this 2D vector.
defaultCapacity1 - Static variable in class LBJ2.util.IVector2D
The default capacity of the first dimension of this 2D vector.
defaultCapacity2 - Variable in class LBJ2.util.DVector2D
The capacity of new vectors created in the second dimension.
defaultCapacity2 - Variable in class LBJ2.util.IVector2D
The capacity of new vectors created in the second dimension.
defaultConfidence - Static variable in class LBJ2.learn.SparseConfidenceWeighted
Default value for SparseConfidenceWeighted.confidence.
defaultDefaultCapacity2 - Static variable in class LBJ2.util.DVector2D
The default capacity of the second dimension of this 2D vector.
defaultDefaultCapacity2 - Static variable in class LBJ2.util.IVector2D
The default capacity of the second dimension of this 2D vector.
defaultDefaultPrediction - Static variable in class LBJ2.learn.MuxLearner
Default for MuxLearner.defaultPrediction.
defaultEncoding - Static variable in class LBJ2.util.ByteString
The default character encoding for instances of this class.
defaultEpsilon - Static variable in class LBJ2.learn.SupportVectorMachine
Default for SupportVectorMachine.epsilon.
defaultFeature - Variable in class LBJ2.learn.MuxLearner
A feature whose value is MuxLearner.defaultPrediction.
defaultInitialBias - Static variable in class LBJ2.learn.BiasedWeightVector
Default value for BiasedWeightVector.initialBias.
defaultInitialVariance - Static variable in class LBJ2.learn.SparseConfidenceWeighted
Default value for SparseConfidenceWeighted.initialVariance.
defaultInitialWeight - Static variable in class LBJ2.learn.LinearThresholdUnit
Default for LinearThresholdUnit.initialWeight.
defaultInitialWeight - Static variable in class LBJ2.learn.SparseWinnow
Default for LinearThresholdUnit.initialWeight.
defaultLearningRate - Static variable in class LBJ2.learn.BinaryMIRA
Default value for LinearThresholdUnit.learningRate.
defaultLearningRate - Static variable in class LBJ2.learn.LinearThresholdUnit
Default value for LinearThresholdUnit.learningRate.
defaultLearningRate - Static variable in class LBJ2.learn.SparseWinnow
Default for LinearThresholdUnit.learningRate.
defaultLearningRate - Static variable in class LBJ2.learn.StochasticGradientDescent
Default value for StochasticGradientDescent.learningRate.
defaultPrediction - Variable in class LBJ2.learn.MuxLearner
This string is returned during testing when the multiplexed Learner doesn't exist; default MuxLearner.defaultDefaultPrediction.
defaultPrediction - Variable in class LBJ2.learn.MuxLearner.Parameters
This string is returned during testing when the multiplexed Learner doesn't exist; default MuxLearner.defaultDefaultPrediction.
defaultRounds - Static variable in class LBJ2.learn.AdaBoost
Default for AdaBoost.rounds.
defaultSignificantDigits - Static variable in class LBJ2.util.TableFormat
The default number of significant digits to which table entries will be rounded.
defaultSmoothing - Static variable in class LBJ2.learn.NaiveBayes
The default conditional feature probability is edefaultSmoothing.
defaultSolverType - Static variable in class LBJ2.learn.SupportVectorMachine
Default for SupportVectorMachine.solverType.
defaultStddev - Static variable in class LBJ2.learn.RandomWeightVector
Default value for RandomWeightVector.stddev.
defaultThickness - Static variable in class LBJ2.learn.LinearThresholdUnit
Default for LinearThresholdUnit.positiveThickness.
defaultThreshold - Static variable in class LBJ2.learn.LinearThresholdUnit
Default for LinearThresholdUnit.threshold.
defaultThreshold - Static variable in class LBJ2.learn.SparseWinnow
Default for LinearThresholdUnit.threshold.
defaultWeakLearner - Static variable in class LBJ2.learn.AdaBoost
Default for AdaBoost.weakLearner.
defaultWeight - Static variable in class LBJ2.learn.SparseWeightVector
When a feature appears in an example but not in this vector, it is assumed to have this weight.
defaultWeightVector - Static variable in class LBJ2.learn.LinearThresholdUnit
Default for LinearThresholdUnit.weightVector.
defaultWeightVector - Static variable in class LBJ2.learn.SparseAveragedPerceptron
Default for LinearThresholdUnit.weightVector.
defaultWeightVector - Static variable in class LBJ2.learn.StochasticGradientDescent
Default for StochasticGradientDescent.weightVector.
deleteProblem() - Method in class LBJ2.jni.GLPKHook
Frees the problem object's memory in the C world.
demandLexicon() - Method in class LBJ2.learn.Learner
Forces this learner to read in its lexicon representation, but only if the lexicon currently available in this object is empty and the learner has been scheduled to read its lexicon on demand with Learner.readLexiconOnDemand(URL).
demote(int[], double[], double) - Method in class LBJ2.learn.BinaryMIRA
Scales the feature vector produced by the extractor by the learning rate and subtracts it from the weight vector.
demote(int[], double[], double) - Method in class LBJ2.learn.LinearThresholdUnit
If the LinearThresholdUnit is mistake driven, this method should be overridden and used to update the internal representation when a mistake is made on a negative example.
demote(int[], double[], double) - Method in class LBJ2.learn.PassiveAggressive
Scales the feature vector produced by the extractor by the learning rate and subtracts it from the weight vector.
demote(int[], double[], double) - Method in class LBJ2.learn.SparseAveragedPerceptron
Scales the feature vector produced by the extractor by the learning rate and subtracts it from the weight vector.
demote(int[], double[], double) - Method in class LBJ2.learn.SparseConfidenceWeighted
This method does nothing.
demote(int[], double[], double) - Method in class LBJ2.learn.SparsePerceptron
Scales the feature vector produced by the extractor by the learning rate and subtracts it from the weight vector.
demote(int[], double[], double) - Method in class LBJ2.learn.SparseWinnow
Demotion is simply w_i *= betax_i.
depth() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
The depth of a feature is one more than the maximum depth of any of its children, or 0 if it has no children.
depth() - Method in class LBJ2.classify.DiscreteReferrer
The depth of a feature is one more than the maximum depth of any of its children, or 0 if it has no children.
depth() - Method in class LBJ2.classify.Feature
The depth of a feature is one more than the maximum depth of any of its children, or 0 if it has no children.
depth() - Method in class LBJ2.classify.RealConjunctiveFeature
The depth of a feature is one more than the maximum depth of any of its children, or 0 if it has no children.
depth() - Method in class LBJ2.classify.RealReferrer
The depth of a feature is one more than the maximum depth of any of its children, or 0 if it has no children.
dis - Variable in class LBJ2.util.ExceptionlessInputStream
The underlying data input stream.
discardPrunedFeatures() - Method in class LBJ2.learn.Lexicon
Permanently discards any features that have been pruned via Lexicon.prune(Lexicon.PruningPolicy) as well as all feature counts.
DiscreteArrayFeature - Class in LBJ2.classify
A discrete array feature keeps track of its index in the classifier's returned array as well as the total number of features in that array.
DiscreteArrayFeature() - Constructor for class LBJ2.classify.DiscreteArrayFeature
For internal use only.
DiscreteArrayFeature(String, String, ByteString, ByteString, int, int) - Constructor for class LBJ2.classify.DiscreteArrayFeature
Sets the identifier, value, array index, and size of the containing array.
DiscreteArrayFeature(String, String, ByteString, ByteString, short, short, int, int) - Constructor for class LBJ2.classify.DiscreteArrayFeature
Sets all member variables.
DiscreteArrayStringFeature - Class in LBJ2.classify
A discrete array feature keeps track of its index in the classifier's returned array as well as the total number of features in that array.
DiscreteArrayStringFeature() - Constructor for class LBJ2.classify.DiscreteArrayStringFeature
For internal use only.
DiscreteArrayStringFeature(String, String, String, String, int, int) - Constructor for class LBJ2.classify.DiscreteArrayStringFeature
Sets the identifier, value, array index, and size of the containing array.
DiscreteArrayStringFeature(String, String, String, String, short, short, int, int) - Constructor for class LBJ2.classify.DiscreteArrayStringFeature
Sets all member variables.
DiscreteConjunctiveFeature - Class in LBJ2.classify
Represents the conjunction of two discrete features.
DiscreteConjunctiveFeature() - Constructor for class LBJ2.classify.DiscreteConjunctiveFeature
For internal use only.
DiscreteConjunctiveFeature(String, String, DiscreteFeature, DiscreteFeature) - Constructor for class LBJ2.classify.DiscreteConjunctiveFeature
Creates a new conjunctive feature.
DiscreteConjunctiveFeature(String, String, DiscreteFeature, DiscreteFeature, short, short) - Constructor for class LBJ2.classify.DiscreteConjunctiveFeature
Creates a new conjunctive feature.
DiscreteConjunctiveFeature(Classifier, DiscreteFeature, DiscreteFeature) - Constructor for class LBJ2.classify.DiscreteConjunctiveFeature
Creates a new conjunctive feature taking the package and name of the given classifier.
DiscreteFeature - Class in LBJ2.classify
A discrete feature takes on one value from a set of discontinuous values.
DiscreteFeature() - Constructor for class LBJ2.classify.DiscreteFeature
For internal use only.
DiscreteFeature(String, String, short, short) - Constructor for class LBJ2.classify.DiscreteFeature
Sets the identifier, value, value index, and total allowable values.
DiscretePrimitiveFeature - Class in LBJ2.classify
A primitive discrete feature is a discrete feature with a string value.
DiscretePrimitiveFeature() - Constructor for class LBJ2.classify.DiscretePrimitiveFeature
For internal use only.
DiscretePrimitiveFeature(String, String, ByteString, ByteString) - Constructor for class LBJ2.classify.DiscretePrimitiveFeature
Sets both the identifier and the value.
DiscretePrimitiveFeature(String, String, ByteString, ByteString, short, short) - Constructor for class LBJ2.classify.DiscretePrimitiveFeature
Sets the identifier, value, value index, and total allowable values.
DiscretePrimitiveStringFeature - Class in LBJ2.classify
This feature is functionally equivalent to DiscretePrimitiveFeature, however its DiscretePrimitiveStringFeature.value is stored as a String instead of a ByteString.
DiscretePrimitiveStringFeature() - Constructor for class LBJ2.classify.DiscretePrimitiveStringFeature
For internal use only.
DiscretePrimitiveStringFeature(String, String, String, String) - Constructor for class LBJ2.classify.DiscretePrimitiveStringFeature
Sets both the identifier and the value.
DiscretePrimitiveStringFeature(String, String, String, String, short, short) - Constructor for class LBJ2.classify.DiscretePrimitiveStringFeature
Sets the identifier, value, value index, and total allowable values.
DiscreteReferrer - Class in LBJ2.classify
A referring discrete feature is one that has its own identifier, but whose value comes from a separate feature that it refers to.
DiscreteReferrer() - Constructor for class LBJ2.classify.DiscreteReferrer
For internal use only.
DiscreteReferrer(Classifier, DiscreteFeature) - Constructor for class LBJ2.classify.DiscreteReferrer
Sets both the identifier and the referent.
DiscreteReferrer(Classifier, DiscreteFeature, String[]) - Constructor for class LBJ2.classify.DiscreteReferrer
Sets both the identifier and the referent.
DiscreteReferrer(String, String, DiscreteFeature, short, short) - Constructor for class LBJ2.classify.DiscreteReferrer
Constructs a new referring feature.
DiscreteReferringFeature - Class in LBJ2.classify
A referring discrete feature is one that has its own identifier, but whose value comes from a separate feature that it refers to.
DiscreteReferringFeature() - Constructor for class LBJ2.classify.DiscreteReferringFeature
For internal use only.
DiscreteReferringFeature(Classifier, ByteString, DiscreteFeature) - Constructor for class LBJ2.classify.DiscreteReferringFeature
Sets both the identifier and the referent.
DiscreteReferringFeature(Classifier, ByteString, DiscreteFeature, String[]) - Constructor for class LBJ2.classify.DiscreteReferringFeature
Sets both the identifier and the referent.
DiscreteReferringFeature(String, String, ByteString, DiscreteFeature, short, short) - Constructor for class LBJ2.classify.DiscreteReferringFeature
Constructs a new referring feature.
DiscreteReferringStringFeature - Class in LBJ2.classify
A referring discrete feature is one that has its own identifier, but whose value comes from a separate feature that it refers to.
DiscreteReferringStringFeature() - Constructor for class LBJ2.classify.DiscreteReferringStringFeature
For internal use only.
DiscreteReferringStringFeature(Classifier, String, DiscreteFeature) - Constructor for class LBJ2.classify.DiscreteReferringStringFeature
Sets both the identifier and the referent.
DiscreteReferringStringFeature(Classifier, String, DiscreteFeature, String[]) - Constructor for class LBJ2.classify.DiscreteReferringStringFeature
Sets both the identifier and the referent.
DiscreteReferringStringFeature(String, String, String, DiscreteFeature, short, short) - Constructor for class LBJ2.classify.DiscreteReferringStringFeature
Constructs a new referring feature.
discreteValue(Object) - Method in class LBJ2.classify.Classifier
Returns the value of the discrete feature that would be returned by this classifier.
discreteValue(Object) - Method in class LBJ2.classify.MultiValueComparer
Returns the value of the discrete feature that would be returned by this classifier.
discreteValue(Object) - Method in class LBJ2.classify.ValueComparer
Returns the value of the discrete feature that would be returned by this classifier.
discreteValue(int[], double[]) - Method in class LBJ2.learn.AdaBoost
This method uses the trained parameters to make a binary decision about an example object.
discreteValue(Object) - Method in class LBJ2.learn.Learner
Returns the value of the discrete prediction that this learner would make, given an example.
discreteValue(FeatureVector) - Method in class LBJ2.learn.Learner
Returns the value of the discrete prediction that this learner would make, given a feature vector.
discreteValue(int[], double[]) - Method in class LBJ2.learn.Learner
Returns the value of the discrete feature that would be returned by this classifier.
discreteValue(int[], double[]) - Method in class LBJ2.learn.LinearThresholdUnit
The default evaluation method simply computes the score for the example and returns a DiscretePrimitiveStringFeature set to either the second value from the label classifier's array of allowable values if the score is greater than or equal to LinearThresholdUnit.threshold or the first otherwise.
discreteValue(int[], double[]) - Method in class LBJ2.learn.MuxLearner
Returns the value of the discrete feature that would be returned by this classifier.
discreteValue(int[], double[]) - Method in class LBJ2.learn.NaiveBayes
Prediction value counts and feature counts given a particular prediction value are used to select the most likely prediction value.
discreteValue(int[], double[]) - Method in class LBJ2.learn.SparseMIRA
This implementation uses a winner-take-all comparison of the individual weight vectors' dot products.
discreteValue(int[], double[]) - Method in class LBJ2.learn.SparseNetworkLearner
This implementation uses a winner-take-all comparison of the outputs from the individual linear threshold units' score methods.
discreteValue(int[], double[]) - Method in class LBJ2.learn.SupportVectorMachine
The evaluate method returns the class label which yields the highest score for this example.
discreteValueArray(Object) - Method in class LBJ2.classify.Classifier
Returns the values of the discrete array of features that would be returned by this classifier.
discreteValueArray() - Method in class LBJ2.classify.FeatureVector
Returns all the values of the features in this vector (not labels) arranged in a String array.
displayLL - Variable in class LBJ2.learn.SupportVectorMachine
Controls if liblinear-related messages are output
displayLL - Variable in class LBJ2.learn.SupportVectorMachine.Parameters
Determines if liblinear-related output should be displayed; default false
distribute(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalConjunction
Distributes the given disjunction over this conjunction.
distribute(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalDisjunction
Distributes the given conjunction over this disjunction.
DNF() - Method in class LBJ2.infer.PropositionalAtLeast
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalConjunction
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalConstant
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalConstraint
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalDisjunction
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalDoubleImplication
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalImplication
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalNegation
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
DNF() - Method in class LBJ2.infer.PropositionalVariable
Produces a new, logically simplified version of this constraint in disjunctive normal form (DNF).
dollar - Static variable in class LBJ2.nlp.POS
POS object representing the "dollar sign" tag.
doneLearning() - Method in class LBJ2.learn.AdaBoost
Performs learning on the examples stored in AdaBoost.allExamples, if they exist; otherwise do nothing.
doneLearning() - Method in class LBJ2.learn.Learner
Overridden by subclasses to perform any required post-processing computations after all training examples have been observed through Learner.learn(Object) and Learner.learn(Object[]).
doneLearning() - Method in class LBJ2.learn.SparseNetworkLearner
Simply calls doneLearning() on every LTU in the network.
doneLearning() - Method in class LBJ2.learn.SupportVectorMachine
This method converts the arrays of examples stored in this class into input for the liblinear training method.
doneLearning() - Method in class LBJ2.learn.WekaWrapper
Indicates that the classifier is finished learning.
doneWithRound(int) - Method in interface LBJ2.learn.BatchTrainer.DoneWithRound
The hook into BatchTrainer.train(int) as described above.
doneWithRound() - Method in class LBJ2.learn.Learner
Called after each round of training.
doneWithRound() - Method in class LBJ2.learn.SparseNetworkLearner
Simply calls Learner.doneWithRound() on every LTU in the network.
dos - Variable in class LBJ2.util.ExceptionlessOutputStream
The underlying data output stream.
dot(int[], double[], int[], double[]) - Static method in class LBJ2.classify.FeatureVector
Computes the dot product of the 2 argument vectors.
dot(FeatureVector) - Method in class LBJ2.classify.FeatureVector
Take the dot product of two feature vectors.
dot(int[], double[], double) - Method in class LBJ2.learn.BiasedRandomWeightVector
Takes the dot product of this BiasedRandomWeightVector with the argument vector, using the specified default weight when one is not yet present in this vector.
dot(int[], double[], double) - Method in class LBJ2.learn.BiasedWeightVector
Takes the dot product of this BiasedWeightVector with the argument vector, using the specified default weight when one is not yet present in this vector.
dot(int[], double[]) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Takes the dot product of this vector with the given vector, using the hard coded smoothing weight.
dot(int[], double[], double) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Takes the dot product of this vector with the given vector, using the specified default weight when encountering a feature that is not yet present in this vector.
dot(int[], double[]) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Takes the dot product of this AveragedWeightVector with the argument vector, using the hard coded default weight.
dot(int[], double[], double) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Takes the dot product of this AveragedWeightVector with the argument vector, using the specified default weight when one is not yet present in this vector.
dot(int[], double[]) - Method in class LBJ2.learn.SparseWeightVector
Takes the dot product of this SparseWeightVector with the argument vector, using the hard coded default weight.
dot(int[], double[], double) - Method in class LBJ2.learn.SparseWeightVector
Takes the dot product of this SparseWeightVector with the argument vector, using the specified default weight when one is not yet present in this vector.
DT - Static variable in class LBJ2.nlp.POS
POS object representing the "determiner" tag.
DVector - Class in LBJ2.util
This class implements an expandable array of doubles that should be faster than java's Vector.
DVector() - Constructor for class LBJ2.util.DVector
Constructs a new vector with capacity equal to DVector.defaultCapacity.
DVector(int) - Constructor for class LBJ2.util.DVector
Constructs a new vector with the specified capacity.
DVector(double[]) - Constructor for class LBJ2.util.DVector
Constructs a new vector using the specified array as a starting point.
DVector2D - Class in LBJ2.util
This class implements an expandable two dimensional array of doubles that should be faster than java's Vector.
DVector2D() - Constructor for class LBJ2.util.DVector2D
Constructs a new vector with default capacities DVector2D.defaultCapacity1 and DVector2D.defaultCapacity2.
DVector2D(int, int) - Constructor for class LBJ2.util.DVector2D
Constructs a new vector with the specified capacities.
DVector2D(double[][]) - Constructor for class LBJ2.util.DVector2D
Constructs a new vector using the specified array as a starting point.

E

emptyClone() - Method in class LBJ2.learn.BiasedRandomWeightVector
Returns a new, empty weight vector with the same parameter settings as this one.
emptyClone() - Method in class LBJ2.learn.BiasedWeightVector
Returns a new, empty weight vector with the same parameter settings as this one.
emptyClone() - Method in class LBJ2.learn.Learner
Returns a new, emtpy learner into which all of the parameters that control the behavior of the algorithm have been copied.
emptyClone() - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Returns a new, empty weight vector with the same parameter settings as this one.
emptyClone() - Method in class LBJ2.learn.RandomWeightVector
Returns a new, empty weight vector with the same parameter settings as this one.
emptyClone() - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Returns a new, empty weight vector with the same parameter settings as this one.
emptyClone() - Method in class LBJ2.learn.SparseWeightVector
Returns a new, empty weight vector with the same parameter settings as this one.
emptyString - Static variable in class LBJ2.util.ByteString
A byte string representing "".
enclosingQuantificationSettings - Variable in class LBJ2.infer.Quantifier
A list of the objects stored in the quantification variables of enclosing quantifiers.
encode(String) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.DiscreteReferringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.Feature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.RealArrayStringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.RealConjunctiveFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.RealPrimitiveFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.RealReferringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encode(String) - Method in class LBJ2.classify.RealReferringStringFeature
Returns a feature object in which any strings that are being used to represent an identifier or value have been encoded in byte strings.
encoding - Variable in class LBJ2.learn.Learner
The encoding used by this learner's feature lexicon.
encoding - Variable in class LBJ2.learn.Lexicon
The encoding to use for new features added to this lexicon.
encoding - Variable in class LBJ2.util.ByteString
The encoding method used by this instance.
encodingSet - Variable in class LBJ2.learn.Lexicon
This flag remembers whether Lexicon.encoding has been assigned a value yet or not.
end - Variable in class LBJ2.parse.LinkedChild
The offset into the raw data input file at which this child ends.
endsWithCloseBracket(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument ends with any of the following varieties of open bracket: ) } ] -RBR- .
endsWithQuote(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument ends with any of the following varieties of closing quote: ' '' ''' " '" .
environment - Variable in class LBJ2.infer.GurobiHook
The model to be optimized will be associated with this environment.
epsilon - Variable in class LBJ2.learn.SupportVectorMachine
The tolerance of termination criterion; default SupportVectorMachine.defaultEpsilon.
epsilon - Variable in class LBJ2.learn.SupportVectorMachine.Parameters
The tolerance of termination criterion; default SupportVectorMachine.defaultEpsilon.
equality - Variable in class LBJ2.infer.FirstOrderEquality
true if equality, false if inequality.
EQUALITY - Static variable in class LBJ2.infer.ZeroOneILPProblem
Represents the constraint type "equality".
EqualityArgumentReplacer - Class in LBJ2.infer
Anonymous inner classes extending this class are instantiated by the code generated by the LBJ compiler when creating FirstOrderConstraint representations.
EqualityArgumentReplacer(Object[]) - Constructor for class LBJ2.infer.EqualityArgumentReplacer
Initializing constructor.
EqualityArgumentReplacer(Object[], boolean) - Constructor for class LBJ2.infer.EqualityArgumentReplacer
Use this constructor to indicate which of the two arguments of the equality is in fact not quantified.
equals(Object) - Method in class LBJ2.classify.DiscreteArrayFeature
Two DiscreteArrayFeatures are equivalent when their containing packages, identifiers, indices, and values are equivalent.
equals(Object) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Two DiscreteArrayStringFeatures are equivalent when their containing packages, identifiers, indices, and values are equivalent.
equals(Object) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Two conjunctions are equivalent when their arguments are equivalent.
equals(Object) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Two DiscretePrimitive(String)Features are equivalent when their containing packages, identifiers, and values are equivalent.
equals(Object) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Two DiscretePrimitiveStringFeatures are equivalent when their containing packages, identifiers, and values are equivalent.
equals(Object) - Method in class LBJ2.classify.DiscreteReferringFeature
Two DiscreteReferringFeatures are equivalent when their containing packages, identifiers, and referent features are equivalent.
equals(Object) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Two DiscreteReferringStringFeatures are equivalent when their containing packages, identifiers, and referent features are equivalent.
equals(Object) - Method in class LBJ2.classify.Feature
Two Features are equal when their packages and generating classifiers are equivalent.
equals(Object) - Method in class LBJ2.classify.FeatureVector
Two FeatureVectors are equivalent if they contain the same features and labels, as defined by Feature equivalence.
equals(Object) - Method in class LBJ2.classify.RealArrayFeature
Two RealArrayFeatures are equivalent when their containing packages, identifiers, indices, and values are equivalent.
equals(Object) - Method in class LBJ2.classify.RealArrayStringFeature
Two RealArrayStringFeatures are equivalent when their containing packages, identifiers, indices, and values are equivalent.
equals(Object) - Method in class LBJ2.classify.RealConjunctiveFeature
Two conjunctions are equivalent when their arguments are equivalent.
equals(Object) - Method in class LBJ2.classify.RealPrimitiveFeature
Two RealPrimitiveFeatures are equivalent when their containing packages and identifiers are equivalent and their values are equal.
equals(Object) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Two RealPrimitiveStringFeatures are equivalent when their containing packages and identifiers are equivalent and their values are equal.
equals(Object) - Method in class LBJ2.classify.RealReferringFeature
Two RealReferringFeatures are equivalent when their containing packages, identifiers, and referent features are equivalent.
equals(Object) - Method in class LBJ2.classify.RealReferringStringFeature
Two RealReferringStringFeatures are equivalent when their containing packages, identifiers, and referent features are equivalent.
equals(Object) - Method in class LBJ2.infer.AtLeastQuantifier
Two AtLeastQuantifiers are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.infer.AtMostQuantifier
Two AtMostQuantifiers are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.infer.ExistentialQuantifier
Two ExistentialQuantifiers are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.infer.FirstOrderConjunction
Two FirstOrderConjunctions are equivalent when they are topologically equivalent, respecting the associativity and commutivity of disjunction.
equals(Object) - Method in class LBJ2.infer.FirstOrderConstant
Two FirstOrderConstants are equivalent when their constants are equal.
equals(Object) - Method in class LBJ2.infer.FirstOrderDisjunction
Two FirstOrderDisjunctions are equivalent when they are topologically equivalent, respecting the associativity and commutivity of disjunction.
equals(Object) - Method in class LBJ2.infer.FirstOrderDoubleImplication
Two FirstOrderDoubleImplications are equivalent when they are topologically equivalent, respecting the commutativity of double implication.
equals(Object) - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
Two FirstOrderEqualityTwoValuess are equivalent when their children are equivalent in either order.
equals(Object) - Method in class LBJ2.infer.FirstOrderEqualityWithValue
Two FirstOrderEqualityWithValues are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
Two FirstOrderEqualityWithVariables are equivalent when their children are equivalent in either order.
equals(Object) - Method in class LBJ2.infer.FirstOrderImplication
Two FirstOrderImplications are equivalent when they are topologically equivalent.
equals(Object) - Method in class LBJ2.infer.FirstOrderNegation
Two FirstOrderNegations are equivalent when their constraints are equivalent.
equals(Object) - Method in class LBJ2.infer.FirstOrderVariable
Two FirstOrderVariables are equivalent when their classifiers are equivalent and they store the same example object.
equals(Object) - Method in class LBJ2.infer.GLPK
Deprecated. Two Inference objects are equal when they have the same run-time type and store the same head object.
equals(Object) - Method in class LBJ2.infer.ILPInference
Two Inference objects are equal when they have the same run-time type and store the same head object.
equals(Object) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Two Inference objects are equal when they have the same run-time type and store the same head object.
equals(Object) - Method in class LBJ2.infer.PropositionalAtLeast
Two PropositionalAtLeasts are equivalent when they are topologically equivalent; this implementation currently does not respect the associativity and commutativity of at-least.
equals(Object) - Method in class LBJ2.infer.PropositionalConjunction
Two PropositionalConjunctions are equivalent when they are topologically equivalent, respecting the associativity and commutivity of conjunction.
equals(Object) - Method in class LBJ2.infer.PropositionalConstant
Two PropositionalConstants are equivalent when their constants are equal.
equals(Object) - Method in class LBJ2.infer.PropositionalDisjunction
Two PropositionalDisjunctions are equivalent when they are topologically equivalent, respecting the associativity and commutivity of disjunction.
equals(Object) - Method in class LBJ2.infer.PropositionalDoubleImplication
Two PropositionalDoubleImplications are equivalent when they are topologically equivalent, respecting the commutativity of double implication.
equals(Object) - Method in class LBJ2.infer.PropositionalImplication
Two PropositionalImplications are equivalent when they are topologically equivalent.
equals(Object) - Method in class LBJ2.infer.PropositionalNegation
Two PropositionalNegations are equivalent when their constraints are equivalent.
equals(Object) - Method in class LBJ2.infer.PropositionalVariable
Two PropositionalVariables are equivalent when the string representations of their classifiers are equivalent, they store the same example object, and their values are equivalent.
equals(Object) - Method in class LBJ2.infer.QuantifiedConstraintInvocation
Two QuantifiedConstraintInvocations are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.infer.Quantifier
Two Quantifiers are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.infer.UniversalQuantifier
Two UniversalQuantifiers are equivalent when their children are equivalent.
equals(Object) - Method in class LBJ2.learn.Lexicon
Returns whether the given Lexicon object is equal to this one.
equals(Object) - Method in class LBJ2.nlp.Affixes
 
equals(Object) - Method in class LBJ2.nlp.Capitalization
 
equals(Object) - Method in class LBJ2.nlp.Forms
 
equals(Object) - Method in class LBJ2.nlp.POS
Two POS objects are equal iff their value variables are equal.
equals(Object) - Method in class LBJ2.nlp.WordTypeInformation
 
equals(Object) - Method in class LBJ2.util.ByteString
Two byte strings are equivalent if they encode the same string.
equals(Object) - Method in class LBJ2.util.DVector
Two DVectors are considered equal if they contain the same elements and have the same size.
equals(Object) - Method in class LBJ2.util.DVector2D
Two DVector2Ds are considered equal if they contain all the same elements, sizes, and capacities.
equals(Object) - Method in class LBJ2.util.FVector
Two FVectors are considered equal if they contain equivalent elements and have the same size.
equals(Object) - Method in class LBJ2.util.IVector
Two IVectors are considered equal if they contain the same elements and have the same size.
equals(Object) - Method in class LBJ2.util.IVector2D
Two IVector2Ds are considered equal if they contain all the same elements, sizes, and capacities.
equals(Object) - Method in class LBJ2.util.OVector
Two OVectors are considered equal if they contain equivalent elements and have the same size.
evaluate() - Method in class LBJ2.infer.AtLeastQuantifier
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.AtMostQuantifier
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.Constraint
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.ExistentialQuantifier
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderConjunction
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderConstant
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderDisjunction
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderDoubleImplication
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderEqualityWithValue
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderImplication
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.FirstOrderNegation
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalAtLeast
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalConjunction
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalConstant
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalDisjunction
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalDoubleImplication
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalImplication
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalNegation
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.PropositionalVariable
Determines whether the constraint is satisfied.
evaluate() - Method in class LBJ2.infer.QuantifiedConstraintInvocation
If this method is called without first calling setQuantificationVariables(Vector), false will be returned.
evaluate() - Method in class LBJ2.infer.UniversalQuantifier
Determines whether the constraint is satisfied.
evaluate(int[]) - Method in class LBJ2.infer.ZeroOneILPProblem
This method evaluates the objective function on a potential (not necessarily feasible) solution.
EX - Static variable in class LBJ2.nlp.POS
POS object representing the "existential there" tag.
example - Variable in class LBJ2.infer.FirstOrderVariable
The classifier is applied to this example object.
example - Variable in class LBJ2.infer.PropositionalVariable
The classifier is applied to this example object.
exampleData - Variable in class LBJ2.parse.ArrayFileParser
A single array from which all examples can be parsed.
exampleFileName - Variable in class LBJ2.parse.ArrayFileParser
The name of the file to parse.
exampleFileName - Variable in class LBJ2.parse.FeatureVectorParser
Deprecated. The name of the file to parse.
exampleIndex - Variable in class LBJ2.parse.FoldParser
Keeps track of the index of the next example to be returned.
examples - Variable in class LBJ2.learn.BatchTrainer
The number of examples extracted during pre-extraction.
examples - Variable in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Counts the total number of training examples this vector has seen.
examples - Variable in class LBJ2.parse.ArrayParser
An array of examples, returned one at a time by the parser.
examples - Variable in class LBJ2.parse.FoldParser
The total number of examples coming from FoldParser.parser.
exampleToString(Object) - Static method in class LBJ2.infer.Inference
Produces a string representation of an example object.
ExceptionlessInputStream - Class in LBJ2.util
This class intends to operate just as a DataInputStream with some additional convenience methods and built-in exception handling.
ExceptionlessInputStream(InputStream) - Constructor for class LBJ2.util.ExceptionlessInputStream
Creates a new data input stream to read data from the specified underlying input stream.
ExceptionlessOutputStream - Class in LBJ2.util
This class intends to operate just as a DataOutputStream with some additional convenience methods and built-in exception handling.
ExceptionlessOutputStream(OutputStream) - Constructor for class LBJ2.util.ExceptionlessOutputStream
Creates a new data output stream to write data to the specified underlying output stream.
ExistentialQuantifier - Class in LBJ2.infer
An existential quantifier states that the constraint must hold for at least one object from the collection.
ExistentialQuantifier(String, Collection, FirstOrderConstraint) - Constructor for class LBJ2.infer.ExistentialQuantifier
Initializing constructor.
ExistentialQuantifier(String, Collection, FirstOrderConstraint, QuantifierArgumentReplacer) - Constructor for class LBJ2.infer.ExistentialQuantifier
This constructor specifies a variable setter for when this quantifier is itself quantified.
expandFor(int, double) - Method in class LBJ2.util.DVector
Makes sure the capacity and size of the vector can accomodate the given index.
expandFor(int, int, double) - Method in class LBJ2.util.DVector2D
Makes sure the capacities and sizes of the vectors can accomodate the given indexes.
expandFor(int, Feature) - Method in class LBJ2.util.FVector
Makes sure the capacity and size of the vector can accomodate the given index.
expandFor(int, int) - Method in class LBJ2.util.IVector
Makes sure the capacity and size of the vector can accomodate the given index.
expandFor(int, int, int) - Method in class LBJ2.util.IVector2D
Makes sure the capacities and sizes of the vectors can accomodate the given indexes.
expandFor(int, Object) - Method in class LBJ2.util.OVector
Makes sure the capacity and size of the vector can accomodate the given index.
extractor - Variable in class LBJ2.learn.Learner
Stores the classifiers used to produce features.

F

factor() - Method in class LBJ2.infer.PropositionalConjunction
Factoring a conjunction is the opposite of distributing a disjunction over a conjunction.
factor() - Method in class LBJ2.infer.PropositionalDisjunction
Factoring a disjunction is the opposite of distributing a conjunction over a disjunction.
factorial(double) - Static method in class LBJ2.util.StudentT
factorial of n.
False - Static variable in class LBJ2.infer.PropositionalConstant
false
Feature - Class in LBJ2.classify
Objects of this class represent the value of a Classifier's decision.
Feature() - Constructor for class LBJ2.classify.Feature
For internal use only.
Feature(String, String) - Constructor for class LBJ2.classify.Feature
Initializing constructor.
featureCounts - Variable in class LBJ2.learn.Lexicon
Counts the number of occurrences of each feature.
features - Variable in class LBJ2.classify.FeatureVector
Stores non-label features.
featuresSize() - Method in class LBJ2.classify.FeatureVector
Returns the size of just the FeatureVector.features list.
featureValue(Object) - Method in class LBJ2.classify.Classifier
Returns the classification of the given example object as a single feature instead of a FeatureVector.
featureValue(Object) - Method in class LBJ2.classify.MultiValueComparer
Returns the classification of the given example object as a single feature instead of a FeatureVector.
featureValue(Object) - Method in class LBJ2.classify.ValueComparer
Returns the classification of the given example object as a single feature instead of a FeatureVector.
featureValue(Object) - Method in class LBJ2.infer.ParameterizedConstraint
Returns the classification of the given example object as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.AdaBoost
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(Object) - Method in class LBJ2.learn.Learner
Returns the classification of the given example object as a single feature instead of a FeatureVector.
featureValue(FeatureVector) - Method in class LBJ2.learn.Learner
Returns the classification of the given feature vector as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.Learner
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.LinearThresholdUnit
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.MuxLearner
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.NaiveBayes
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.SparseMIRA
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.SparseNetworkLearner
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.StochasticGradientDescent
Returns the classification of the given example as a single feature instead of a FeatureVector.
featureValue(int[], double[]) - Method in class LBJ2.learn.SupportVectorMachine
Returns the classification of the given example as a single feature instead of a FeatureVector.
FeatureVector - Class in LBJ2.classify
Objects of this class are returned by classifiers that have been applied to an object.
FeatureVector() - Constructor for class LBJ2.classify.FeatureVector
Simply instantiates the member variables.
FeatureVector(Feature) - Constructor for class LBJ2.classify.FeatureVector
Creates the vector and adds the given feature to it.
FeatureVector(Feature[]) - Constructor for class LBJ2.classify.FeatureVector
Creates the vector and adds the given features to it.
FeatureVector(Object[], Lexicon, Lexicon) - Constructor for class LBJ2.classify.FeatureVector
Instantiates a feature vector from example arrays and lexicons.
FeatureVectorParser - Class in LBJ2.parse
Deprecated. As of LBJ 2.3.0, the functionality of this class has been superceded by ArrayFileParser.
FeatureVectorParser(String) - Constructor for class LBJ2.parse.FeatureVectorParser
Deprecated. For internal use only.
FeatureVectorParser(String, Feature[]) - Constructor for class LBJ2.parse.FeatureVectorParser
Deprecated. Creates the parser.
FeatureVectorParser(String, String) - Constructor for class LBJ2.parse.FeatureVectorParser
Deprecated. Creates the parser.
FeatureVectorReturner - Class in LBJ2.classify
This classifier expects FeatureVectors as input, and it simply returns them as output.
FeatureVectorReturner() - Constructor for class LBJ2.classify.FeatureVectorReturner
Default constructor.
fieldIsTraining - Variable in class LBJ2.learn.BatchTrainer
BatchTrainer.learner's isTraining field.
fileName - Variable in class LBJ2.nlp.NLDocument
The name of the file this document came from.
fileName - Variable in class LBJ2.parse.LineByLine
The name of the file to parse.
files - Variable in class LBJ2.nlp.WordsInDocumentByDirectory
The list of all files to be parsed.
filesIndex - Variable in class LBJ2.nlp.WordsInDocumentByDirectory
Points to the next element of WordsInDocumentByDirectory.files to be parsed.
fileToArray(File, String) - Static method in class LBJ2.nlp.WordsInDocumentByDirectory
Reads in the specified file, splits it on whitespace, and adds all resulting words to an array which it returns.
fillInSizes() - Method in class LBJ2.learn.BatchTrainer
This method sets the BatchTrainer.examples and BatchTrainer.lexiconSize variables by querying BatchTrainer.parser and BatchTrainer.learner respectively.
filter(Object) - Method in class LBJ2.parse.FoldParser
Convenient for determining if the next example should be returned or not.
finalize() - Method in class LBJ2.jni.GLPKHook
Deletes the problem object with a call to deleteProblem().
first - Variable in class LBJ2.infer.BalasHook
Whether or not the algorithm will halt upon finding its first feasible solution.
first - Variable in class LBJ2.learn.Log
This normalizer runs before applying the log function.
firstFeature() - Method in class LBJ2.classify.FeatureVector
Returns the first feature in FeatureVector.features.
firstLabel() - Method in class LBJ2.classify.FeatureVector
Returns the first feature in FeatureVector.labels.
FirstOrderBinaryConstraint - Class in LBJ2.infer
Represents a first order constraint involving a binary operator.
FirstOrderBinaryConstraint(FirstOrderConstraint, FirstOrderConstraint) - Constructor for class LBJ2.infer.FirstOrderBinaryConstraint
Initializing constructor.
FirstOrderConjunction - Class in LBJ2.infer
Represents the conjunction of first order constraints.
FirstOrderConjunction(FirstOrderConstraint, FirstOrderConstraint) - Constructor for class LBJ2.infer.FirstOrderConjunction
If either of the arguments is itself a FirstOrderConjunction, its contents are flattened into this FirstOrderConjunction.
FirstOrderConstant - Class in LBJ2.infer
A first order constant is either true or false.
FirstOrderConstant(boolean) - Constructor for class LBJ2.infer.FirstOrderConstant
Initializing constructor.
FirstOrderConstraint - Class in LBJ2.infer
All classes for representing first order constraints are derived from this base class.
FirstOrderConstraint() - Constructor for class LBJ2.infer.FirstOrderConstraint
 
FirstOrderDisjunction - Class in LBJ2.infer
Represents the disjunction of first order constraints.
FirstOrderDisjunction(FirstOrderConstraint, FirstOrderConstraint) - Constructor for class LBJ2.infer.FirstOrderDisjunction
If either of the arguments is itself a FirstOrderDisjunction, its contents are flattened into this FirstOrderDisjunction.
FirstOrderDoubleImplication - Class in LBJ2.infer
Represents a double implication between two first order constraints.
FirstOrderDoubleImplication(FirstOrderConstraint, FirstOrderConstraint) - Constructor for class LBJ2.infer.FirstOrderDoubleImplication
Initializing constructor.
FirstOrderEquality - Class in LBJ2.infer
Represents either an equality or an inequality between two values, a classifier application and a value, or two classifier applications.
FirstOrderEquality(boolean) - Constructor for class LBJ2.infer.FirstOrderEquality
Initializing constructor.
FirstOrderEquality(boolean, EqualityArgumentReplacer) - Constructor for class LBJ2.infer.FirstOrderEquality
This constructor specifies a variable setter for when this equality is quantified.
FirstOrderEqualityTwoValues - Class in LBJ2.infer
Represents the comparison of two String values.
FirstOrderEqualityTwoValues(boolean, String, String) - Constructor for class LBJ2.infer.FirstOrderEqualityTwoValues
Initializing constructor.
FirstOrderEqualityTwoValues(boolean, String, String, EqualityArgumentReplacer) - Constructor for class LBJ2.infer.FirstOrderEqualityTwoValues
This constructor specifies a variable setter for when this equality is quantified.
FirstOrderEqualityWithValue - Class in LBJ2.infer
Represents the comparison of a classifier application with a value.
FirstOrderEqualityWithValue(boolean, FirstOrderVariable, String) - Constructor for class LBJ2.infer.FirstOrderEqualityWithValue
Initializing constructor.
FirstOrderEqualityWithValue(boolean, FirstOrderVariable, String, EqualityArgumentReplacer) - Constructor for class LBJ2.infer.FirstOrderEqualityWithValue
This constructor specifies a variable setter for when this equality is quantified.
FirstOrderEqualityWithVariable - Class in LBJ2.infer
Represents the comparison of two classifier applications.
FirstOrderEqualityWithVariable(boolean, FirstOrderVariable, FirstOrderVariable) - Constructor for class LBJ2.infer.FirstOrderEqualityWithVariable
Initializing constructor.
FirstOrderEqualityWithVariable(boolean, FirstOrderVariable, FirstOrderVariable, EqualityArgumentReplacer) - Constructor for class LBJ2.infer.FirstOrderEqualityWithVariable
This constructor specifies a variable setter for when this equality is quantified.
FirstOrderImplication - Class in LBJ2.infer
Represents an implication between two first order constraints.
FirstOrderImplication(FirstOrderConstraint, FirstOrderConstraint) - Constructor for class LBJ2.infer.FirstOrderImplication
Initializing constructor.
FirstOrderNAryConstraint - Class in LBJ2.infer
Represents a first order constraint with an arbitrary number of arguments, usually assumed to be greater than or equal to 2.
FirstOrderNAryConstraint() - Constructor for class LBJ2.infer.FirstOrderNAryConstraint
Default constructor.
FirstOrderNegation - Class in LBJ2.infer
Represents the negation operator applied to a first order constraint.
FirstOrderNegation(FirstOrderConstraint) - Constructor for class LBJ2.infer.FirstOrderNegation
Initializing constructor.
FirstOrderVariable - Class in LBJ2.infer
Represents a classifier application.
FirstOrderVariable(Learner, Object) - Constructor for class LBJ2.infer.FirstOrderVariable
Initializing constructor.
flatten() - Method in class LBJ2.infer.XpressMPHook.XMPDVector2D
Returns all elements in all vectors in a single, one dimensional array in the appropriate order.
flatten() - Method in class LBJ2.infer.XpressMPHook.XMPIVector2D
Returns all elements in all vectors in a single, one dimensional array in the appropriate order.
fold - Variable in class LBJ2.parse.FoldParser
Keeps track of the current fold; used only in manual splitting.
FoldParser - Class in LBJ2.parse
Useful when performing k-fold cross validation, this parser filters the examples coming from another parser.
FoldParser(Parser, int, FoldParser.SplitPolicy, int, boolean) - Constructor for class LBJ2.parse.FoldParser
Constructor for when you don't know how many examples are in the data.
FoldParser(Parser, FoldParser.SplitPolicy, int, boolean) - Constructor for class LBJ2.parse.FoldParser
Constructor for when you know neither how many examples are in the data nor K, i.e., how many folds are in the data.
FoldParser(Parser, int, FoldParser.SplitPolicy, int, boolean, int) - Constructor for class LBJ2.parse.FoldParser
Full constructor.
FoldParser.SplitPolicy - Class in LBJ2.parse
Immutable type representing the way in which examples are partitioned into folds.
FoldParser.SplitPolicy(int) - Constructor for class LBJ2.parse.FoldParser.SplitPolicy
Initializes the object with an index.
FoldSeparator - Class in LBJ2.parse
This is a dummy class which is only used to signify the separation between folds for use in the cross validation method.
FoldSeparator() - Constructor for class LBJ2.parse.FoldSeparator
Blank Constructor, takes nothing, does nothing.
forget() - Method in class LBJ2.learn.AdaBoost
Clears weakLearners and alpha, although this is not necessary since learn(Object[]) will overwrite them fresh each time it is called.
forget() - Method in class LBJ2.learn.Learner
Reinitializes the learner to the state it started at before any learning was performed.
forget() - Method in class LBJ2.learn.LinearThresholdUnit
Resets the weight vector to associate the default weight with all features.
forget() - Method in class LBJ2.learn.MuxLearner
Clears the network.
forget() - Method in class LBJ2.learn.NaiveBayes
Clears the network.
forget() - Method in class LBJ2.learn.SparseAveragedPerceptron
Resets the weight vector to all zeros.
forget() - Method in class LBJ2.learn.SparseConfidenceWeighted
Reinitializes the learner to the state it started at before any learning was performed.
forget() - Method in class LBJ2.learn.SparseMIRA
Clears the network.
forget() - Method in class LBJ2.learn.SparseNetworkLearner
Clears the network.
forget() - Method in class LBJ2.learn.StochasticGradientDescent
Resets the weight vector to all zeros.
forget() - Method in class LBJ2.learn.SupportVectorMachine
Resets the internal bookkeeping.
forget() - Method in class LBJ2.learn.WekaWrapper
Destroys the learned version of the WEKA classifier and empties the WekaWrapper.instances collection of examples.
form - Variable in class LBJ2.nlp.Word
The actual text from the corpus that represents the word.
format(double, int) - Static method in class LBJ2.util.TableFormat
Formats a floating point number so that it is rounded and zero-padded to the given number of significant digits after the decimal point.
Forms - Class in LBJ2.nlp
This class implements a classifier that takes a Word as input and generates features representing the forms of the words in a [-2, +2] window around the input word.
Forms() - Constructor for class LBJ2.nlp.Forms
 
FPMIN - Static variable in class LBJ2.util.StudentT
A small number close to the smallest representable floating point number.
freshClassifier - Variable in class LBJ2.learn.WekaWrapper
Stores a fresh instance of the WEKA classifier for the purposes of forgetting.
fromArray() - Method in class LBJ2.classify.DiscreteArrayFeature
Determines if this feature comes from an array.
fromArray() - Method in class LBJ2.classify.DiscreteArrayStringFeature
Determines if this feature comes from an array.
fromArray() - Method in class LBJ2.classify.Feature
Determines if this feature comes from an array.
fromArray() - Method in class LBJ2.classify.RealArrayFeature
Determines if this feature comes from an array.
fromArray() - Method in class LBJ2.classify.RealArrayStringFeature
Determines if this feature comes from an array.
fromPivot - Variable in class LBJ2.parse.FoldParser
Whether examples will come from the pivot fold or not.
fromToken(String) - Static method in class LBJ2.nlp.POS
Converts a token to the POS object that represents the same part of speech.
fromTokens - Static variable in class LBJ2.nlp.POS
Map from String tokens to POS objects.
FVector - Class in LBJ2.util
This class implements an expandable array of features that should be faster than java's Vector.
FVector() - Constructor for class LBJ2.util.FVector
Constructs a new vector with capacity equal to FVector.defaultCapacity.
FVector(int) - Constructor for class LBJ2.util.FVector
Constructs a new vector with the specified capacity.
FVector(Feature[]) - Constructor for class LBJ2.util.FVector
Constructs a new vector using the specified array as a starting point.
FVector(FVector) - Constructor for class LBJ2.util.FVector
Constructs a copy of a vector starting with capacity equal to that vector's size.
FW - Static variable in class LBJ2.nlp.POS
POS object representing the "foreign word" tag.

G

gamma(double) - Static method in class LBJ2.util.StudentT
Gamma function, Lanczos approximation (6 terms)
generateCuts - Variable in class LBJ2.infer.GLPK
Deprecated. Whether or not to generate Gomory cuts.
generateCuts - Variable in class LBJ2.jni.GLPKHook
Whether or not to generate Gomory cuts.
generatingClassifier - Variable in class LBJ2.classify.Feature
The name of the LBJ classifier that produced this feature.
get(String) - Method in class LBJ2.classify.ScoreSet
Returns the double precision score for a particular classification value.
get(String, Object) - Static method in class LBJ2.infer.InferenceManager
Retrieves the Inference object whose fully qualified name and head object are specified.
get(int) - Method in class LBJ2.parse.LinkedVector
Retrieves the child at the specified index in the vector.
get(int) - Method in class LBJ2.util.DVector
Retrieves the value stored at the specified index of the vector, or 0 if the vector isn't long enough.
get(int, double) - Method in class LBJ2.util.DVector
Retrieves the value stored at the specified index of the vector or d if the vector isn't long enough.
get(int, int) - Method in class LBJ2.util.DVector2D
Retrieves the value stored at the specified index of the vector.
get(int, int, double) - Method in class LBJ2.util.DVector2D
Retrieves the value stored at the specified index of the vector.
get(int) - Method in class LBJ2.util.FVector
Retrieves the value stored at the specified index of the vector, or null if the vector isn't long enough.
get(int, Feature) - Method in class LBJ2.util.FVector
Retrieves the value stored at the specified index of the vector or d if the vector isn't long enough.
get(int) - Method in class LBJ2.util.IVector
Retrieves the value stored at the specified index of the vector, or 0 if the vector isn't long enough.
get(int, int) - Method in class LBJ2.util.IVector
Retrieves the value stored at the specified index of the vector or d if the vector isn't long enough.
get(int, int) - Method in class LBJ2.util.IVector2D
Retrieves the value stored at the specified index of the vector.
get(int, int, int) - Method in class LBJ2.util.IVector2D
Retrieves the value stored at the specified index of the vector.
get(int) - Method in class LBJ2.util.OVector
Retrieves the value stored at the specified index of the vector, or null if the vector isn't long enough.
get(int, Object) - Method in class LBJ2.util.OVector
Retrieves the value stored at the specified index of the vector or d if the vector isn't long enough.
getAllClasses() - Method in class LBJ2.classify.TestDiscrete
Returns the set of all classes reported as either predictions or labels.
getAllowableValues() - Static method in class LBJ2.nlp.Capitalization
 
getAllowableValues() - Static method in class LBJ2.nlp.WordTypeInformation
 
getAlpha() - Method in class LBJ2.learn.Sigmoid
Retrieves the value of Sigmoid.alpha.
getAlpha() - Method in class LBJ2.learn.Softmax
Retrieves the value of Softmax.alpha.
getArgumentKey(Feature, Lexicon, int) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
A helper method for DiscreteConjunctiveFeature.getFeatureKey(Lexicon,boolean,int), this method computes the feature keys corresponding to the arguments of the conjunction.
getArgumentKey(Feature, Lexicon, boolean, int) - Method in class LBJ2.classify.RealConjunctiveFeature
A helper method for RealConjunctiveFeature.getFeatureKey(Lexicon,boolean,int), this method computes the feature keys corresponding to the arguments of the conjunction.
getArrayIndex() - Method in class LBJ2.classify.DiscreteArrayFeature
Returns the array index of this feature.
getArrayIndex() - Method in class LBJ2.classify.DiscreteArrayStringFeature
Returns the array index of this feature.
getArrayIndex() - Method in class LBJ2.classify.RealArrayFeature
Returns the array index of this feature.
getArrayIndex() - Method in class LBJ2.classify.RealArrayStringFeature
Returns the array index of this feature.
getArrayLength() - Method in class LBJ2.classify.DiscreteArrayFeature
Returns the length of the feature array that this feature comes from.
getArrayLength() - Method in class LBJ2.classify.DiscreteArrayStringFeature
Returns the length of the feature array that this feature comes from.
getArrayLength() - Method in class LBJ2.classify.RealArrayFeature
Returns the length of the feature array that this feature comes from.
getArrayLength() - Method in class LBJ2.classify.RealArrayStringFeature
Returns the length of the feature array that this feature comes from.
getAveragedWeight(int, double) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Returns the averaged weight of the given feature.
getBeta() - Method in class LBJ2.learn.BinaryMIRA
Returns the current value of the BinaryMIRA.beta member variable.
getBeta() - Method in class LBJ2.learn.SparseWinnow
Returns the current value of the SparseWinnow.beta variable.
getBooleanValue(int) - Method in class LBJ2.infer.BalasHook
When the problem has been solved, use this method to retrieve the value of any Boolean inference variable.
getBooleanValue(int) - Method in class LBJ2.infer.GurobiHook
When the problem has been solved, use this method to retrieve the value of any Boolean inference variable.
getBooleanValue(int) - Method in interface LBJ2.infer.ILPSolver
When the problem has been solved, use this method to retrieve the value of any Boolean inference variable.
getBooleanValue(int) - Method in class LBJ2.infer.XpressMPHook
When the problem has been solved, use this method to retrieve the value of any Boolean inference variable.
getBooleanValue(int) - Method in class LBJ2.jni.GLPKHook
When the problem has been solved, use this method to retrieve the value of any Boolean inference variable.
getBound() - Method in class LBJ2.infer.QuantifierArgumentReplacer
Computes the new value of the bound.
getBoundType(int) - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the type of the specified constraint's bound.
getByte(int) - Method in class LBJ2.util.ByteString
Returns the byte at index i of value.
getByteStringIdentifier() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.DiscreteReferringFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.DiscreteReferringStringFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.Feature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.RealConjunctiveFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.RealPrimitiveFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.RealPrimitiveStringFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.RealReferringFeature
Retrieves this feature's identifier as a byte string.
getByteStringIdentifier() - Method in class LBJ2.classify.RealReferringStringFeature
Retrieves this feature's identifier as a byte string.
getByteStringValue() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Gives a string representation of the value of this feature.
getByteStringValue() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Gives a string representation of the value of this feature.
getByteStringValue() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Gives a string representation of the value of this feature.
getByteStringValue() - Method in class LBJ2.classify.DiscreteReferrer
Gives a string representation of the value of this feature.
getByteStringValue() - Method in class LBJ2.classify.Feature
Gives a string representation of the value of this feature.
getByteStringValue() - Method in class LBJ2.classify.RealFeature
Gives a string representation of the value of this feature.
getChildFeature(Feature, int) - Method in class LBJ2.learn.ChildLexicon
This method adds the given feature to this lexicon and also recursively adds its children, if any.
getChildFeature(Feature, int) - Method in class LBJ2.learn.Lexicon
Used to lookup the children of conjunctive and referring features during training, this method checks Lexicon.lexiconChildren if the feature isn't present in Lexicon.lexicon and Lexicon.lexiconInv, and then stores the given feature in Lexicon.lexiconChildren if it wasn't present anywhere.
getChildren() - Method in class LBJ2.infer.Constraint
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.FirstOrderBinaryConstraint
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.FirstOrderConstant
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.FirstOrderEquality
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.FirstOrderNAryConstraint
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.FirstOrderNegation
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.PropositionalAtLeast
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.PropositionalBinaryConstraint
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.PropositionalConstant
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.PropositionalNAryConstraint
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.PropositionalNegation
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.PropositionalVariable
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.QuantifiedConstraintInvocation
Returns the children of this constraint in an array.
getChildren() - Method in class LBJ2.infer.Quantifier
Returns the children of this constraint in an array.
getClass(String) - Static method in class LBJ2.util.ClassUtils
Retrieves the Class object with the given name.
getClass(String, boolean) - Static method in class LBJ2.util.ClassUtils
Retrieves the Class object with the given name.
getClassifier() - Method in class LBJ2.infer.FirstOrderVariable
Retrieves the classifier.
getClassifier() - Method in class LBJ2.infer.PropositionalVariable
Retrieves the classifier.
getClassifier(String) - Static method in class LBJ2.util.ClassUtils
Retrieve a Classifier by name using the no-argument constructor.
getClassifier(String, boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve a Classifier by name using the no-argument constructor.
getClassifier(String, Class[], Object[]) - Static method in class LBJ2.util.ClassUtils
Retrieve a Classifier by name using a constructor with arguments.
getClassifier(String, Class[], Object[], boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve a Classifier by name using a constructor with arguments.
getCollection() - Method in class LBJ2.infer.QuantifierArgumentReplacer
Computes the new collection.
getCompositeChildren() - Method in class LBJ2.classify.Classifier
If this classifier is a composite generator, this method will be overridden such that it returns all the classifiers it calls on in a list.
getConfidence() - Method in class LBJ2.learn.SparseConfidenceWeighted
Returns the current value of the SparseConfidenceWeighted.confidence variable.
getConstraintBound(int) - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the bound of the specified constraint.
getConstraintCoefficient(int, int) - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the specified constraint coefficient.
getConstructor(String, Class[]) - Static method in class LBJ2.util.ClassUtils
Retrieve the constructor of the given class with the given parameter types.
getConstructor(String, String[]) - Static method in class LBJ2.util.ClassUtils
Retrieve the constructor of the given class with the given parameter type names.
getConstructor(String, String[], boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve the constructor of the given class with the given parameter type names.
getConstructor(String, Class[], boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve the constructor of the given class with the given parameter types.
getCorrect(String) - Method in class LBJ2.classify.TestDiscrete
Returns the number of times the requested prediction was reported correctly.
getCount() - Method in class LBJ2.learn.NaiveBayes.Count
Returns the integer count.
getCount(int) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Returns the count of the given feature.
getCountPolicy() - Method in class LBJ2.learn.Lexicon
Returns the feature counting policy currently employed by this lexicon.
getCutoff() - Method in class LBJ2.learn.Lexicon
Returns the value of Lexicon.pruneCutoff, or Lexicon.size() if Lexicon.pruneCutoff is -1.
getDistribution(int[], double[]) - Method in class LBJ2.learn.WekaWrapper
Returns a discrete distribution of the classifier's prediction values.
getEligibleVariables(double, IVector) - Method in class LBJ2.infer.BalasHook
Determines which variables have a chance both to improve on the incumbunt solution and to bring the current x closer to feasibility.
getEncoding() - Method in class LBJ2.util.ByteString
Returns the name of the encoding method of this byte string.
getExample() - Method in class LBJ2.infer.FirstOrderVariable
Retrieves the example object.
getExample() - Method in class LBJ2.infer.PropositionalVariable
Retrieves the example object.
getExampleArray(Object) - Method in class LBJ2.learn.Learner
Converts an example object into an array of arrays representing the example including its labels.
getExampleArray(Object, boolean) - Method in class LBJ2.learn.Learner
Converts an example object into an array of arrays representing the example.
getExamples() - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Returns the SparseAveragedPerceptron.AveragedWeightVector.examples variable.
getExamples() - Method in class LBJ2.parse.ArrayParser
Returns the value of ArrayParser.examples.
getExtractor() - Method in class LBJ2.learn.Learner
Returns the extractor.
getF(double, String) - Method in class LBJ2.classify.TestDiscrete
Returns the Fbeta score associated with the given label.
getF1(String) - Method in class LBJ2.classify.TestDiscrete
Returns the F1 score associated with the given label.
getFeature(int) - Method in class LBJ2.classify.FeatureVector
Returns the feature at the specified index.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscreteArrayFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscreteReferringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon) - Method in class LBJ2.classify.Feature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.Feature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealArrayFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealArrayStringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealConjunctiveFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealPrimitiveFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealReferringFeature
Return the feature that should be used to index this feature into a lexicon.
getFeatureKey(Lexicon, boolean, int) - Method in class LBJ2.classify.RealReferringStringFeature
Return the feature that should be used to index this feature into a lexicon.
getFileName() - Method in class LBJ2.nlp.NLDocument
Returns the name of the file this document came from, or null if one was not specified.
getGeneratingClassifier() - Method in class LBJ2.classify.Feature
Retrieves the name of the classifier that produced this feature.
getHead() - Method in class LBJ2.infer.Inference
Retrieves the head object.
getHead() - Method in exception LBJ2.infer.InferenceNotOptimalException
Retrieves the head object, InferenceNotOptimalException.head.
getHeadFinderTypes() - Method in class LBJ2.infer.Inference
Returns the fully qualified names of the types of objects for which head finder methods have been defined.
getHeadType() - Method in class LBJ2.infer.Inference
Returns the fully qualified name of the type of the head object for this inference.
getInitialVariance() - Method in class LBJ2.learn.SparseConfidenceWeighted
Returns the current value of the SparseConfidenceWeighted.initialVariance variable.
getInitialWeight() - Method in class LBJ2.learn.LinearThresholdUnit
Returns the current value of the LinearThresholdUnit.initialWeight variable.
getInputType() - Method in class LBJ2.classify.Classifier
Returns a string describing the input type of this classifier.
getInputType() - Method in class LBJ2.classify.FeatureVectorReturner
Returns a string describing the input type of this classifier.
getInputType() - Method in class LBJ2.classify.LabelVectorReturner
Returns a string describing the input type of this classifier.
getInputType() - Method in class LBJ2.classify.ValueComparer
Returns a string describing the input type of this classifier.
getInputType() - Method in class LBJ2.nlp.Affixes
 
getInputType() - Method in class LBJ2.nlp.Capitalization
 
getInputType() - Method in class LBJ2.nlp.Forms
 
getInputType() - Method in class LBJ2.nlp.WordTypeInformation
 
getIsTraining() - Method in class LBJ2.learn.BatchTrainer
Returns the value of the static isTraining flag inside BatchTrainer.learner's runtime class.
getK() - Method in class LBJ2.parse.FoldParser
Retrieves the value of FoldParser.K, which may have been computed in the constructor if the splitting policy is manual.
getLabel(int) - Method in class LBJ2.classify.FeatureVector
Returns the label at the specified index.
getLabeled(String) - Method in class LBJ2.classify.TestDiscrete
Returns the number of times the requested label was reported.
getLabeler() - Method in class LBJ2.learn.Learner
Returns the labeler.
getLabelLexicon() - Method in class LBJ2.learn.Learner
Returns the label lexicon.
getLabels() - Method in class LBJ2.classify.TestDiscrete
Returns the set of labels that have been reported so far.
getLearner(String) - Static method in class LBJ2.util.ClassUtils
Retrieve a Learner by name using the no-argument constructor.
getLearner(String, boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve a Learner by name using the no-argument constructor.
getLearner(String, Class[], Object[]) - Static method in class LBJ2.util.ClassUtils
Retrieve a Learner by name using a constructor with arguments.
getLearner(String, Class[], Object[], boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve a Learner by name using a constructor with arguments.
getLearningRate() - Method in class LBJ2.learn.BinaryMIRA
Returns the original value of the LinearThresholdUnit.learningRate variable.
getLearningRate() - Method in class LBJ2.learn.SparsePerceptron
Returns the current value of the LinearThresholdUnit.learningRate variable.
getLearningRate() - Method in class LBJ2.learn.SparseWinnow
Returns the current value of the LinearThresholdUnit.learningRate variable.
getLearningRate() - Method in class LBJ2.learn.StochasticGradientDescent
Returns the current value of the StochasticGradientDescent.learningRate variable.
getLeft() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns the value of DiscreteConjunctiveFeature.left.
getLeft() - Method in class LBJ2.classify.RealConjunctiveFeature
Returns the value of RealConjunctiveFeature.left.
getLeftObject() - Method in class LBJ2.infer.EqualityArgumentReplacer
Computes the object on the left hand side of the equality.
getLeftValue() - Method in class LBJ2.infer.EqualityArgumentReplacer
Computes the value on the left hand side of the equality.
getLexicon() - Method in class LBJ2.learn.Learner
Returns the feature lexicon.
getLexiconDiscardCounts() - Method in class LBJ2.learn.Learner
Returns this learner's feature lexicon after discarding any feature counts it may have been storing.
getLexiconLocation() - Method in class LBJ2.learn.Learner
Returns the lexicon's location.
getLog() - Method in class LBJ2.learn.NaiveBayes.Count
Returns the log after updating it.
getM() - Method in class LBJ2.infer.PropositionalAtLeast
Returns the value of m.
getMap() - Method in class LBJ2.learn.Lexicon
Simply returns the map stored in Lexicon.lexicon.
getMaximize() - Method in class LBJ2.infer.ZeroOneILPProblem
Returns true iff the objective function is to be maximized.
getMedianIndex(int[], int, int, Sort.IntComparator) - Static method in class LBJ2.util.Sort
Picks three elements from the array and finds the median value according to the given comparator.
getModelLocation() - Method in class LBJ2.learn.Learner
Returns the model's location.
getMultiplier(double, double, boolean) - Static method in class LBJ2.learn.SparseMIRA
Returns the multiplier for a given weight vector update.
getName() - Method in class LBJ2.learn.Accuracy
Returns the name of the testing metric.
getName() - Method in interface LBJ2.learn.TestingMetric
Returns the name of the testing metric.
getNegativeThickness() - Method in class LBJ2.learn.LinearThresholdUnit
Returns the current value of the LinearThresholdUnit.negativeThickness variable.
getNormalizer(Learner) - Method in class LBJ2.infer.Inference
Returns the normalization function associated with the given classifier in this inference.
getNumExamples() - Method in class LBJ2.parse.ArrayFileParser
Returns the number of examples left in the example file.
getObjectiveCoefficient(int) - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the specified objective coefficient.
getOutputType() - Method in class LBJ2.classify.Classifier
Returns a string describing the output feature type of this classifier.
getOutputType() - Method in class LBJ2.classify.FeatureVectorReturner
Returns a string describing the output type of this classifier.
getOutputType() - Method in class LBJ2.classify.LabelVectorReturner
Returns a string describing the output type of this classifier.
getOutputType() - Method in class LBJ2.learn.MultiLabelLearner
This learner's output type is "discrete%".
getOutputType() - Method in class LBJ2.learn.StochasticGradientDescent
Returns a string describing the output feature type of this classifier.
getOutputType() - Method in class LBJ2.learn.WekaWrapper
This learner's output type is "mixed%".
getOutputType() - Method in class LBJ2.nlp.Affixes
 
getOutputType() - Method in class LBJ2.nlp.Capitalization
 
getOutputType() - Method in class LBJ2.nlp.Forms
 
getOutputType() - Method in class LBJ2.nlp.WordTypeInformation
 
getOverallStats() - Method in class LBJ2.classify.TestDiscrete
Computes overall the overall statistics precision, recall, F1, and accuracy.
getOverallStats(double) - Method in class LBJ2.classify.TestDiscrete
Computes overall the overall statistics precision, recall, Fbeta, and accuracy.
getPackage() - Method in class LBJ2.classify.Feature
Retrieves this feature's package.
getParagraph() - Method in class LBJ2.nlp.SentenceSplitter
This method is used to extract a paragraph at a time from the input.
getParameters() - Method in class LBJ2.learn.AdaBoost
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.BinaryMIRA
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.Learner
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.LinearThresholdUnit
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.MultiLabelLearner
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.MuxLearner
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.NaiveBayes
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.PassiveAggressive
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SparseAveragedPerceptron
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SparseConfidenceWeighted
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SparseMIRA
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SparseNetworkLearner
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SparsePerceptron
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SparseWinnow
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.StochasticGradientDescent
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.SupportVectorMachine
Retrieves the parameters that are set in this learner.
getParameters() - Method in class LBJ2.learn.WekaWrapper
Retrieves the parameters that are set in this learner.
getParser() - Method in class LBJ2.learn.BatchTrainer
Returns the value of BatchTrainer.parser.
getParser() - Method in class LBJ2.parse.FoldParser
Returns the value of FoldParser.parser.
getParser(String) - Static method in class LBJ2.util.ClassUtils
Retrieve a Parser by name using the no-argument constructor.
getParser(String, boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve a Parser by name using the no-argument constructor.
getParser(String, Class[], Object[]) - Static method in class LBJ2.util.ClassUtils
Retrieve a Parser by name using a constructor with arguments.
getParser(String, Class[], Object[], boolean) - Static method in class LBJ2.util.ClassUtils
Retrieve a Parser by name using a constructor with arguments.
getPercentage() - Method in class LBJ2.learn.Lexicon.PruningPolicy
Returns the value of Lexicon.PruningPolicy.percentage.
getPivot() - Method in class LBJ2.parse.FoldParser
Returns the value of FoldParser.pivot.
getPositiveThickness() - Method in class LBJ2.learn.LinearThresholdUnit
Returns the current value of the LinearThresholdUnit.positiveThickness variable.
getPrecision(String) - Method in class LBJ2.classify.TestDiscrete
Returns the precision associated with the given prediction.
getPredicted(String) - Method in class LBJ2.classify.TestDiscrete
Returns the number of times the requested prediction was reported.
getPrediction() - Method in class LBJ2.infer.PropositionalVariable
Retrieves the prediction.
getPredictions() - Method in class LBJ2.classify.TestDiscrete
Returns the set of predictions that have been reported so far.
getPrior() - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Returns the prior count of the prediction value associated with this vector.
getProgressOutput() - Method in class LBJ2.learn.BatchTrainer
Returns the value of BatchTrainer.progressOutput.
getPrunedLexiconSize() - Method in class LBJ2.learn.Learner
Returns the size of the lexicon after any pruning that may have taken place or 0 if the lexicon's location isn't known.
getRecall(String) - Method in class LBJ2.classify.TestDiscrete
Returns the recall associated with the given label.
getReferent() - Method in class LBJ2.classify.DiscreteReferrer
Returns the value of DiscreteReferrer.referent.
getReferent() - Method in class LBJ2.classify.RealReferrer
Returns the value of RealReferrer.referent.
getRight() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns the value of DiscreteConjunctiveFeature.right.
getRight() - Method in class LBJ2.classify.RealConjunctiveFeature
Returns the value of RealConjunctiveFeature.right.
getRightObject() - Method in class LBJ2.infer.EqualityArgumentReplacer
Computes the object on the right hand side of the equality.
getRightValue() - Method in class LBJ2.infer.EqualityArgumentReplacer
Computes the value on the right hand side of the equality.
getScore(String) - Method in class LBJ2.classify.ScoreSet
Retrieves the Score object associated with the given classification value.
getScore() - Method in class LBJ2.infer.FirstOrderVariable
Retrieves the score of the current value of this variable.
getScores() - Method in class LBJ2.infer.FirstOrderVariable
Retrieves all the scores for the values this variable may take.
getSolver() - Method in exception LBJ2.infer.InferenceNotOptimalException
Retrieves the ILP problem instance, InferenceNotOptimalException.solver.
getSolverType(String) - Static method in class LBJ2.learn.SupportVectorMachine.Parameters
Converts the string representation of the solver type into a liblinear.SolverType object to be used by liblinear during training.
getSortedMap(int[], double[]) - Static method in class LBJ2.classify.FeatureVector
Returns a sorted map where the key is the feature index and the value is the feature value.
getStrength() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns the strength of this feature if it were to be placed in a mathematical vector space.
getStrength() - Method in class LBJ2.classify.DiscreteFeature
Returns the strength of this feature if it were to be placed in a mathematical vector space.
getStrength() - Method in class LBJ2.classify.DiscreteReferringFeature
Returns the strength of this feature if it were to be placed in a mathematical vector space.
getStrength() - Method in class LBJ2.classify.DiscreteReferringStringFeature
Returns the strength of this feature if it were to be placed in a mathematical vector space.
getStrength() - Method in class LBJ2.classify.Feature
Returns the strength of this feature if it were to be placed in a mathematical vector space.
getStrength() - Method in class LBJ2.classify.RealConjunctiveFeature
Returns the strength of this feature if it were to be placed in a mathematical vector space.
getStrength() - Method in class LBJ2.classify.RealPrimitiveFeature
Simply returns the value of RealPrimitiveFeature.value.
getStrength() - Method in class LBJ2.classify.RealPrimitiveStringFeature
Simply returns the value of RealPrimitiveStringFeature.value.
getStrength() - Method in class LBJ2.classify.RealReferrer
Simply returns the strength of RealReferrer.referent.
getStrength() - Method in class LBJ2.classify.RealReferringFeature
Simply returns the strength of RealReferrer.referent.
getStrength() - Method in class LBJ2.classify.RealReferringStringFeature
Simply returns the strength of RealReferrer.referent.
getStringIdentifier() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.DiscreteReferringFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.DiscreteReferringStringFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.Feature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.RealConjunctiveFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.RealPrimitiveFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.RealPrimitiveStringFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.RealReferringFeature
Retrieves this feature's identifier as a string.
getStringIdentifier() - Method in class LBJ2.classify.RealReferringStringFeature
Retrieves this feature's identifier as a string.
getStringValue() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Gives a string representation of the value of this feature.
getStringValue() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Gives a string representation of the value of this feature.
getStringValue() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Gives a string representation of the value of this feature.
getStringValue() - Method in class LBJ2.classify.DiscreteReferrer
Gives a string representation of the value of this feature.
getStringValue() - Method in class LBJ2.classify.Feature
Gives a string representation of the value of this feature.
getStringValue() - Method in class LBJ2.classify.RealFeature
Gives a string representation of the value of this feature.
getThreshold(int) - Method in class LBJ2.learn.Lexicon.PruningPolicy
Returns the value of the ith threshold in Lexicon.PruningPolicy.thresholds when in "Percentage" mode, but ignores the parameter i and returns the first element of Lexicon.PruningPolicy.thresholds when in "Absolute" mode.
getThreshold() - Method in class LBJ2.learn.LinearThresholdUnit
Returns the current value of the LinearThresholdUnit.threshold variable.
getValue() - Method in class LBJ2.infer.FirstOrderVariable
Retrieves the value this variable currently takes.
getValue() - Method in class LBJ2.nlp.POS
Returns the integer used to represent this part of speech tag.
getValueIndex() - Method in class LBJ2.classify.DiscreteFeature
Returns the index in the generating classifier's value list of this feature's value.
getValueIndex() - Method in class LBJ2.classify.Feature
Returns the index in the generating classifier's value list of this feature's value.
getVariable(PropositionalVariable) - Method in class LBJ2.infer.Inference
Retrieves the requested variable, creating it first if it doesn't yet exist.
getVariable(FirstOrderVariable) - Method in class LBJ2.infer.Inference
Retrieves the requested variable, creating it first if it doesn't yet exist.
getWeight() - Method in class LBJ2.classify.FeatureVector
Returns the value of FeatureVector.weight.
getWeight(int, double) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Returns the weight of the given feature
getWeight(int, double) - Method in class LBJ2.learn.RandomWeightVector
Returns the double precision value for the given feature, or sets a random one and returns it if one did not already exist.
getWeight(int) - Method in class LBJ2.learn.SparseWeightVector
Returns the weight of the given feature.
getWeight(int, double) - Method in class LBJ2.learn.SparseWeightVector
Returns the weight of the given feature.
global - Static variable in class LBJ2.learn.Lexicon.CountPolicy
Represents global counting.
GLPK - Class in LBJ2.infer
Deprecated. As of LBJ release 2.0.12, it is preferrable to pass a GLPKHook object to the ILPInference constructor.
GLPK(int) - Constructor for class LBJ2.infer.GLPK
Deprecated. Creates an instance with the specified verbosity level.
GLPK(Object, int) - Constructor for class LBJ2.infer.GLPK
Deprecated. Creates an instance with the specified verbosity level.
GLPK() - Constructor for class LBJ2.infer.GLPK
Deprecated. Default constructor.
GLPK(boolean) - Constructor for class LBJ2.infer.GLPK
Deprecated. Initializing constructor.
GLPK(boolean, boolean) - Constructor for class LBJ2.infer.GLPK
Deprecated. Initializing constructor.
GLPK(Object) - Constructor for class LBJ2.infer.GLPK
Deprecated. Initializing constructor.
GLPK(Object, boolean) - Constructor for class LBJ2.infer.GLPK
Deprecated. Initializing constructor.
GLPK(Object, boolean, boolean) - Constructor for class LBJ2.infer.GLPK
Deprecated. Initializing constructor.
GLPKHook - Class in LBJ2.jni
Native interface to the GNU Linear Programming Kit (GLPK), designed for version 4.14.
GLPKHook() - Constructor for class LBJ2.jni.GLPKHook
Creates the problem object with a call to createProblem().
GLPKHook(boolean) - Constructor for class LBJ2.jni.GLPKHook
Creates the problem object with a call to createProblem().
GLPKHook(boolean, int) - Constructor for class LBJ2.jni.GLPKHook
Creates the problem object with a call to createProblem().
GLPKHook(String) - Constructor for class LBJ2.jni.GLPKHook
Creates the problem object with a call to createProblem().
GLPKHook(String, boolean) - Constructor for class LBJ2.jni.GLPKHook
Creates the problem object with a call to createProblem().
GLPKHook(String, boolean, int) - Constructor for class LBJ2.jni.GLPKHook
Creates the problem object with a call to createProblem().
goldHistogram - Variable in class LBJ2.classify.TestDiscrete
The histogram of correct labels.
GREATER_THAN - Static variable in class LBJ2.infer.ZeroOneILPProblem
Represents the constraint type "greater than or equal to".
GurobiHook - Class in LBJ2.infer
This is an interface to the Gurobi Optimizer.
GurobiHook() - Constructor for class LBJ2.infer.GurobiHook
Create a new Gurobi hook with the default environment parameters.
GurobiHook(int) - Constructor for class LBJ2.infer.GurobiHook
Create a new Gurobi hook with the default environment parameters.
GurobiHook(GRBEnv) - Constructor for class LBJ2.infer.GurobiHook
Create a new Gurobi hook with the specified environment.
GurobiHook(GRBEnv, int) - Constructor for class LBJ2.infer.GurobiHook
Create a new Gurobi hook with the specified environment.

H

handleEncodingException(Exception) - Method in class LBJ2.util.ByteString
Handles exceptions generated by unsupported encodings.
handleException(GRBException) - Static method in class LBJ2.infer.GurobiHook
Prints an error message and exits the JVM.
handleException(Exception) - Method in class LBJ2.util.ExceptionlessInputStream
Whenever an exception is caught, this method attempts to close the stream and exit the program.
handleException(Exception) - Method in class LBJ2.util.ExceptionlessOutputStream
Whenever an exception is caught, this method attempts to close the stream and exit the program.
hasByteStringIdentifier() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Determines if this feature contains a byte string identifier field.
hasByteStringIdentifier() - Method in class LBJ2.classify.DiscreteReferringFeature
Determines if this feature contains a byte string identifier field.
hasByteStringIdentifier() - Method in class LBJ2.classify.Feature
Determines if this feature contains a byte string identifier field.
hasByteStringIdentifier() - Method in class LBJ2.classify.RealPrimitiveFeature
Determines if this feature contains a byte string identifier field.
hasByteStringIdentifier() - Method in class LBJ2.classify.RealReferringFeature
Determines if this feature contains a byte string identifier field.
hashCode() - Method in class LBJ2.classify.DiscreteArrayFeature
The hash code of a DiscreteArrayFeature is the sum of the hash codes of the containing package, the identifier, the value and the array index.
hashCode() - Method in class LBJ2.classify.DiscreteArrayStringFeature
The hash code of a DiscreteArrayStringFeature is the sum of the hash codes of the containing package, the identifier, the value and the array index.
hashCode() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns a hash code based on the hash codes of DiscreteConjunctiveFeature.left and DiscreteConjunctiveFeature.right.
hashCode() - Method in class LBJ2.classify.DiscretePrimitiveFeature
The hash code of a DiscretePrimitiveFeature is the sum of the hash codes of its containing package, identifier, and value.
hashCode() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
The hash code of a DiscretePrimitiveStringFeature is the sum of the hash codes of its containing package, identifier, and value.
hashCode() - Method in class LBJ2.classify.DiscreteReferrer
The hash code of a DiscreteReferrer is the sum of the hash codes of its containing package, identifier, and the referent feature.
hashCode() - Method in class LBJ2.classify.DiscreteReferringFeature
The hash code of a DiscreteReferringFeature is the sum of the hash codes of its containing package, identifier, and the referent feature.
hashCode() - Method in class LBJ2.classify.DiscreteReferringStringFeature
The hash code of a DiscreteReferringStringFeature is the sum of the hash codes of its containing package, identifier, and the referent feature.
hashCode() - Method in class LBJ2.classify.Feature
The hash code of a Feature is a function of the hash codes of Feature.containingPackage and Feature.generatingClassifier.
hashCode() - Method in class LBJ2.classify.FeatureVector
The hash code for a FeatureVector is simply the sum of the hash codes of the features and the labels.
hashCode() - Method in class LBJ2.classify.RealArrayFeature
The hash code of a RealArrayFeature is the sum of the hash codes of the containing package, the identifier, the value, and the array index.
hashCode() - Method in class LBJ2.classify.RealArrayStringFeature
The hash code of a RealArrayStringFeature is the sum of the hash codes of the containing package, the identifier, the value, and the array index.
hashCode() - Method in class LBJ2.classify.RealConjunctiveFeature
Returns a hash code based on the hash codes of RealConjunctiveFeature.left and RealConjunctiveFeature.right.
hashCode() - Method in class LBJ2.classify.RealPrimitiveFeature
The hash code of a RealPrimitiveFeature is the sum of the hash codes of the containing package, the identifier, and the value.
hashCode() - Method in class LBJ2.classify.RealPrimitiveStringFeature
The hash code of a RealPrimitiveStringFeature is the sum of the hash codes of the containing package, the identifier, and the value.
hashCode() - Method in class LBJ2.classify.RealReferrer
The hash code of a RealReferrer is the sum of the hash codes of the containing package, the identifier, and the referent feature.
hashCode() - Method in class LBJ2.classify.RealReferringFeature
The hash code of a RealReferringFeature is the sum of the hash codes of the containing package, the identifier, and the referent feature.
hashCode() - Method in class LBJ2.classify.RealReferringStringFeature
The hash code of a RealReferringStringFeature is the sum of the hash codes of the containing package, the identifier, and the referent feature.
hashCode() - Method in class LBJ2.infer.AtLeastQuantifier
The hash code of a AtLeastQuantifier is the sum of the hash codes of its children plus one.
hashCode() - Method in class LBJ2.infer.AtMostQuantifier
The hash code of a AtMostQuantifier is the sum of the hash codes of its children.
hashCode() - Method in class LBJ2.infer.ExistentialQuantifier
The hash code of a ExistentialQuantifier is the sum of the hash codes of its children plus one.
hashCode() - Method in class LBJ2.infer.FirstOrderConjunction
The hash code of a FirstOrderConjunction is the sum of the hash codes of its children plus one.
hashCode() - Method in class LBJ2.infer.FirstOrderConstant
The hash code of a FirstOrderConstant is the hash code of the Boolean object formed from the constant.
hashCode() - Method in class LBJ2.infer.FirstOrderDisjunction
The hash code of a FirstOrderDisjunction is the sum of the hash codes of its children.
hashCode() - Method in class LBJ2.infer.FirstOrderDoubleImplication
The hash code of a FirstOrderDoubleImplication is the sum of the hash codes of its children plus three.
hashCode() - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
The hash code of a FirstOrderEqualityTwoValues is the sum of the hash codes of its children.
hashCode() - Method in class LBJ2.infer.FirstOrderEqualityWithValue
The hash code of a FirstOrderEqualityWithValue is the sum of the hash codes of its children plus 1.
hashCode() - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
The hash code of a FirstOrderEqualityWithVariable is the sum of the hash codes of its children plus 2.
hashCode() - Method in class LBJ2.infer.FirstOrderImplication
The hash code of a FirstOrderImplication is the sum of the hash codes of its children plus two.
hashCode() - Method in class LBJ2.infer.FirstOrderNegation
The hash code of a FirstOrderNegation is the hash code of its child constraint plus 1.
hashCode() - Method in class LBJ2.infer.FirstOrderVariable
The hash code of a FirstOrderVariable is the hash code of the string representation of the classifier plus the system's hash code for the example object.
hashCode() - Method in class LBJ2.infer.ILPInference
Simply returns the head's hash code.
hashCode() - Method in class LBJ2.infer.PropositionalAtLeast
The hash code of a PropositionalAtLeast is the sum of the hash codes of its children plus two.
hashCode() - Method in class LBJ2.infer.PropositionalConjunction
The hash code of a PropositionalConjunction is the sum of the hash codes of its children plus one.
hashCode() - Method in class LBJ2.infer.PropositionalConstant
The hash code of a PropositionalConstant is the hash code of the Boolean object formed from the constant.
hashCode() - Method in class LBJ2.infer.PropositionalDisjunction
The hash code of a PropositionalDisjunction is the sum of the hash codes of its children.
hashCode() - Method in class LBJ2.infer.PropositionalDoubleImplication
The hash code of a PropositionalDoubleImplication is the sum of the hash codes of its children plus three.
hashCode() - Method in class LBJ2.infer.PropositionalImplication
The hash code of a PropositionalImplication is the sum of the hash codes of its children plus two.
hashCode() - Method in class LBJ2.infer.PropositionalNegation
The hash code of a PropositionalNegation is the hash code of its child constraint plus 1.
hashCode() - Method in class LBJ2.infer.PropositionalVariable
The hash code of a PropositionalVariable is the hash code of the string representation of the classifier plus the system's hash code for the example object plus the hash code of the prediction.
hashCode() - Method in class LBJ2.infer.QuantifiedConstraintInvocation
The hash code of a QuantifiedConstraintInvocation is the sum of the hash codes of its children.
hashCode() - Method in class LBJ2.infer.Quantifier
The hash code of a Quantifier is the sum of the hash codes of its children plus three.
hashCode() - Method in class LBJ2.infer.UniversalQuantifier
The hash code of a UniversalQuantifier is the sum of the hash codes of its children.
hashCode() - Method in class LBJ2.learn.Lexicon
Returns a hash code for this lexicon.
hashCode() - Method in class LBJ2.nlp.Affixes
 
hashCode() - Method in class LBJ2.nlp.Capitalization
 
hashCode() - Method in class LBJ2.nlp.Forms
 
hashCode() - Method in class LBJ2.nlp.POS
Simply returns the value variable.
hashCode() - Method in class LBJ2.nlp.WordTypeInformation
 
hashCode - Variable in class LBJ2.util.ByteString
The hash code of the String decoding of this byte string.
hashCode() - Method in class LBJ2.util.ByteString
Returns a hash code for this object.
hashCode() - Method in class LBJ2.util.DVector
A hash code based on the hash code of DVector.vector.
hashCode() - Method in class LBJ2.util.DVector2D
A hash code based on the hash codes of the constituents of DVector2D.vector.
hashCode() - Method in class LBJ2.util.FVector
A hash code based on the hash code of FVector.vector.
hashCode() - Method in class LBJ2.util.IVector
A hash code based on the hash code of IVector.vector.
hashCode() - Method in class LBJ2.util.IVector2D
A hash code based on the hash codes of the constituents of IVector2D.vector.
hashCode() - Method in class LBJ2.util.OVector
A hash code based on the hash code of OVector.vector.
hasNulls() - Method in class LBJ2.classify.TestDiscrete
Returns true iff there exist "null" labels.
hasStartMarker(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument contains any of the following varieties of "start marker" at its beginning: an open quote, and open bracket, or a capital letter.
hasStringIdentifier() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Determines if this feature contains a string identifier field.
hasStringIdentifier() - Method in class LBJ2.classify.DiscreteReferringStringFeature
Determines if this feature contains a string identifier field.
hasStringIdentifier() - Method in class LBJ2.classify.Feature
Determines if this feature contains a string identifier field.
hasStringIdentifier() - Method in class LBJ2.classify.RealPrimitiveStringFeature
Determines if this feature contains a string identifier field.
hasStringIdentifier() - Method in class LBJ2.classify.RealReferringStringFeature
Determines if this feature contains a string identifier field.
head - Variable in class LBJ2.infer.Inference
Objects of this class are differentiated by their "head" objects.
head - Variable in exception LBJ2.infer.InferenceNotOptimalException
The head object of the inference problem.
highScoreValue() - Method in class LBJ2.classify.ScoreSet
Retrieves the value with the highest score in this set.
histogramAdd(HashMap, String, int) - Method in class LBJ2.classify.TestDiscrete
Takes a histogram implemented as a map and increments the count for the given key by the given amount.
histogramAddAll(HashMap, HashMap) - Method in class LBJ2.classify.TestDiscrete
Takes two histograms implemented as maps and adds the amounts found in the second histogram to the amounts found in the first.
histogramGet(HashMap, String) - Method in class LBJ2.classify.TestDiscrete
Takes a histogram implemented as a map and retrieves the count for the given key.

I

ID - Variable in class LBJ2.infer.GLPK
Deprecated. The identification number for this object, used in debug file names.
ID - Variable in class LBJ2.infer.ILPInference
The identification number for this object, used in debug file names.
identifier - Variable in class LBJ2.classify.DiscretePrimitiveFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.DiscretePrimitiveStringFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.DiscreteReferringFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.DiscreteReferringStringFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.RealPrimitiveFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.RealPrimitiveStringFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.RealReferringFeature
The identifier string distinguishes this Feature from other Features.
identifier - Variable in class LBJ2.classify.RealReferringStringFeature
The identifier string distinguishes this Feature from other Features.
IdentityNormalizer - Class in LBJ2.learn
This Normalizer simply returns the same ScoreSet it was passed as input without modifying anything.
IdentityNormalizer() - Constructor for class LBJ2.learn.IdentityNormalizer
 
idsToVariables(int[]) - Method in class LBJ2.infer.GurobiHook
Given an array of variable indexes, this method returns the corresponding Gurobi variable objects in an array.
ILPInference - Class in LBJ2.infer
This class employs an ILPSolver to solve a constrained inference problem.
ILPInference() - Constructor for class LBJ2.infer.ILPInference
Don't use this constructor, since it doesn't set an ILP algorithm.
ILPInference(ILPSolver) - Constructor for class LBJ2.infer.ILPInference
Initializes the ILP algorithm, but not the head object.
ILPInference(ILPSolver, int) - Constructor for class LBJ2.infer.ILPInference
Initializes the ILP algorithm, but not the head object.
ILPInference(Object) - Constructor for class LBJ2.infer.ILPInference
Don't use this constructor, since it doesn't set an ILP algorithm.
ILPInference(Object, ILPSolver) - Constructor for class LBJ2.infer.ILPInference
Sets the head object and the ILP algorithm.
ILPInference(Object, ILPSolver, int) - Constructor for class LBJ2.infer.ILPInference
Sets the head object and the ILP algorithm.
ILPSolver - Interface in LBJ2.infer
Classes that implement this interface contain implementations of algorithms that solve Integer Linear Programming problems.
IN - Static variable in class LBJ2.nlp.POS
POS object representing the "preposition" tag.
in - Variable in class LBJ2.parse.ArrayFileParser
Reader for file currently being parsed.
in - Variable in class LBJ2.parse.FeatureVectorParser
Deprecated. Reader for file currently being parsed.
in - Variable in class LBJ2.parse.LineByLine
Reader for file currently being parsed.
includePruned - Variable in class LBJ2.parse.ArrayFileParser
Whether the returned example arrays should include pruned features.
increment(PropositionalConstraint[][], int[]) - Static method in class LBJ2.infer.PropositionalDisjunction
Utility method for iterating through all combinations of constraint children.
increment(double) - Method in class LBJ2.learn.NaiveBayes.Count
Increments the count, but does not update the log.
increment(Object) - Method in class LBJ2.parse.FoldParser
Changes state to reflect retrieval of the next example from the parser.
increment(int) - Method in class LBJ2.util.IVector
Increments the integer at the given index by 1.
increment(int, int) - Method in class LBJ2.util.IVector
Increments the integer at the given index by 1.
increment(int, int) - Method in class LBJ2.util.IVector2D
Increments the integer at the given index by 1.
increment(int, int, int) - Method in class LBJ2.util.IVector2D
Increments the integer at the given index by 1.
incrementCount(int, int) - Method in class LBJ2.learn.Lexicon
Increments the count of the feature with the given index(es).
incrementCount(int, double) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Increments the count of the given feature.
incrementParentCounts(Feature, int) - Method in class LBJ2.learn.ChildLexicon
Helper method for methods like ChildLexicon.childLexiconLookup(DiscreteConjunctiveFeature,int) that actually does the work of looking up the child feature and updating its parent counts.
index - Variable in class LBJ2.learn.Lexicon.CountPolicy
Can be used to index the Lexicon.CountPolicy.names array.
index - Variable in class LBJ2.learn.Lexicon.PruningPolicy
Can be used to index the Lexicon.PruningPolicy.names array.
index - Variable in class LBJ2.nlp.SentenceSplitter
When the constructor taking an array argument is used, this variable keeps track of the element in the array currently being used.
index - Variable in class LBJ2.parse.ArrayParser
The pointer to the current cell of the ArrayParser.examples array.
index - Variable in class LBJ2.parse.FoldParser.SplitPolicy
Can be used to index the FoldParser.SplitPolicy.names array.
indexMap - Variable in class LBJ2.infer.GLPK
Deprecated. Used during ILP constraint generation.
indexMap - Variable in class LBJ2.infer.ILPInference
Used during ILP constraint generation.
indexMap() - Method in class LBJ2.infer.XpressMPHook.XMPDVector2D
The array returned by this method contains indexes into the array returned by XpressMPHook.XMPDVector2D.flatten() indicating where each subvector began and ended before they were flattened.
indexMap() - Method in class LBJ2.infer.XpressMPHook.XMPIVector2D
The array returned by this method contains indexes into the array returned by XpressMPHook.XMPIVector2D.flatten() indicating where each subvector began and ended before they were flattened.
infer() - Method in class LBJ2.infer.GLPK
Deprecated. Uses the lpx_intopt(LPX*) C routine from the GLPK library to solve the ILP proglem if it hasn't already been solved.
infer() - Method in class LBJ2.infer.ILPInference
Uses the provided ILP algorithm to solve the ILP proglem if it hasn't already been solved.
infer() - Method in class LBJ2.infer.Inference
Derived classes implement this method to perform the inference, setting the values of the variables such that they maximize the objective function while satisfying the constraints.
infer() - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Uses the lpx_intopt(LPX*) C routine from the GLPK library to solve the ILP proglem if it hasn't already been solved.
Inference - Class in LBJ2.infer
An object of this class keeps track of all the information necessary to perform inference.
Inference() - Constructor for class LBJ2.infer.Inference
Default constructor.
Inference(Object) - Constructor for class LBJ2.infer.Inference
Initializes the head object.
InferenceManager - Class in LBJ2.infer
The inference manager is a cache of Inference objects accessed via their names and head objects.
InferenceManager() - Constructor for class LBJ2.infer.InferenceManager
 
InferenceNotOptimalException - Exception in LBJ2.infer
Exceptions of this type are thrown by the ILPInference class when the selected ILPSolver did not successfully find the optimal solution to the inference problem.
InferenceNotOptimalException(ILPSolver, Object) - Constructor for exception LBJ2.infer.InferenceNotOptimalException
Initializing constructor.
initialBias - Variable in class LBJ2.learn.BiasedWeightVector
The first value for BiasedWeightVector.bias.
initialize() - Method in class LBJ2.infer.Quantifier
Makes sure that the enclosingQuantificationSettings vector exists, then adds a place holder for this quantifier's quantification variable setting.
initialize(int, int) - Method in class LBJ2.learn.AdaBoost
Initializes the weight vector array to the size of the supplied number of features.
initialize(int, int) - Method in class LBJ2.learn.Learner
This method is sometimes called before training begins, although it is not guaranteed to be called at all.
initialize(int, int) - Method in class LBJ2.learn.LinearThresholdUnit
Initializes the weight vector array to the size of the specified number of features, setting each weight equal to LinearThresholdUnit.initialWeight.
initialize(int, int) - Method in class LBJ2.learn.SparseAveragedPerceptron
Initializes the weight vector array to the size of the supplied number of features, with each cell taking the default value of LinearThresholdUnit.initialWeight.
initialize(int, int) - Method in class LBJ2.learn.SparseNetworkLearner
Sets the number of examples and features.
initialize(int, int) - Method in class LBJ2.learn.SupportVectorMachine
Initializes the example vector arrays.
initializeAttributes() - Method in class LBJ2.learn.WekaWrapper
Takes attributeString and initializes this wrapper's WekaWrapper.instances collection to take those attributes.
initialVariance - Variable in class LBJ2.learn.SparseConfidenceWeighted
The strictly positive initial variance of the parameters; default SparseConfidenceWeighted.defaultInitialVariance.
initialVariance - Variable in class LBJ2.learn.SparseConfidenceWeighted.Parameters
The strictly positive initial variance of the parameters; default SparseConfidenceWeighted.defaultInitialVariance.
initialWeight - Variable in class LBJ2.learn.LinearThresholdUnit
The weight associated with a feature when first added to the vector; default LinearThresholdUnit.defaultInitialWeight.
initialWeight - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
The weight associated with a feature when first added to the vector; default LinearThresholdUnit.defaultInitialWeight.
input - Variable in class LBJ2.nlp.SentenceSplitter
When the constructor taking an array argument is used, this variable stores that array.
insert(LinkedChild, int) - Method in class LBJ2.parse.LinkedVector
Inserts the specified child into the specified index.
instanceCount - Static variable in class LBJ2.learn.RandomWeightVector
Keeps track of how many objects of this class have been constructed.
instanceNumber - Variable in class LBJ2.learn.RandomWeightVector
Remembers the instance number of this instance.
instances - Variable in class LBJ2.learn.WekaWrapper
The main collection of Instance objects.
instantiate(String[]) - Static method in class LBJ2.classify.TestDiscrete
Given command line parameters representing the fully qualified names of the classifier to be tested, the oracle classifier to test against, the parser supplying the testing objects, and the input parameter to the parser's constructor this method instantiates all three objects.
intersect(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalConjunction
The intersection of two conjunctions is the set of all terms that are common to both conjunctions; the intersection of a conjunction and some other constraint c is c if c is contained in the conjunction and the empty set otherwise.
intersect(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalDisjunction
The intersection of two disjunctions is the set of all terms that are common to both disjunctions; the intersection of a disjunction and some other constraint c is c if c is contained in the disjunction and the empty set otherwise.
inURL - Variable in class LBJ2.nlp.Sentence
Indicates whether the corresponding index in the text has been determined to be part of a URL; used by Sentence.partOfURL(int).
InvocationArgumentReplacer - Class in LBJ2.infer
Anonymous inner classes extending this class are instantiated by the code generated by the LBJ compiler when creating QuantifiedConstraintInvocation representations.
InvocationArgumentReplacer(Object[]) - Constructor for class LBJ2.infer.InvocationArgumentReplacer
Initializing constructor.
isAbsolute() - Method in class LBJ2.learn.Lexicon.PruningPolicy
true iff the policy is absolute thresholding.
isClose(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument represents a closing bracket or a closing quote.
isClosingBracket(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument is exactly equal to any of the following varieties of closing bracket: ) } ] -RBR- .
isClosingQuote(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument is exactly equal to any of the following varieties of closing quote: ' '' ''' " '" .
isConjunctive() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Determines if this feature is conjunctive.
isConjunctive() - Method in class LBJ2.classify.Feature
Determines if this feature is conjunctive.
isConjunctive() - Method in class LBJ2.classify.RealConjunctiveFeature
Determines if this feature is conjunctive.
isDiscrete() - Method in class LBJ2.classify.DiscreteFeature
Determines if this feature is discrete.
isDiscrete() - Method in class LBJ2.classify.Feature
Determines if this feature is discrete.
isDiscrete() - Method in class LBJ2.classify.RealFeature
Determines if this feature is discrete.
isHonorific(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines wheter the argument is exactly equal to any of the honorifics listed below.
isLabeled() - Method in class LBJ2.classify.FeatureVector
Determines whether this vector has any labels.
isNone() - Method in class LBJ2.learn.Lexicon.PruningPolicy
true iff the policy is no pruning.
isNull(String) - Method in class LBJ2.classify.TestDiscrete
Determines if a label is treated as a "null" label.
isPercentage() - Method in class LBJ2.learn.Lexicon.PruningPolicy
true iff the policy is percentage thresholding.
isPrimitive() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Determines if this feature is primitive.
isPrimitive() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Determines if this feature is primitive.
isPrimitive() - Method in class LBJ2.classify.Feature
Determines if this feature is primitive.
isPrimitive() - Method in class LBJ2.classify.RealPrimitiveFeature
Determines if this feature is primitive.
isPrimitive() - Method in class LBJ2.classify.RealPrimitiveStringFeature
Determines if this feature is primitive.
isPruned(int, Lexicon.PruningPolicy) - Method in class LBJ2.learn.Lexicon
Determines if the given feature index should be pruned according to the given pruning policy, which must have its thresholds set already in the case that it represents the "Percentage" policy.
isPruned(int, int, Lexicon.PruningPolicy) - Method in class LBJ2.learn.Lexicon
Determines if the given feature index should be pruned according to the given pruning policy, which must have its thresholds set already in the case that it represents the "Percentage" policy.
isReferrer() - Method in class LBJ2.classify.DiscreteReferrer
Determines if this feature is a referring feature.
isReferrer() - Method in class LBJ2.classify.Feature
Determines if this feature is a referring feature.
isReferrer() - Method in class LBJ2.classify.RealReferrer
Determines if this feature is a referring feature.
isSolved() - Method in class LBJ2.infer.BalasHook
Tests whether the problem represented by this ILPSolver instance has been solved already.
isSolved - Variable in class LBJ2.infer.GurobiHook
Whether or not the model has been solved.
isSolved() - Method in class LBJ2.infer.GurobiHook
Tests whether the problem represented by this ILPSolver instance has been solved already.
isSolved() - Method in interface LBJ2.infer.ILPSolver
Tests whether the problem represented by this ILPSolver instance has been solved already.
isSolved() - Method in class LBJ2.infer.XpressMPHook
Tests whether the problem represented by this ILPSolver instance has been solved already.
isSolved() - Method in class LBJ2.jni.GLPKHook
Tests whether the problem represented by this ILPSolver instance has been solved already.
isTerminal(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument is exactly equal to any of the following terminal abbreviations: Esq Jr Sr M.D Ph.D .
isTimeZone(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument is a United States time zone abbreviation (AST, CST, EST, HST, MST, PST, ADT, CDT, EDT, HDT, MDT, PDT, or UTC-11).
IVector - Class in LBJ2.util
This class implements an expandable array of ints that should be faster than java's Vector.
IVector() - Constructor for class LBJ2.util.IVector
Constructs a new vector with capacity equal to IVector.defaultCapacity.
IVector(int) - Constructor for class LBJ2.util.IVector
Constructs a new vector with the specified capacity.
IVector(int[]) - Constructor for class LBJ2.util.IVector
Constructs a new vector using the specified array as a starting point.
IVector(IVector) - Constructor for class LBJ2.util.IVector
Copy constructor.
IVector2D - Class in LBJ2.util
This class implements an expandable two dimensional array of ints that should be faster than java's Vector.
IVector2D() - Constructor for class LBJ2.util.IVector2D
Constructs a new vector with default capacities IVector2D.defaultCapacity1 and IVector2D.defaultCapacity2.
IVector2D(int, int) - Constructor for class LBJ2.util.IVector2D
Constructs a new vector with the specified capacities.
IVector2D(int[][]) - Constructor for class LBJ2.util.IVector2D
Constructs a new vector using the specified array as a starting point.

J

JJ - Static variable in class LBJ2.nlp.POS
POS object representing the "adjective" tag.
JJR - Static variable in class LBJ2.nlp.POS
POS object representing the "comparative adjective" tag.
JJS - Static variable in class LBJ2.nlp.POS
POS object representing the "superlative adjective" tag.

K

K - Variable in class LBJ2.parse.FoldParser
The total number of folds.
kth - Static variable in class LBJ2.parse.FoldParser.SplitPolicy
Represents the split policy in which every kth example is part of the same fold.

L

L2NormSquared() - Method in class LBJ2.classify.FeatureVector
Returns the square of the magnitude of the feature vector.
L2NormSquared(double[]) - Static method in class LBJ2.classify.FeatureVector
Returns the square of the magnitude of the given vector.
label - Variable in class LBJ2.nlp.seg.Token
This field stores the type tag found in labeled data.
label - Variable in class LBJ2.parse.LinkedChild
Space for a label for this linked child.
labeler - Variable in class LBJ2.classify.ValueComparer
The classifier whose value will be compared.
labeler - Variable in class LBJ2.learn.Learner
Stores the classifier used to produce labels.
labeler - Variable in class LBJ2.nlp.seg.BIOTester
A BIO classifier that produces the true labels of the Tokens.
labelLexicon - Variable in class LBJ2.learn.Learner
Stores the label Lexicon.
labels - Variable in class LBJ2.classify.FeatureVector
Stores labels.
labelsSize() - Method in class LBJ2.classify.FeatureVector
Returns the size of just the FeatureVector.labels list.
LabelVectorReturner - Class in LBJ2.classify
This classifier expects a FeatureVector as input, and it returns the contents of its labels list in a new FeatureVector as output.
LabelVectorReturner() - Constructor for class LBJ2.classify.LabelVectorReturner
Default constructor.
lazyMapCreation() - Method in class LBJ2.learn.Lexicon
Various other methods in this class call this method to ensure that Lexicon.lexicon is populated before performing operations on it.
LBJ2.classify - package LBJ2.classify
Contains classes representing classifiers and features, as well as utility classes related to classifiers and features that may come in handy.
LBJ2.infer - package LBJ2.infer
Inference algorithms are implemented here (derived from Inference), but most of the classes in this package are used internally by LBJ at runtime to represent constraints and to translate between constraint representations.
LBJ2.jni - package LBJ2.jni
Classes with methods implemented in C++ are kept in this package; currently the only one is GLPKHook.
LBJ2.learn - package LBJ2.learn
Learning algorithms, normalizers (used in inference; see Normalizer), testing metrics (used in cross validation; see TestingMetric), and other utility classes can be found in this package.
LBJ2.nlp - package LBJ2.nlp
Parsers, data structures, pre-processing algorithms, and common feature extracting classifiers (implemented with LBJ) useful for natural language processing are implemented in this package.
LBJ2.nlp.seg - package LBJ2.nlp.seg
The segmentation of sequences of words into semantically meaningful groups is a common NLP paradigm; this package aims to support such tasks in a general way.
LBJ2.parse - package LBJ2.parse
Here, a couple of general purpose data structures and parsers that instantiate them are defined, as well as the Parser interface, which is central to the LBJ learning classifier syntax.
LBJ2.util - package LBJ2.util
Utility routines for math related stuff, formatting, etc., are defined here.
lcFilePath - Variable in class LBJ2.learn.Learner
Caches the location of this learner's offline binary representation.
learn(Object) - Method in class LBJ2.learn.AdaBoost
This method adds the example object to the array storing the training examples.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.AdaBoost
This method adds the example object to the array storing the training examples.
learn(Object) - Method in class LBJ2.learn.Learner
Trains the learning algorithm given an object as an example.
learn(FeatureVector) - Method in class LBJ2.learn.Learner
Trains the learning algorithm given a feature vector as an example.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.Learner
Trains the learning algorithm given an example formatted as arrays of feature indices, their values, and the example labels.
learn(Object[]) - Method in class LBJ2.learn.Learner
Trains the learning algorithm given many objects as examples.
learn(FeatureVector[]) - Method in class LBJ2.learn.Learner
Trains the learning algorithm given many feature vectors as examples.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.LinearThresholdUnit
The default training algorithm for a linear threshold unit consists of evaluating the example object with the LinearThresholdUnit.score(Object) method and LinearThresholdUnit.threshold, checking the result of evaluation against the label, and, if they are different, promoting when the label is positive or demoting when the label is negative.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.MuxLearner
The training example is multiplexed to the appropriate Learner(s).
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.NaiveBayes
Trains the learning algorithm given an object as an example.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.SparseAveragedPerceptron
This method works just like LinearThresholdUnit.learn(int[],double[],int[],double[]), except it notifies its weight vector when it got an example correct in addition to updating it when it makes a mistake.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.SparseConfidenceWeighted
Updates the means and variances according to the new labeled example.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.SparseMIRA
Finds the optimal multiplier settings before updating the weight vectors.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.SparseNetworkLearner
Each example is treated as a positive example for the linear threshold unit associated with the label's value that is active for the example and as a negative example for all other linear threshold units in the network.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.StochasticGradientDescent
Trains the learning algorithm given an object as an example.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.SupportVectorMachine
This method adds the example's features and labels to the arrays storing the training examples.
learn(int[], double[], int[], double[]) - Method in class LBJ2.learn.WekaWrapper
Since WEKA classifiers cannot learn online, this method causes no actual learning to occur, it simply creates an Instance object from this example and adds it to a set of examples from which the classifier will be built once WekaWrapper.doneLearning() is called.
learner - Variable in class LBJ2.learn.BatchTrainer
The learning classifier being trained.
Learner - Class in LBJ2.learn
Extend this class to create a new Classifier that learns to mimic one an oracle classifier given a feature extracting classifier and example objects.
Learner() - Constructor for class LBJ2.learn.Learner
This constructor is used by the LBJ2 compiler; it should never be called by a programmer.
Learner(String) - Constructor for class LBJ2.learn.Learner
Initializes the name.
Learner(String, Classifier) - Constructor for class LBJ2.learn.Learner
Constructor for unsupervised learning.
Learner(String, Classifier, Classifier) - Constructor for class LBJ2.learn.Learner
Constructor for supervised learning.
Learner.Parameters - Class in LBJ2.learn
Parameters classes are used to hold values for learning algorithm parameters, and all learning algorithm implementations must provide a constructor that takes such an object as input.
Learner.Parameters() - Constructor for class LBJ2.learn.Learner.Parameters
Sets all the default values.
Learner.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.Learner.Parameters
Copy constructor.
learnerClass - Variable in class LBJ2.learn.BatchTrainer
BatchTrainer.learner's class.
LearnerToText - Class in LBJ2.learn
This extremely simple class can be used to print a textual representation of a trained learner to STDOUT.
LearnerToText() - Constructor for class LBJ2.learn.LearnerToText
 
learningRate - Variable in class LBJ2.learn.LinearThresholdUnit
The rate at which weights are updated; default LinearThresholdUnit.defaultLearningRate.
learningRate - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
The rate at which weights are updated; default LinearThresholdUnit.defaultLearningRate.
learningRate - Variable in class LBJ2.learn.StochasticGradientDescent
The rate at which weights are updated; default StochasticGradientDescent.defaultLearningRate.
learningRate - Variable in class LBJ2.learn.StochasticGradientDescent.Parameters
The rate at which weights are updated; default StochasticGradientDescent.defaultLearningRate.
left - Variable in class LBJ2.classify.DiscreteConjunctiveFeature
One feature argument.
left - Variable in class LBJ2.classify.RealConjunctiveFeature
One feature argument.
left - Variable in class LBJ2.infer.FirstOrderBinaryConstraint
The constraint on the left of the operator.
left - Variable in class LBJ2.infer.FirstOrderEqualityTwoValues
The value on the left of the equality.
left - Variable in class LBJ2.infer.FirstOrderEqualityWithValue
The variable on the left of the equality.
left - Variable in class LBJ2.infer.FirstOrderEqualityWithVariable
The variable on the left of the equality.
left - Variable in class LBJ2.infer.PropositionalBinaryConstraint
The constraint on the left of the operator.
leftBracket - Static variable in class LBJ2.nlp.POS
POS object representing the "left bracket" tag.
leftConstant - Variable in class LBJ2.infer.EqualityArgumentReplacer
This flag is set if the left hand side of the equality is not quantified.
lemma - Variable in class LBJ2.nlp.Word
The base form of the word.
length() - Method in class LBJ2.util.ByteString
Returns the length of value.
LESS_THAN - Static variable in class LBJ2.infer.ZeroOneILPProblem
Represents the constraint type "less than or equal to".
lexFilePath - Variable in class LBJ2.learn.Learner
Caches the location of this learner's offline lexicon.
lexicon - Variable in class LBJ2.learn.Learner
Stores the feature Lexicon.
Lexicon - Class in LBJ2.learn
A Lexicon contains a mapping from Features to integers.
Lexicon() - Constructor for class LBJ2.learn.Lexicon
Creates an empty lexicon.
Lexicon(String) - Constructor for class LBJ2.learn.Lexicon
Creates an empty lexicon with the given encoding.
lexicon - Variable in class LBJ2.learn.Lexicon
The map of features to integer keys.
lexicon - Variable in class LBJ2.parse.FeatureVectorParser
Deprecated. The feature objects corresponding to the ints in the example file.
Lexicon.CountPolicy - Class in LBJ2.learn
Immutable type representing the feature counting policy of a lexicon.
Lexicon.CountPolicy(int) - Constructor for class LBJ2.learn.Lexicon.CountPolicy
Initializes the object with an index.
Lexicon.PruningPolicy - Class in LBJ2.learn
Represents the feature counting policy of a lexicon.
Lexicon.PruningPolicy() - Constructor for class LBJ2.learn.Lexicon.PruningPolicy
Creates a new pruning policy in which no features will be pruned.
Lexicon.PruningPolicy(double) - Constructor for class LBJ2.learn.Lexicon.PruningPolicy
Creates a new "Percentage" policy with the given percentage.
Lexicon.PruningPolicy(int) - Constructor for class LBJ2.learn.Lexicon.PruningPolicy
Creates a new "Absolute" policy with the given threshold.
lexiconChildren - Variable in class LBJ2.learn.Lexicon
Stores features that might appear repeatedly as children of other features, but which are not themselves given indexes in the lexicon.
lexiconInv - Variable in class LBJ2.learn.Lexicon
The inverted map of integer keys to their features.
lexiconSize - Variable in class LBJ2.learn.BatchTrainer
The number of features extracted during pre-extraction.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteArrayFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteReferrer
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteReferringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.Feature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealArrayFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealArrayStringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealConjunctiveFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealPrimitiveFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealReferrer
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealReferringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, Lexicon, String, String, String, ByteString) - Method in class LBJ2.classify.RealReferringStringFeature
Reads the representation of a feature with this object's run-time type as stored by a lexicon, overwriting the data in this object.
lexRead(ExceptionlessInputStream, ByteString) - Method in class LBJ2.util.ByteString
Reads the representation of a byte string as stored by a lexicon, overwriting the data in this object.
lexReadByteString(ExceptionlessInputStream, ByteString) - Static method in class LBJ2.util.ByteString
Reads and returns a byte string as written by a lexicon.
lexReadFeature(ExceptionlessInputStream, Lexicon, Class, String, String, String, ByteString) - Static method in class LBJ2.classify.Feature
Reads the representation of a feature of any type as stored by a lexicon, omitting redundant information.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteArrayFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteReferrer
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteReferringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.Feature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealArrayFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealArrayStringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealConjunctiveFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealPrimitiveFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealReferrer
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealReferringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, Lexicon, String, String, String, String, ByteString) - Method in class LBJ2.classify.RealReferringStringFeature
Writes a binary representation of the feature intended for use by a lexicon, omitting redundant information when possible.
lexWrite(ExceptionlessOutputStream, ByteString) - Method in class LBJ2.util.ByteString
Writes a binary representation of this byte string intended for use by a lexicon, omitting redundant information when possible.
lgfCoeff - Static variable in class LBJ2.util.StudentT
Lanczos Gamma Function approximation - Coefficients
lgfGamma - Static variable in class LBJ2.util.StudentT
Lanczos Gamma Function approximation - small gamma
lgfN - Static variable in class LBJ2.util.StudentT
Lanczos Gamma Function approximation - N (number of coefficients -1)
LinearThresholdUnit - Class in LBJ2.learn
A LinearThresholdUnit is a Learner for binary classification in which a score is computed as a linear function a weight vector and the input example, and the decision is made by comparing the score to some threshold quantity.
LinearThresholdUnit() - Constructor for class LBJ2.learn.LinearThresholdUnit
Default constructor.
LinearThresholdUnit(double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(double, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Sets the learning rate and threshold to the specified values, while the name of the classifier gets the empty string.
LinearThresholdUnit(double, double, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness, while the name of the classifier gets the empty string.
LinearThresholdUnit(double, double, double, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses, while the name of the classifier gets the empty string.
LinearThresholdUnit(String) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(String, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Default constructor.
LinearThresholdUnit(String, double, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(String, double, double, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(String, double, double, double, double) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(String, double, double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit(String, LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.LinearThresholdUnit
Initializing constructor.
LinearThresholdUnit.Parameters - Class in LBJ2.learn
Simply a container for all of LinearThresholdUnit's configurable parameters.
LinearThresholdUnit.Parameters() - Constructor for class LBJ2.learn.LinearThresholdUnit.Parameters
Sets all the default values.
LinearThresholdUnit.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.LinearThresholdUnit.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
LinearThresholdUnit.Parameters(LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.LinearThresholdUnit.Parameters
Copy constructor.
LineByLine - Class in LBJ2.parse
This abstract Parser does not define the next() method, but it does define a constructor that opens the specified file and a readLine() method that fetches the next line of text from that file, taking care of exception handling.
LineByLine() - Constructor for class LBJ2.parse.LineByLine
Leaves the member variables uninitialized.
LineByLine(String) - Constructor for class LBJ2.parse.LineByLine
Creates the parser.
LinkedChild - Class in LBJ2.parse
A LinkedChild is the child of a LinkedVector.
LinkedChild() - Constructor for class LBJ2.parse.LinkedChild
Does nothing.
LinkedChild(LinkedChild) - Constructor for class LBJ2.parse.LinkedChild
Useful when the information that this child represents is parsed forwards.
LinkedChild(int, int) - Constructor for class LBJ2.parse.LinkedChild
Constructor that sets the byte offsets of this child.
LinkedChild(LinkedChild, int, int) - Constructor for class LBJ2.parse.LinkedChild
Useful when the information that this child represents is parsed forwards.
LinkedVector - Class in LBJ2.parse
A LinkedVector is used to store a vector of LinkedChildren which all maintain links between each other and the parent LinkedVector.
LinkedVector() - Constructor for class LBJ2.parse.LinkedVector
Initializes the vector.
LinkedVector(LinkedChild) - Constructor for class LBJ2.parse.LinkedVector
Constructor for when only a single child from anywhere in this vector is available.
LinkedVector(LinkedVector) - Constructor for class LBJ2.parse.LinkedVector
Useful when the information that this child represents is parsed forwards.
LinkedVector(int, int) - Constructor for class LBJ2.parse.LinkedVector
Constructor that sets the character offsets of this vector.
LinkedVector(LinkedChild, int, int) - Constructor for class LBJ2.parse.LinkedVector
Constructor for when only a single child from anywhere in this vector is available.
LinkedVector(LinkedVector, int, int) - Constructor for class LBJ2.parse.LinkedVector
Useful when the information that this child represents is parsed forwards.
ljust(String, int) - Static method in class LBJ2.util.TableFormat
Returns a space-padded string of at least the specified width such that the argument string is left-justified within the returned string.
Log - Class in LBJ2.learn
Simply turns each score s in the ScoreSet returned by the specified Normalizer into log(s).
Log() - Constructor for class LBJ2.learn.Log
This constructor provided for use by the LBJ compiler only.
Log(Normalizer) - Constructor for class LBJ2.learn.Log
Initializing constructor.
logCount - Variable in class LBJ2.learn.NaiveBayes.Count
The natural logartihm of NaiveBayes.Count.count is sometimes stored here.
logFactorial(double) - Static method in class LBJ2.util.StudentT
log to base e of the factorial of n.
logGamma(double) - Static method in class LBJ2.util.StudentT
log to base e of the Gamma function, Lanczos approximation (6 terms).
lookup(Feature) - Method in class LBJ2.learn.Lexicon
Looks up a feature's index by calling lookup(f, false).
lookup(Feature, boolean) - Method in class LBJ2.learn.Lexicon
Looks up a feature's index by calling lookup(f, training, -1).
lookup(Feature, boolean, int) - Method in class LBJ2.learn.Lexicon
Looks up the given feature in the lexicon, possibly counting it and/or expanding the lexicon to accomodate it.
lookupChild(Feature) - Method in class LBJ2.learn.ChildLexicon
Unlike the overridden method in Lexicon, this method simply checks Lexicon.lexicon for the feature and will throw an exception if it can't be found.
lookupChild(Feature) - Method in class LBJ2.learn.Lexicon
Used to lookup the children of conjunctive and referring features while writing the lexicon, this method checks Lexicon.lexiconChildren if the feature isn't present in Lexicon.lexicon and Lexicon.lexiconInv, and will throw an exception if it still can't be found.
lookupKey(int) - Method in class LBJ2.learn.Lexicon
Does a reverse lexicon lookup and returns the Feature associated with the given integer key, and null if no such feature exists.
lowerBound - Variable in class LBJ2.parse.FoldParser
A lower bound for an index relating to the pivot fold.
lowerCaseLetter - Static variable in class LBJ2.nlp.SentenceSplitter
Regular expression matching any lower case letter.
LS - Static variable in class LBJ2.nlp.POS
POS object representing the "list item marker" tag.

M

m - Variable in class LBJ2.infer.AtLeastQuantifier
The number of objects for which the constraint must hold.
m - Variable in class LBJ2.infer.AtMostQuantifier
The maximum number of objects for which the constraint must hold.
m - Variable in class LBJ2.infer.PropositionalAtLeast
The number of child constraints that must be true.
main(String[]) - Static method in class LBJ2.classify.TestDiscrete
The entry point of this program.
main(String[]) - Static method in class LBJ2.learn.LearnerToText
 
main(String[]) - Static method in class LBJ2.learn.Lexicon
 
main(String[]) - Static method in class LBJ2.nlp.seg.BIOTester
The command line program simply instantiates an object of this class and calls its BIOTester.test() method.
main(String[]) - Static method in class LBJ2.nlp.seg.SegmentTagPlain
 
main(String[]) - Static method in class LBJ2.nlp.SentenceSplitter
Run this program on a file containing plain text, and it will produce the same text rearranged so that each line contains exactly one sentence on STDOUT.
main(String[]) - Static method in class LBJ2.nlp.WordSplitter
Run this program on a file containing plain text, and it will produce the same text on STDOUT rearranged so that each line contains exactly one sentence, and so that character sequences deemed to be "words" are delimited by whitespace.
main(String[]) - Static method in class LBJ2.parse.ArrayFileParser
 
main(String[]) - Static method in class LBJ2.parse.FeatureVectorParser
Deprecated. Takes the names of the example and lexicon files as input on the command line and prints all the examples to STDOUT.
makeConstraint(Object) - Method in class LBJ2.infer.ParameterizedConstraint
This method builds a first order constraint based on the given input object.
makeInstance(int[], double[], int[], double[]) - Method in class LBJ2.learn.WekaWrapper
Creates a WEKA Instance object out of a FeatureVector.
makeLinearExpression(int[], double[]) - Method in class LBJ2.infer.GurobiHook
Creates a Gurobi linear expression object representing the dot product of the variables with the specified indexes and the specified coefficients.
makeReal() - Method in class LBJ2.classify.DiscreteArrayFeature
Returns a RealArrayFeature whose value field is set to the strength of the current feature, and whose DiscretePrimitiveFeature.identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.DiscreteArrayStringFeature
Returns a RealArrayFeature whose value field is set to the strength of the current feature, and whose DiscretePrimitiveStringFeature.identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns a RealConjunctiveFeature with exactly the same children as this feature.
makeReal() - Method in class LBJ2.classify.DiscretePrimitiveFeature
Returns a RealPrimitiveFeature whose value field is set to the strength of the current feature, and whose DiscretePrimitiveFeature.identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Returns a RealPrimitiveFeature whose value field is set to the strength of the current feature, and whose DiscretePrimitiveStringFeature.identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.DiscreteReferringFeature
Returns a RealPrimitiveFeature whose value field is set to the strength of the current feature, and whose DiscreteReferringFeature.identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.DiscreteReferringStringFeature
Returns a RealPrimitiveFeature whose value field is set to the strength of the current feature, and whose DiscreteReferringStringFeature.identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.Feature
Returns a RealFeature whose value is the strength of the current feature, and whose identifier field contains all the information necessary to distinguish this feature from other features.
makeReal() - Method in class LBJ2.classify.FeatureVector
Converts all of the features in the FeatureVector.features list to RealFeatures with appropriate strengths.
makeReal() - Method in class LBJ2.classify.RealFeature
Simply returns this object.
manual - Static variable in class LBJ2.parse.FoldParser.SplitPolicy
Represents the split policy in which the user manually inserts fold separation objects.
max() - Method in class LBJ2.util.DVector
Returns the value of the maximum element in the vector.
max(int) - Method in class LBJ2.util.DVector2D
Returns the value of the maximum element in the ith vector.
max() - Method in class LBJ2.util.IVector
Returns the value of the maximum element in the vector.
max(int) - Method in class LBJ2.util.IVector2D
Returns the value of the maximum element in the ith vector.
maximize - Variable in class LBJ2.infer.XpressMPHook
Remembers whether the objective function should be maximized or minimzed.
maximize - Variable in class LBJ2.infer.ZeroOneILPProblem
Remembers whether the objective function should be maximized or minimzed.
maximize - Variable in class LBJ2.jni.GLPKHook
If the appropriate methods are called below, this variable will be set iff this solver is solving a maximization.
MD - Static variable in class LBJ2.nlp.POS
POS object representing the "modal" tag.
messageIndent - Variable in class LBJ2.learn.BatchTrainer
Spacing for making status messages prettier.
model - Variable in class LBJ2.infer.GurobiHook
The model to be optimized.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreGeneralThan(PropositionalConstraint) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more general than the given constraint; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalAtLeast
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalConjunction
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalConstant
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalConstraint
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalDisjunction
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalDoubleImplication
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalImplication
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalNegation
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalImplication) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDoubleImplication) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given double implication; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConjunction) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given conjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalDisjunction) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given disjunction; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalAtLeast) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given at-least; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalNegation) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given negation; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalVariable) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given variable; note: this method is not required to be correct when it answers false.
moreSpecificThan(PropositionalConstant) - Method in class LBJ2.infer.PropositionalVariable
Compares topology to determine if this constraint is more specific than the given constant; note: this method is not required to be correct when it answers false.
MultiLabelLearner - Class in LBJ2.learn
A simple implementation of a learner that learns from examples with multiple labels and is capable of predicting multiple labels on new examples.
MultiLabelLearner() - Constructor for class LBJ2.learn.MultiLabelLearner
Instantiates this multi-label learner with the default learning algorithm: SparsePerceptron.
MultiLabelLearner(LinearThresholdUnit) - Constructor for class LBJ2.learn.MultiLabelLearner
Instantiates this multi-label learner using the specified algorithm to learn each class separately as a binary classifier.
MultiLabelLearner(MultiLabelLearner.Parameters) - Constructor for class LBJ2.learn.MultiLabelLearner
Initializing constructor.
MultiLabelLearner(String) - Constructor for class LBJ2.learn.MultiLabelLearner
Instantiates this multi-label learner with the default learning algorithm: SparsePerceptron.
MultiLabelLearner(String, LinearThresholdUnit) - Constructor for class LBJ2.learn.MultiLabelLearner
Instantiates this multi-label learner using the specified algorithm to learn each class separately as a binary classifier.
MultiLabelLearner(String, MultiLabelLearner.Parameters) - Constructor for class LBJ2.learn.MultiLabelLearner
Initializing constructor.
MultiLabelLearner.Parameters - Class in LBJ2.learn
Simply a container for all of MultiLabelLearner's configurable parameters.
MultiLabelLearner.Parameters() - Constructor for class LBJ2.learn.MultiLabelLearner.Parameters
Sets all the default values.
MultiLabelLearner.Parameters(SparseNetworkLearner.Parameters) - Constructor for class LBJ2.learn.MultiLabelLearner.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
MultiLabelLearner.Parameters(MultiLabelLearner.Parameters) - Constructor for class LBJ2.learn.MultiLabelLearner.Parameters
Copy constructor.
multiply(double) - Method in class LBJ2.classify.RealArrayFeature
Returns a new feature object, the same as this one in all respects except the RealPrimitiveFeature.value field has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealArrayStringFeature
Returns a new feature object, the same as this one in all respects except the RealPrimitiveStringFeature.value field has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealConjunctiveFeature
Returns a new feature object, the same as this one in all respects except the value has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealFeature
Returns a new feature object, the same as this one in all respects except the value has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealPrimitiveFeature
Returns a new feature object, the same as this one in all respects except the RealPrimitiveFeature.value field has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Returns a new feature object, the same as this one in all respects except the RealPrimitiveStringFeature.value field has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealReferringFeature
Returns a new feature object, the same as this one in all respects except the RealReferrer.referent field has been multiplied by the specified number.
multiply(double) - Method in class LBJ2.classify.RealReferringStringFeature
Returns a new feature object, the same as this one in all respects except the RealReferrer.referent field has been multiplied by the specified number.
MultiValueComparer - Class in LBJ2.classify
This classifier applies another classifier to the example object and returns a Boolean feature (with value "true" or "false") indicating whether a given feature value appeared in the output of the classifier.
MultiValueComparer(Classifier, String) - Constructor for class LBJ2.classify.MultiValueComparer
Constructor.
MuxLearner - Class in LBJ2.learn
A MuxLearner uses one of many Learners indexed by the first feature in an example to produce a classification.
MuxLearner() - Constructor for class LBJ2.learn.MuxLearner
For the LBJ compiler; not for use by the LBJ user.
MuxLearner(Learner) - Constructor for class LBJ2.learn.MuxLearner
Instantiates this multiplexed learner using the specified base learning algorithm.
MuxLearner(Learner, String) - Constructor for class LBJ2.learn.MuxLearner
Instantiates this multiplexed learner using the specified base learning algorithm.
MuxLearner(MuxLearner.Parameters) - Constructor for class LBJ2.learn.MuxLearner
Initializing constructor.
MuxLearner(String) - Constructor for class LBJ2.learn.MuxLearner
For the LBJ compiler; not for use by the LBJ user.
MuxLearner(String, Learner) - Constructor for class LBJ2.learn.MuxLearner
Instantiates this multiplexed learner using the specified base learning algorithm.
MuxLearner(String, Learner, String) - Constructor for class LBJ2.learn.MuxLearner
Instantiates this multiplexed learner using the specified base learning algorithm.
MuxLearner(String, MuxLearner.Parameters) - Constructor for class LBJ2.learn.MuxLearner
Initializing constructor.
MuxLearner.Parameters - Class in LBJ2.learn
Simply a container for all of MuxLearner's configurable parameters.
MuxLearner.Parameters() - Constructor for class LBJ2.learn.MuxLearner.Parameters
Sets all the default values.
MuxLearner.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.MuxLearner.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
MuxLearner.Parameters(MuxLearner.Parameters) - Constructor for class LBJ2.learn.MuxLearner.Parameters
Copy constructor.
myAdd(LinkedList, int, String) - Method in class LBJ2.nlp.Sentence
For debugging purposes, it's useful to insert print statements here.

N

NaiveBayes - Class in LBJ2.learn
Naive Bayes is a multi-class learner that uses prediction value counts and feature counts given a particular prediction value to select the most likely prediction value.
NaiveBayes() - Constructor for class LBJ2.learn.NaiveBayes
Default constructor.
NaiveBayes(double) - Constructor for class LBJ2.learn.NaiveBayes
Initializes the smoothing constant.
NaiveBayes(NaiveBayes.Parameters) - Constructor for class LBJ2.learn.NaiveBayes
Initializing constructor.
NaiveBayes(String) - Constructor for class LBJ2.learn.NaiveBayes
Initializes the name of the classifier.
NaiveBayes(String, double) - Constructor for class LBJ2.learn.NaiveBayes
Initializes the name and smoothing constant.
NaiveBayes(String, NaiveBayes.Parameters) - Constructor for class LBJ2.learn.NaiveBayes
Initializing constructor.
NaiveBayes.Count - Class in LBJ2.learn
A Count object stores two doubles, one which holds a accumulated count value and the other intended to hold the natural logarithm of the count.
NaiveBayes.Count() - Constructor for class LBJ2.learn.NaiveBayes.Count
Sets the count to 0.
NaiveBayes.NaiveBayesVector - Class in LBJ2.learn
Keeps track of all the counts associated with a given label.
NaiveBayes.NaiveBayesVector() - Constructor for class LBJ2.learn.NaiveBayes.NaiveBayesVector
Simply instantiates NaiveBayes.NaiveBayesVector.counts.
NaiveBayes.NaiveBayesVector(NaiveBayes.Count[]) - Constructor for class LBJ2.learn.NaiveBayes.NaiveBayesVector
Simply initializes NaiveBayes.NaiveBayesVector.counts.
NaiveBayes.NaiveBayesVector(OVector) - Constructor for class LBJ2.learn.NaiveBayes.NaiveBayesVector
Simply initializes NaiveBayes.NaiveBayesVector.counts.
NaiveBayes.Parameters - Class in LBJ2.learn
Simply a container for all of NaiveBayes's configurable parameters.
NaiveBayes.Parameters() - Constructor for class LBJ2.learn.NaiveBayes.Parameters
Sets all the default values.
NaiveBayes.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.NaiveBayes.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
NaiveBayes.Parameters(NaiveBayes.Parameters) - Constructor for class LBJ2.learn.NaiveBayes.Parameters
Copy constructor.
NaiveGLPK - Class in LBJ2.infer
Deprecated. As of LBJ release 2.0.12, it is preferrable to pass a GLPKHook object to the ILPInference constructor.
NaiveGLPK() - Constructor for class LBJ2.infer.NaiveGLPK
Deprecated. Default constructor.
NaiveGLPK(boolean) - Constructor for class LBJ2.infer.NaiveGLPK
Deprecated. Initializing constructor.
NaiveGLPK(boolean, boolean) - Constructor for class LBJ2.infer.NaiveGLPK
Deprecated. Initializing constructor.
NaiveGLPK(Object) - Constructor for class LBJ2.infer.NaiveGLPK
Deprecated. Initializing constructor.
NaiveGLPK(Object, boolean) - Constructor for class LBJ2.infer.NaiveGLPK
Deprecated. Initializing constructor.
NaiveGLPK(Object, boolean, boolean) - Constructor for class LBJ2.infer.NaiveGLPK
Deprecated. Initializing constructor.
name - Variable in class LBJ2.classify.Classifier
The name of the classifier usually becomes the identifier of produced features.
names - Static variable in class LBJ2.learn.Lexicon.CountPolicy
The names of the different counting policies as strings.
names - Static variable in class LBJ2.learn.Lexicon.PruningPolicy
The names of the different counting policies as strings.
names - Static variable in class LBJ2.nlp.POS
An array of all names of part of speech tags.
names - Static variable in class LBJ2.parse.FoldParser.SplitPolicy
The names of the different split strategies as strings.
nativeObjectiveValue() - Method in class LBJ2.jni.GLPKHook
When the problem has been solved, use this method to retrieve the value of the objective function at the solution.
nativeSolve() - Method in class LBJ2.jni.GLPKHook
Invokes the lpx_intopt GLPK library function to solve the integer linear program.
nearlyEqualTo(double, double) - Static method in class LBJ2.learn.BinaryMIRA
Determines if a is nearly equal to b based on the value of the TOLERANCE member variable.
nearlyEqualTo(double, double) - Static method in class LBJ2.learn.SparseMIRA
Determines if a is nearly equal to b based on the value of the SparseMIRA.TOLERANCE member variable.
needsUpdate - Variable in class LBJ2.infer.GurobiHook
Whether or not the GRBModel.update() method needs to be called before adding more constraints.
negate() - Method in class LBJ2.infer.PropositionalAtLeast
The negation of an at-least(m) is the at-least(n-m+1) of the negated children.
negate() - Method in class LBJ2.infer.PropositionalConjunction
Uses DeMorgan's law to compute the negation of this constraint by distributing that negation to each child.
negate() - Method in class LBJ2.infer.PropositionalConstant
Produces a new propositional constraint equivalent to this constraint and that contains no negated constraints other than variables.
negate() - Method in class LBJ2.infer.PropositionalConstraint
Produces a new propositional constraint equivalent to this constraint and that contains no negated constraints other than variables.
negate() - Method in class LBJ2.infer.PropositionalDisjunction
Uses DeMorgan's law to compute the negation of this constraint by distributing that negation to each child.
negate() - Method in class LBJ2.infer.PropositionalDoubleImplication
Produces a new propositional constraint equivalent to this constraint and that contains no negated constraints other than variables.
negate() - Method in class LBJ2.infer.PropositionalImplication
Produces a new propositional constraint equivalent to this constraint and that contains no negated constraints other than variables.
negate() - Method in class LBJ2.infer.PropositionalNegation
Produces a new propositional constraint equivalent to this constraint and that contains no negated constraints other than variables.
negate() - Method in class LBJ2.infer.PropositionalVariable
Produces a new propositional constraint equivalent to this constraint and that contains no negated constraints other than variables.
negated - Variable in class LBJ2.infer.BalasHook
Each element is true iff the corresponding inference variable's value in BalasHook.solution has been negated (which happens iff that variable initially had a negative objective function coefficient).
negativeThickness - Variable in class LBJ2.learn.LinearThresholdUnit
The thickness of the hyperplane on the negative side; default equal to LinearThresholdUnit.positiveThickness.
negativeThickness - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
The thickness of the hyperplane on the negative side; default 0.
network - Variable in class LBJ2.learn.MuxLearner
A map from feature values to learners.
network - Variable in class LBJ2.learn.NaiveBayes
One NaiveBayes.NaiveBayesVector for each observed prediction value.
network - Variable in class LBJ2.learn.SparseMIRA
A map from labels to the weight vector corresponding to that label.
network - Variable in class LBJ2.learn.SparseNetworkLearner
A collection of the linear threshold units used to learn each label, indexed by the label.
newLabelLexicon - Variable in class LBJ2.learn.SupportVectorMachine
Created during SupportVectorMachine.doneLearning() in case the training examples observed by SupportVectorMachine.learn(int[],double[],int[],double[]) are only a subset of a larger, pre-extracted set.
next() - Method in class LBJ2.nlp.ColumnFormat
Returns an array of Strings representing the information in the columns of this row.
next() - Method in class LBJ2.nlp.POSBracketToVector
Retrieves the next LinkedVector from the files being parsed.
next() - Method in class LBJ2.nlp.POSBracketToWord
Deprecated. Retrieves the next sentence from the files being parsed.
next - Variable in class LBJ2.nlp.seg.PlainToTokenParser
The next token to return.
next() - Method in class LBJ2.nlp.seg.PlainToTokenParser
This method returns Tokens until the input is exhausted, at which point it returns null.
next() - Method in class LBJ2.nlp.seg.POSBracketToToken
Returns the next labeled word in the data.
next() - Method in class LBJ2.nlp.seg.WordsToTokens
Returns the next LinkedVector of Tokens.
next() - Method in class LBJ2.nlp.SentenceSplitter
Retrieves the next sentence off the queue and returns it.
next() - Method in class LBJ2.nlp.StringArraysToWords
Returns the next array of Words.
next() - Method in class LBJ2.nlp.WordsInDocumentByDirectory
Returns the next labeled array of words.
next() - Method in class LBJ2.nlp.WordSplitter
Returns LinkedVectors of Word objects one at a time.
next() - Method in class LBJ2.parse.ArrayFileParser
Returns either an Object[] or a FoldSeparator deserialized out of the given file.
next() - Method in class LBJ2.parse.ArrayParser
Returns the next example in the array and increments the ArrayParser.index pointer.
next - Variable in class LBJ2.parse.ChildrenFromVectors
The next child to be returned.
next() - Method in class LBJ2.parse.ChildrenFromVectors
Returns the next LinkedChild parsed.
next() - Method in class LBJ2.parse.FeatureVectorParser
Deprecated. Returns a FeatureVector deserialized out of the given file.
next() - Method in class LBJ2.parse.FoldParser
Retrieves the next example object.
next - Variable in class LBJ2.parse.LinkedChild
A link to the next child in the parent vector.
next() - Method in interface LBJ2.parse.Parser
Use this method to retrieve the next object parsed from the raw input data.
nextChoice(int[], int) - Static method in class LBJ2.infer.PropositionalAtLeast
Given a particular choice of k of the first n non-negative integers, this method computes the next logical choice of k integers, modifying the input array to contain that choice.
nextID - Static variable in class LBJ2.infer.GLPK
Deprecated. Keeps the next ID number for objects of this class.
nextID - Static variable in class LBJ2.infer.ILPInference
Keeps the next ID number for objects of this class.
nextID - Static variable in class LBJ2.infer.XpressMPHook
Keeps track of the next ID number for an instance of this class.
NLDocument - Class in LBJ2.nlp
Use this class to represent a natural language document.
NLDocument(String[]) - Constructor for class LBJ2.nlp.NLDocument
This constructor takes the entire text of the document in a String array as input and initializes the representation.
NLDocument(NLDocument, String[]) - Constructor for class LBJ2.nlp.NLDocument
This constructor takes the entire text of the document in a String array as input and initializes the representation.
NLDocument(String) - Constructor for class LBJ2.nlp.NLDocument
Creates a document from the contents of the named file.
NLDocument(NLDocument, String) - Constructor for class LBJ2.nlp.NLDocument
Creates a document from the contents of the named file.
NN - Static variable in class LBJ2.nlp.POS
POS object representing the "singular noun" tag.
NNP - Static variable in class LBJ2.nlp.POS
POS object representing the "proper singular noun" tag.
NNPS - Static variable in class LBJ2.nlp.POS
POS object representing the "proper plural noun" tag.
NNS - Static variable in class LBJ2.nlp.POS
POS object representing the "plural noun" tag.
nonDefaultString() - Method in class LBJ2.learn.AdaBoost.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.BinaryMIRA.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.Learner.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.LinearThresholdUnit.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.MuxLearner.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.NaiveBayes.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.SparseConfidenceWeighted.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.SparseNetworkLearner.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.SparseWinnow.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.StochasticGradientDescent.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.SupportVectorMachine.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
nonDefaultString() - Method in class LBJ2.learn.WekaWrapper.Parameters
Creates a string representation of these parameters in which only those parameters that differ from their default values are mentioned.
none - Static variable in class LBJ2.learn.Lexicon.CountPolicy
Represents no counting.
NONE - Static variable in class LBJ2.learn.Lexicon.PruningPolicy
Represents no pruning.
normalize(ScoreSet) - Method in class LBJ2.learn.IdentityNormalizer
Simply returns the argument.
normalize(ScoreSet) - Method in class LBJ2.learn.Log
Normalizes the given ScoreSet; its scores are modified in place before it is returned.
normalize(ScoreSet) - Method in class LBJ2.learn.Normalizer
Normalizes the given ScoreSet; its scores are modified in place before it is returned.
normalize(ScoreSet) - Method in class LBJ2.learn.Sigmoid
Normalizes the given ScoreSet; its scores are modified in place before it is returned.
normalize(ScoreSet) - Method in class LBJ2.learn.Softmax
Normalizes the given ScoreSet; its scores are modified in place before it is returned.
Normalizer - Class in LBJ2.learn
A normalizer is a function of a ScoreSet producing normalized scores.
Normalizer() - Constructor for class LBJ2.learn.Normalizer
 
nullLabels - Variable in class LBJ2.classify.TestDiscrete
The set of "null" labels whose statistics are not included in overall precision, recall, F1, or accuracy.
numberOfConstraints() - Method in class LBJ2.jni.GLPKHook
Returns the number of constraints in the ILP problem.
numberOfVariables() - Method in class LBJ2.jni.GLPKHook
Returns the number of variables in the ILP problem.
numClasses - Variable in class LBJ2.learn.SupportVectorMachine
The number of unique class labels seen during training.
numExamples - Variable in class LBJ2.learn.SparseNetworkLearner
The total number of examples in the training data, or 0 if unknown.
numFeatures - Variable in class LBJ2.learn.SparseNetworkLearner
The total number of distinct features in the training data, or 0 if unknown.
numFeatures - Variable in class LBJ2.learn.SupportVectorMachine
The number of unique features seen during training.

O

objective - Variable in class LBJ2.infer.XpressMPHook
Stores the objective function's coefficients.
objectiveCoefficients - Variable in class LBJ2.infer.GurobiHook
The coefficients of the variables in the objective function.
objectiveCoefficients - Variable in class LBJ2.infer.ZeroOneILPProblem
Represents the coefficients of all inference variables in the objective function.
objectiveCoefficients - Variable in class LBJ2.jni.GLPKHook
Represents the number of variables in the optimization problem.
objectiveFunction - Variable in class LBJ2.jni.GLPKHook
If the appropriate methods are called below, this string will represent the objective function.
objectiveValue - Variable in class LBJ2.infer.BalasHook
The value of the objective function at BalasHook.solution.
objectiveValue() - Method in class LBJ2.infer.BalasHook
When the problem has been solved, use this method to retrieve the value of the objective function at the solution.
objectiveValue() - Method in class LBJ2.infer.GurobiHook
When the problem has been solved, use this method to retrieve the value of the objective function at the solution.
objectiveValue() - Method in interface LBJ2.infer.ILPSolver
When the problem has been solved, use this method to retrieve the value of the objective function at the solution.
objectiveValue() - Method in class LBJ2.infer.XpressMPHook
When the problem has been solved, use this method to retrieve the value of the objective function at the solution.
objectiveValue() - Method in class LBJ2.jni.GLPKHook
When the problem has been solved, use this method to retrieve the value of the objective function at the solution.
openBufferedStream(String) - Static method in class LBJ2.util.ExceptionlessInputStream
Opens a buffered (and uncompressed) stream for reading from the specified file.
openBufferedStream(URL) - Static method in class LBJ2.util.ExceptionlessInputStream
Opens a buffered (and uncompressed) stream for reading from the specified location.
openBufferedStream(String) - Static method in class LBJ2.util.ExceptionlessOutputStream
Opens a buffered (and uncompressed) stream for writing to the specified file.
openBufferedStream(URL) - Static method in class LBJ2.util.ExceptionlessOutputStream
Opens a buffered (and uncompressed) stream for writing to the specified file.
openCompressedStream(String) - Static method in class LBJ2.util.ExceptionlessInputStream
Opens a compressed stream for reading from the specified file.
openCompressedStream(URL) - Static method in class LBJ2.util.ExceptionlessInputStream
Opens a compressed stream for reading from the specified location.
openCompressedStream(String) - Static method in class LBJ2.util.ExceptionlessOutputStream
Opens a compressed stream for writing to the specified file.
openCompressedStream(URL) - Static method in class LBJ2.util.ExceptionlessOutputStream
Opens a buffered stream for writing to the specified file.
openDoubleQuote - Static variable in class LBJ2.nlp.POS
POS object representing the "open double quote" tag.
openReader(File) - Static method in class LBJ2.nlp.WordsInDocumentByDirectory
Opens a new input stream reading from the specified file, handling any exception by reporting the error and exiting the program.
oracle - Static variable in class LBJ2.classify.TestDiscrete
References the oracle classifier to test against.
outputGranularity - Static variable in class LBJ2.classify.TestDiscrete
The number of examples processed in between time stamp messages.
OVector - Class in LBJ2.util
This class implements an expandable array of objects that should be faster than java's Vector.
OVector() - Constructor for class LBJ2.util.OVector
Constructs a new vector with capacity equal to OVector.defaultCapacity.
OVector(int) - Constructor for class LBJ2.util.OVector
Constructs a new vector with the specified capacity.
OVector(Object[]) - Constructor for class LBJ2.util.OVector
Constructs a new vector using the specified array as a starting point.
OVector(OVector) - Constructor for class LBJ2.util.OVector
Constructs a copy of a vector starting with capacity equal to that vector's size.

P

pairwiseMultiply(int[], double[], double, boolean) - Method in class LBJ2.learn.SparseWeightVector
The strength of each feature in the argument vector is multiplied by the corresponding weight in this weight vector and the result is returned as an array of arrays.
parameterized - Variable in class LBJ2.infer.QuantifiedConstraintInvocation
The parameterized constraint that has been invoked.
ParameterizedConstraint - Class in LBJ2.infer
This class represents an LBJ constraint as it appears in a source file.
ParameterizedConstraint() - Constructor for class LBJ2.infer.ParameterizedConstraint
Default constructor.
ParameterizedConstraint(String) - Constructor for class LBJ2.infer.ParameterizedConstraint
Initializes the name.
parent - Variable in class LBJ2.parse.LinkedChild
A link to this child's parent.
parentLexicon - Variable in class LBJ2.learn.ChildLexicon
A reference to the lexicon that uses this lexicon as its child lexicon.
parents - Variable in class LBJ2.learn.ChildLexicon
The elements of this vector (which correspond to the features in Lexicon.lexiconInv) serve a dual purpose; first, to indicate by absolute value the number of other features currently stored in this object that have the corresponding feature as a child, and second, to indicate by sign if the corresponding feature has been marked for removal.
parsePOSBracketForm(String) - Static method in class LBJ2.nlp.POSBracketToVector
Given a single line of textual input (containing all and only the words in a single sentence) in the format shown above, this method parses and returns a LinkedVector.
parsePOSBracketForm(String, Word) - Static method in class LBJ2.nlp.POSBracketToVector
Given textual input in the format shown below, this method parses and returns the Word that the text represents.
parser - Static variable in class LBJ2.classify.TestDiscrete
References the parser supplying the testing objects.
parser - Variable in class LBJ2.learn.BatchTrainer
The parser from which training data for BatchTrainer.learner is received.
parser - Variable in class LBJ2.nlp.seg.BIOTester
A parser that produces Tokens.
parser - Variable in class LBJ2.nlp.seg.PlainToTokenParser
A parser creating a representation consisting of Words.
parser - Variable in class LBJ2.nlp.seg.WordsToTokens
A parser that returns LinkedVectors of Words.
parser - Variable in class LBJ2.nlp.StringArraysToWords
A parser that returns arrays of Strings.
parser - Variable in class LBJ2.nlp.WordSplitter
The Sentence returning parser.
parser - Variable in class LBJ2.parse.ChildrenFromVectors
A parser that returns LinkedVectors.
parser - Variable in class LBJ2.parse.FoldParser
The parser whose examples are being filtered.
Parser - Interface in LBJ2.parse
Any parser that extends this interface can be sent to a Learner for batch training.
partOfSpeech - Variable in class LBJ2.nlp.Word
Names the part of speech of this word.
partOfURL(int) - Method in class LBJ2.nlp.Sentence
Does a simple check to determine if the symbol at the specified index in the specified string is likely to be part of a URL.
PassiveAggressive - Class in LBJ2.learn
The Passive Aggressive learning algorithm implementation.
PassiveAggressive() - Constructor for class LBJ2.learn.PassiveAggressive
The learning rate and threshold take default values, while the name of the classifier gets the empty string.
PassiveAggressive(double) - Constructor for class LBJ2.learn.PassiveAggressive
Sets the learning rate and threshold to the specified values, while the name of the classifier gets the empty string.
PassiveAggressive(double, double) - Constructor for class LBJ2.learn.PassiveAggressive
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness, while the name of the classifier gets the empty string.
PassiveAggressive(double, double, double) - Constructor for class LBJ2.learn.PassiveAggressive
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses, while the name of the classifier gets the empty string.
PassiveAggressive(double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.PassiveAggressive
Use this constructor to specify an alternative subclass of SparseWeightVector, while the name of the classifier gets the empty string.
PassiveAggressive(PassiveAggressive.Parameters) - Constructor for class LBJ2.learn.PassiveAggressive
Initializing constructor.
PassiveAggressive(String) - Constructor for class LBJ2.learn.PassiveAggressive
Sets the learning rate to the specified value, and the threshold takes the default.
PassiveAggressive(String, double) - Constructor for class LBJ2.learn.PassiveAggressive
Sets the learning rate and threshold to the specified values.
PassiveAggressive(String, double, double) - Constructor for class LBJ2.learn.PassiveAggressive
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness.
PassiveAggressive(String, double, double, double) - Constructor for class LBJ2.learn.PassiveAggressive
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses.
PassiveAggressive(String, double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.PassiveAggressive
Use this constructor to specify an alternative subclass of SparseWeightVector.
PassiveAggressive(String, PassiveAggressive.Parameters) - Constructor for class LBJ2.learn.PassiveAggressive
Initializing constructor.
PassiveAggressive.Parameters - Class in LBJ2.learn
Simply a container for all of PassiveAggressive's configurable parameters.
PassiveAggressive.Parameters() - Constructor for class LBJ2.learn.PassiveAggressive.Parameters
Sets all the default values.
PassiveAggressive.Parameters(LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.PassiveAggressive.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
PassiveAggressive.Parameters(PassiveAggressive.Parameters) - Constructor for class LBJ2.learn.PassiveAggressive.Parameters
Copy constructor.
PDT - Static variable in class LBJ2.nlp.POS
POS object representing the "predeterminer" tag.
PERCENTAGE - Static variable in class LBJ2.learn.Lexicon.PruningPolicy
Represents pruning with a percentage threshold.
percentage - Variable in class LBJ2.learn.Lexicon.PruningPolicy
The percentage associated with the "Percentage" policy described above.
perClass - Static variable in class LBJ2.learn.Lexicon.CountPolicy
Represents per class counting.
perClassFeatureCounts - Variable in class LBJ2.learn.Lexicon
Counts the number of occurrences of each feature on a class-by-class basis.
perClassToGlobalCounts() - Method in class LBJ2.learn.Lexicon
Collapses per-class feature counts into global counts.
period - Static variable in class LBJ2.nlp.POS
POS object representing the "final punctuation" tag.
pivot - Variable in class LBJ2.parse.FoldParser
The examples from this fold are exclusively selected for or excluded from the set of examples returned by this parser.
PlainToTokenParser - Class in LBJ2.nlp.seg
This parser takes the Words in the representation created by another Parser and creates a new representation consisting of Tokens.
PlainToTokenParser(Parser) - Constructor for class LBJ2.nlp.seg.PlainToTokenParser
The only constructor.
POS - Class in LBJ2.nlp
This class converts the String names of POS tags into discrete integer values.
POS(int) - Constructor for class LBJ2.nlp.POS
Constructor that initializes the value variable.
POS - Static variable in class LBJ2.nlp.POS
POS object representing the "possesive ending" tag.
POSBracketToToken - Class in LBJ2.nlp.seg
This parser expects labeled data as described in POSBracketToVector, and it returns Token objects representing that labeled data.
POSBracketToToken(String) - Constructor for class LBJ2.nlp.seg.POSBracketToToken
Initializes an instance with the named file.
POSBracketToVector - Class in LBJ2.nlp
Use this parser to return LinkedVector objects representing sentences given file names of POS bracket form files to parse.
POSBracketToVector(String) - Constructor for class LBJ2.nlp.POSBracketToVector
Creates the parser.
POSBracketToWord - Class in LBJ2.nlp
Deprecated. As of LBJ release 2.0.4, the functionality of this class has been superceded by the ChildrenFromVectors parser used in conjunction with POSBracketToVector.
POSBracketToWord(String) - Constructor for class LBJ2.nlp.POSBracketToWord
Deprecated. Adds the given file name to the queue.
positiveThickness - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
The thickness of the hyperplane on the positive side; default 0.
positiveThickness - Variable in class LBJ2.learn.LinearThresholdUnit
The thickness of the hyperplane on the positive side; default LinearThresholdUnit.defaultThickness.
pound - Static variable in class LBJ2.nlp.POS
POS object representing the "pound sign" tag.
prediction - Variable in class LBJ2.infer.PropositionalVariable
The prediction that the classifier must produce for this variable to be true.
predictionHistogram - Variable in class LBJ2.classify.TestDiscrete
The histogram of predictions.
predictions - Variable in class LBJ2.learn.Learner
Stores the set of predictions that this learner will choose from when classifying a new example.
preExtract(String) - Method in class LBJ2.learn.BatchTrainer
Performs labeled feature vector pre-extraction into the specified file (or memory), replacing BatchTrainer.parser with one that reads from that file (or memory).
preExtract(String, boolean) - Method in class LBJ2.learn.BatchTrainer
Performs labeled feature vector pre-extraction into the specified file (or memory), replacing BatchTrainer.parser with one that reads from that file (or memory).
preExtract(String, Lexicon.CountPolicy) - Method in class LBJ2.learn.BatchTrainer
Performs labeled feature vector pre-extraction into the specified file (or memory), replacing BatchTrainer.parser with one that reads from that file (or memory).
preExtract(String, boolean, Lexicon.CountPolicy) - Method in class LBJ2.learn.BatchTrainer
Performs labeled feature vector pre-extraction into the specified file (or memory), replacing BatchTrainer.parser with one that reads from that file (or memory).
previous - Variable in class LBJ2.parse.LinkedChild
A link to the previous child in the parent vector.
print - Variable in class LBJ2.learn.Accuracy
Whether or not to print a table of results to STDOUT when Accuracy.test(Classifier,Classifier,Parser) is called.
PRINT_ILP - Variable in class LBJ2.infer.GLPK
Deprecated. Debugging variable.
PRINT_ILP - Static variable in class LBJ2.infer.NaiveGLPK
Deprecated. Debugging variable.
printCountTable(boolean) - Method in class LBJ2.learn.ChildLexicon
Produces on STDOUT a table of feature counts including a line indicating the position of Lexicon.pruneCutoff.
printCountTable(boolean) - Method in class LBJ2.learn.Lexicon
Produces on STDOUT a table of feature counts including a line indicating the position of Lexicon.pruneCutoff.
printPerformance(PrintStream) - Method in class LBJ2.classify.TestDiscrete
Performance results are written to the given stream in the form of precision, recall, and F1 statistics.
printTable(PrintStream, String[]) - Static method in class LBJ2.util.TableFormat
Simply prints each element of the given array of strings to the given stream in its own line.
printTableFormat(PrintStream, double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, Double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, String[], String[], double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, String[], String[], Double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, String[], String[], double[][], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, String[], String[], Double[][], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, String[], String[], double[][], int[], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
printTableFormat(PrintStream, String[], String[], Double[][], int[], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table and prints it to the given stream.
priorCount - Variable in class LBJ2.learn.NaiveBayes.NaiveBayesVector
The prior count is the number of times either scaledAdd method has been called.
problem - Variable in class LBJ2.infer.XpressMPHook
Xpress-MP's ILP problem representation is stored here for easy access to the solution values of variables.
problemID - Variable in class LBJ2.infer.XpressMPHook
The ID of an instance is used in the name of the solution file.
problemPointer - Variable in class LBJ2.jni.GLPKHook
A C pointer to the C problem structure.
process(String) - Method in class LBJ2.nlp.SentenceSplitter
This method does the actual work, deciding where sentences begin and end and populating the sentences member variable.
progressOutput - Variable in class LBJ2.learn.BatchTrainer
The number of training examples in between status messages printed to STDOUT, or 0 to suppress these messages.
promote(int[], double[], double) - Method in class LBJ2.learn.BinaryMIRA
Scales the feature vector produced by the extractor by the learning rate and adds it to the weight vector.
promote(int[], double[], double) - Method in class LBJ2.learn.LinearThresholdUnit
If the LinearThresholdUnit is mistake driven, this method should be overridden and used to update the internal representation when a mistake is made on a positive example.
promote(int[], double[], double) - Method in class LBJ2.learn.PassiveAggressive
Scales the feature vector produced by the extractor by the learning rate and adds it to the weight vector.
promote(int[], double[], double) - Method in class LBJ2.learn.SparseAveragedPerceptron
Scales the feature vector produced by the extractor by the learning rate and adds it to the weight vector.
promote(int[], double[], double) - Method in class LBJ2.learn.SparseConfidenceWeighted
This method does nothing.
promote(int[], double[], double) - Method in class LBJ2.learn.SparsePerceptron
Scales the feature vector produced by the extractor by the learning rate and adds it to the weight vector.
promote(int[], double[], double) - Method in class LBJ2.learn.SparseWinnow
Promotion is simply w_i *= learningRatex_i.
PropositionalAtLeast - Class in LBJ2.infer
Represents the constraint that at least m of the children constraints must be true.
PropositionalAtLeast() - Constructor for class LBJ2.infer.PropositionalAtLeast
Default constructor.
PropositionalAtLeast(PropositionalConstraint[], int) - Constructor for class LBJ2.infer.PropositionalAtLeast
Initializing constructor.
PropositionalBinaryConstraint - Class in LBJ2.infer
Represents a propositional constraint involving a binary operator.
PropositionalBinaryConstraint(PropositionalConstraint, PropositionalConstraint) - Constructor for class LBJ2.infer.PropositionalBinaryConstraint
Initializing constructor.
PropositionalConjunction - Class in LBJ2.infer
Represents the conjunction of two propositional constraints.
PropositionalConjunction() - Constructor for class LBJ2.infer.PropositionalConjunction
Default constructor.
PropositionalConjunction(PropositionalConstraint, PropositionalConstraint) - Constructor for class LBJ2.infer.PropositionalConjunction
If either of the arguments is itself a PropositionalConjunction, its contents are flattened into this PropositionalConjunction.
PropositionalConstant - Class in LBJ2.infer
A propositional constant is either true or false.
PropositionalConstant(boolean) - Constructor for class LBJ2.infer.PropositionalConstant
Initializing constructor.
PropositionalConstraint - Class in LBJ2.infer
All classes for representing propositional constraints are derived from this base class.
PropositionalConstraint() - Constructor for class LBJ2.infer.PropositionalConstraint
 
PropositionalDisjunction - Class in LBJ2.infer
Represents the disjunction of two propositional constraints.
PropositionalDisjunction() - Constructor for class LBJ2.infer.PropositionalDisjunction
Default constructor.
PropositionalDisjunction(PropositionalConstraint, PropositionalConstraint) - Constructor for class LBJ2.infer.PropositionalDisjunction
If either of the arguments is itself a PropositionalDisjunction, its contents are flattened into this PropositionalDisjunction.
PropositionalDoubleImplication - Class in LBJ2.infer
Represents a double implication between two propositional constraints.
PropositionalDoubleImplication(PropositionalConstraint, PropositionalConstraint) - Constructor for class LBJ2.infer.PropositionalDoubleImplication
Initializing constructor.
PropositionalImplication - Class in LBJ2.infer
Represents an implication between two propositional constraints.
PropositionalImplication(PropositionalConstraint, PropositionalConstraint) - Constructor for class LBJ2.infer.PropositionalImplication
Initializing constructor.
propositionalize() - Method in class LBJ2.infer.AtLeastQuantifier
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.AtMostQuantifier
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.ExistentialQuantifier
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderConjunction
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderConstant
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderConstraint
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderDisjunction
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderDoubleImplication
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderEqualityWithValue
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderImplication
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.FirstOrderNegation
Transforms this first order constraint into a propositional constraint.
propositionalize() - Method in class LBJ2.infer.QuantifiedConstraintInvocation
If this method is called without first calling setQuantificationVariables(Vector), the constant representing false will be returned.
propositionalize() - Method in class LBJ2.infer.UniversalQuantifier
Transforms this first order constraint into a propositional constraint.
PropositionalNAryConstraint - Class in LBJ2.infer
Represents a propositional constraint with an arbitrary number of arguments, usually assumed to be greater than or equal to 2.
PropositionalNAryConstraint() - Constructor for class LBJ2.infer.PropositionalNAryConstraint
Default constructor.
PropositionalNegation - Class in LBJ2.infer
Represents the negation operator applied to a propositional constraint.
PropositionalNegation(PropositionalConstraint) - Constructor for class LBJ2.infer.PropositionalNegation
Initializing constructor.
PropositionalVariable - Class in LBJ2.infer
Every propositional variable is Boolean and represents one possible prediction from a classifier application.
PropositionalVariable(Learner, Object, String) - Constructor for class LBJ2.infer.PropositionalVariable
Initializing constructor; the value member variable is set to false.
protocols - Static variable in class LBJ2.nlp.Sentence
URL prefixes; used by Sentence.partOfURL(int).
PRP - Static variable in class LBJ2.nlp.POS
POS object representing the "personal pronoun" tag.
PRP_DOLLAR - Static variable in class LBJ2.nlp.POS
POS object representing the "possessive pronoun" tag.
prune(Lexicon.PruningPolicy) - Method in class LBJ2.learn.Lexicon
Rearranges the order in which features appear in the lexicon based on the compiled feature counts in Lexicon.featureCounts or Lexicon.perClassFeatureCounts so that pruned features are at the end of the feature space.
pruneCutoff - Variable in class LBJ2.learn.Lexicon
Features at this index in Lexicon.lexiconInv or higher have been pruned.
pruneDataset(String, Lexicon.PruningPolicy, Learner) - Method in class LBJ2.learn.BatchTrainer
Prunes the data returned by BatchTrainer.parser according to the given policy, under the assumption that feature counts have already been compiled in the given learner's lexicon.
pruneDataset(String, boolean, Lexicon.PruningPolicy, Learner) - Method in class LBJ2.learn.BatchTrainer
Prunes the data returned by BatchTrainer.parser according to the given policy, under the assumption that feature counts have already been compiled in the given learner's lexicon.
put(String, double) - Method in class LBJ2.classify.ScoreSet
Sets the score for a particular classification value.
put(Inference) - Static method in class LBJ2.infer.InferenceManager
Adds the given Inference object to the cache, indexed its fully qualified name.

Q

quantificationVariable - Variable in class LBJ2.infer.Quantifier
The name of the quantification variable.
quantificationVariables - Variable in class LBJ2.infer.ArgumentReplacer
The settings of quantification variables in context at the equality in question.
QuantifiedConstraintInvocation - Class in LBJ2.infer
Represents the invocation of a parameterized constraint nested inside at least one quantification expression, where the parameter is a function of the quantification variables.
QuantifiedConstraintInvocation(ParameterizedConstraint, InvocationArgumentReplacer) - Constructor for class LBJ2.infer.QuantifiedConstraintInvocation
Initializing constructor.
Quantifier - Class in LBJ2.infer
A quantifier is a first order constraint parameterized by an object taken from a Java Collection of objects.
Quantifier(String, Collection, FirstOrderConstraint) - Constructor for class LBJ2.infer.Quantifier
Initializing constructor.
Quantifier(String, Collection, FirstOrderConstraint, QuantifierArgumentReplacer) - Constructor for class LBJ2.infer.Quantifier
This constructor specifies a variable setter for when this quantifier is itself quantified.
QuantifierArgumentReplacer - Class in LBJ2.infer
Anonymous inner classes extending this class are instantiated by the code generated by the LBJ compiler when creating FirstOrderConstraint representations.
QuantifierArgumentReplacer(Object[]) - Constructor for class LBJ2.infer.QuantifierArgumentReplacer
Initializing constructor.
QuantifierArgumentReplacer(Object[], boolean) - Constructor for class LBJ2.infer.QuantifierArgumentReplacer
Use this constructor to indicate which of the two arguments of the equality is in fact not quantified.
quickSort(int[], int, int, Sort.IntComparator) - Static method in class LBJ2.util.Sort
Sorts the specified portion of the given array of ints according to the given comparator.

R

random - Variable in class LBJ2.learn.RandomWeightVector
The random number generator for this instance.
random - Static variable in class LBJ2.parse.FoldParser.SplitPolicy
Represents the random split policy.
RandomWeightVector - Class in LBJ2.learn
This weight vector operates similarly to its parent in the class hierarchy, but it halucinates (and sets) random values for weights corresponding to features it has never been asked about before.
RandomWeightVector() - Constructor for class LBJ2.learn.RandomWeightVector
Sets a default standard deviation.
RandomWeightVector(double) - Constructor for class LBJ2.learn.RandomWeightVector
Sets the specified standard deviation.
RB - Static variable in class LBJ2.nlp.POS
POS object representing the "adverb" tag.
RBR - Static variable in class LBJ2.nlp.POS
POS object representing the "comparative adverb" tag.
RBS - Static variable in class LBJ2.nlp.POS
POS object representing the "superlative adverb" tag.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteArrayFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Reads the representation of a feature with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteReferrer
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteReferringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.Feature
Reads the representation of a feature with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.FeatureVector
Reads the binary representation of a feature vector from the specified stream, overwriting the contents of this vector.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealArrayFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealArrayStringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealConjunctiveFeature
Reads the representation of a feature with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealPrimitiveFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealReferrer
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealReferringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.classify.RealReferringStringFeature
Reads the representation of a feaeture with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.AdaBoost
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.BiasedWeightVector
Reads the representation of a weight vector with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.BinaryMIRA
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream, boolean) - Method in class LBJ2.learn.ChildLexicon
Reads a binary representation of the lexicon.
read(String, String) - Method in class LBJ2.learn.Learner
Reads the learned function's binary internal represetation including both its model and lexicons from the specified files, overwriting any and all data this object may have already contained.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.Learner
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.Lexicon
Reads the binary representation of a lexicon from the specified stream, overwriting the data in this object.
read(ExceptionlessInputStream, boolean) - Method in class LBJ2.learn.Lexicon
Reads the binary representation of a lexicon from the specified stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.LinearThresholdUnit
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.MuxLearner
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.NaiveBayes.Count
Reads the binary representation of a count into this object, overwriting any data that may already be here.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
Reads the representation of a weight vector with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.NaiveBayes
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.RandomWeightVector
Reads the representation of a weight vector with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Reads the representation of a weight vector with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseAveragedPerceptron
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseConfidenceWeighted
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseMIRA
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseNetworkLearner
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseWeightVector
Reads the representation of a weight vector with this object's run-time type from the given stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SparseWinnow
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.StochasticGradientDescent
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.SupportVectorMachine
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.learn.WekaWrapper
Reads the binary representation of a learner with this object's run-time type, overwriting any and all learned or manually specified parameters as well as the label lexicon but without modifying the feature lexicon.
read(ExceptionlessInputStream) - Method in class LBJ2.util.ByteString
Reads in a complete binary representation of a byte string.
read(ExceptionlessInputStream) - Method in class LBJ2.util.DVector
Reads the binary representation of a vector from the specified stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.util.DVector2D
Reads the binary representation of a vector from the specified stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.util.FVector
Reads the binary representation of a vector from the specified stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.util.IVector
Reads the binary representation of a vector from the specified stream, overwriting the data in this object.
read(ExceptionlessInputStream) - Method in class LBJ2.util.IVector2D
Reads the binary representation of a vector from the specified stream, overwriting the data in this object.
readBoolean() - Method in class LBJ2.util.ExceptionlessInputStream
Reads one input byte and returns true if that byte is nonzero, false if that byte is zero.
readByte() - Method in class LBJ2.util.ExceptionlessInputStream
Reads and returns one input byte.
readBytes() - Method in class LBJ2.util.ExceptionlessInputStream
Reads and returns an array of bytes from the input.
readByteString(ExceptionlessInputStream) - Static method in class LBJ2.util.ByteString
Reads and returns a byte string from an input stream.
readChar() - Method in class LBJ2.util.ExceptionlessInputStream
Reads an input char and returns the char value.
readDouble() - Method in class LBJ2.util.ExceptionlessInputStream
Reads eight input bytes and returns a double value.
readFeature(ExceptionlessInputStream) - Static method in class LBJ2.classify.Feature
Reads the binary representation of a feature of any type from the given stream.
readFloat() - Method in class LBJ2.util.ExceptionlessInputStream
Reads four input bytes and returns a float value.
readInt() - Method in class LBJ2.util.ExceptionlessInputStream
Reads four input bytes and returns an int value.
readLabelLexicon(ExceptionlessInputStream) - Method in class LBJ2.learn.Learner
Reads the initial portion of the model file, including the containing package and name strings, the names of the labeler and extractor, and finally the label lexicon.
readLearner(String) - Static method in class LBJ2.learn.Learner
Reads the binary representation of any type of learner (including the label lexicon, but not including the feature lexicon) from the given file.
readLearner(String, boolean) - Static method in class LBJ2.learn.Learner
Reads the binary representation of any type of learner (including the label lexicon, but not including the feature lexicon), with the option of cutting off the reading process after the label lexicon and before any learned parameters.
readLearner(URL) - Static method in class LBJ2.learn.Learner
Reads the binary representation of any type of learner (including the label lexicon, but not including the feature lexicon) from the given location.
readLearner(URL, boolean) - Static method in class LBJ2.learn.Learner
Reads the binary representation of any type of learner (including the label lexicon, but not including the feature lexicon), with the option of cutting off the reading process after the label lexicon and before any learned parameters.
readLearner(ExceptionlessInputStream) - Static method in class LBJ2.learn.Learner
Reads the binary representation of any type of learner (including the label lexicon, but not including the feature lexicon) from the given stream.
readLearner(ExceptionlessInputStream, boolean) - Static method in class LBJ2.learn.Learner
Reads the binary representation of any type of learner (including the label lexicon, but not including the feature lexicon), with the option of cutting off the reading process after the label lexicon and before any learned parameters.
readLexicon(String) - Method in class LBJ2.learn.Learner
Reads the learned function's feature lexicon from the specified file, overwriting the lexicon present in this object, if any.
readLexicon(URL) - Method in class LBJ2.learn.Learner
Reads the learned function's feature lexicon from the specified location, overwriting the lexicon present in this object, if any.
readLexicon(String) - Static method in class LBJ2.learn.Lexicon
Reads and returns a feature lexicon from the specified file.
readLexicon(URL) - Static method in class LBJ2.learn.Lexicon
Reads a feature lexicon from the specified location.
readLexicon(URL, boolean) - Static method in class LBJ2.learn.Lexicon
Reads a feature lexicon from the specified location, with the option to ignore the feature counts by setting the second argument to false.
readLexicon(ExceptionlessInputStream) - Static method in class LBJ2.learn.Lexicon
Reads a feature lexicon from the specified stream.
readLexicon(ExceptionlessInputStream, boolean) - Static method in class LBJ2.learn.Lexicon
Reads a feature lexicon from the specified stream, with the option to ignore the feature counts by setting the second argument to false.
readLexiconOnDemand - Variable in class LBJ2.learn.Learner
Informs this learner that it can and should read its feature lexicon on demand.
readLexiconOnDemand(String) - Method in class LBJ2.learn.Learner
Prepares this learner to read in its feature lexicon from the specified location on demand; has no effect if this learner already has a non-empty lexicon.
readLexiconOnDemand(URL) - Method in class LBJ2.learn.Learner
Prepares this learner to read in its feature lexicon from the specified location on demand; has no effect if this learner already has a non-empty lexicon.
readLine() - Method in class LBJ2.nlp.SentenceSplitter
If constructor taking a file name as input was used, this method simply calls the method of the same name in LineByLine; otherwise, it returns the next element of the array.
readLine(BufferedReader, File) - Static method in class LBJ2.nlp.WordsInDocumentByDirectory
Reads a single line from the specified input stream, handling any exception by reporting the error and exiting the program.
readLine() - Method in class LBJ2.parse.LineByLine
Reads a line from the current buffer and returns it.
readLong() - Method in class LBJ2.util.ExceptionlessInputStream
Reads eight input bytes and returns a long value.
readModel(String) - Method in class LBJ2.learn.Learner
Reads only the learned function's model and label lexicon from the specified file in binary form, overwriting whatever model data may have already existed in this object.
readModel(URL) - Method in class LBJ2.learn.Learner
Reads only the learned function's model and label lexicon from the specified location in binary form, overwriting whatever model data may have already existed in this object.
readObject(ObjectInputStream) - Method in class LBJ2.classify.Classifier
Special handling during deserialization to ensure that Strings are intern()ed.
readObject(ObjectInputStream) - Method in class LBJ2.classify.Feature
Special handling during deserialization to ensure that Strings are intern()ed.
readObject(ObjectInputStream) - Method in class LBJ2.learn.NaiveBayes.Count
Special handling during deserialization to ensure that NaiveBayes.Count.updateLog is set to true.
readParameters(URL) - Static method in class LBJ2.learn.Learner
Deserializes a Learner.Parameters object out of the specified locaiton.
readPrunedSize(ExceptionlessInputStream) - Static method in class LBJ2.learn.Lexicon
Reads the value of Lexicon.pruneCutoff from the specified stream, discarding everything else.
readShort() - Method in class LBJ2.util.ExceptionlessInputStream
Reads two input bytes and returns a short value.
readString() - Method in class LBJ2.util.ExceptionlessInputStream
Reads a string from the underlying stream.
readUnsignedByte() - Method in class LBJ2.util.ExceptionlessInputStream
Reads one input byte, zero-extends it to type int, and returns the result, which is therefore in the range 0 through 255.
readUnsignedShort() - Method in class LBJ2.util.ExceptionlessInputStream
Reads two input bytes and returns an int value in the range 0 through 65535.
readUTF(int) - Method in class LBJ2.util.ExceptionlessInputStream
Reads in a string that has been encoded using a modified UTF-8 format.
readWeightVector(ExceptionlessInputStream) - Static method in class LBJ2.learn.SparseWeightVector
Reads the binary representation of a weight vector of any type from the given stream.
RealArrayFeature - Class in LBJ2.classify
A real array feature keeps track of its index in the classifier's returned array.
RealArrayFeature() - Constructor for class LBJ2.classify.RealArrayFeature
For internal use only.
RealArrayFeature(String, String, ByteString, double, int, int) - Constructor for class LBJ2.classify.RealArrayFeature
Sets all member variables.
RealArrayStringFeature - Class in LBJ2.classify
A real array feature keeps track of its index in the classifier's returned array.
RealArrayStringFeature() - Constructor for class LBJ2.classify.RealArrayStringFeature
For internal use only.
RealArrayStringFeature(String, String, String, double, int, int) - Constructor for class LBJ2.classify.RealArrayStringFeature
Sets all member variables.
realCache - Variable in class LBJ2.classify.FeatureVector
Caches the result of the FeatureVector.makeReal() method.
RealConjunctiveFeature - Class in LBJ2.classify
Represents the conjunction of two features.
RealConjunctiveFeature() - Constructor for class LBJ2.classify.RealConjunctiveFeature
For internal use only.
RealConjunctiveFeature(Classifier, Feature, Feature) - Constructor for class LBJ2.classify.RealConjunctiveFeature
Creates a new conjunctive feature taking the package and name of the given classifier.
RealConjunctiveFeature(String, String, Feature, Feature) - Constructor for class LBJ2.classify.RealConjunctiveFeature
Creates a new conjunctive feature.
RealFeature - Class in LBJ2.classify
A real feature takes on any value representable by a double.
RealFeature() - Constructor for class LBJ2.classify.RealFeature
For internal use only.
RealFeature(String, String) - Constructor for class LBJ2.classify.RealFeature
Sets both the identifier and the value.
RealPrimitiveFeature - Class in LBJ2.classify
A real feature takes on any value representable by a double.
RealPrimitiveFeature() - Constructor for class LBJ2.classify.RealPrimitiveFeature
For internal use only.
RealPrimitiveFeature(String, String, ByteString, double) - Constructor for class LBJ2.classify.RealPrimitiveFeature
Sets both the identifier and the value.
RealPrimitiveStringFeature - Class in LBJ2.classify
A real feature takes on any value representable by a double.
RealPrimitiveStringFeature() - Constructor for class LBJ2.classify.RealPrimitiveStringFeature
For internal use only.
RealPrimitiveStringFeature(String, String, String, double) - Constructor for class LBJ2.classify.RealPrimitiveStringFeature
Sets both the identifier and the value.
RealReferrer - Class in LBJ2.classify
A referring real feature is one that has its own identifier, but whose value comes from a separate feature that it refers to.
RealReferrer() - Constructor for class LBJ2.classify.RealReferrer
For internal use only.
RealReferrer(Classifier, RealFeature) - Constructor for class LBJ2.classify.RealReferrer
Sets both the identifier and the referent.
RealReferrer(String, String, RealFeature) - Constructor for class LBJ2.classify.RealReferrer
Sets both the identifier and the referent.
RealReferringFeature - Class in LBJ2.classify
A referring real feature is one that has its own identifier, but whose value comes from a separate feature that it refers to.
RealReferringFeature() - Constructor for class LBJ2.classify.RealReferringFeature
For internal use only.
RealReferringFeature(Classifier, ByteString, RealFeature) - Constructor for class LBJ2.classify.RealReferringFeature
Sets both the identifier and the referent.
RealReferringFeature(String, String, ByteString, RealFeature) - Constructor for class LBJ2.classify.RealReferringFeature
Sets both the identifier and the referent.
RealReferringStringFeature - Class in LBJ2.classify
A referring real feature is one that has its own identifier, but whose value comes from a separate feature that it refers to.
RealReferringStringFeature() - Constructor for class LBJ2.classify.RealReferringStringFeature
For internal use only.
RealReferringStringFeature(Classifier, String, RealFeature) - Constructor for class LBJ2.classify.RealReferringStringFeature
Sets both the identifier and the referent.
RealReferringStringFeature(String, String, String, RealFeature) - Constructor for class LBJ2.classify.RealReferringStringFeature
Sets both the identifier and the referent.
realValue(Object) - Method in class LBJ2.classify.Classifier
Returns the value of the real feature that would be returned by this classifier.
realValue(Object) - Method in class LBJ2.learn.Learner
Returns the value of the real prediction that this learner would make, given an example.
realValue(FeatureVector) - Method in class LBJ2.learn.Learner
Returns the value of the real prediction that this learner would make, given a feature vector.
realValue(int[], double[]) - Method in class LBJ2.learn.Learner
Returns the value of the real feature that would be returned by this classifier.
realValue(int[], double[]) - Method in class LBJ2.learn.MuxLearner
Returns the value of the real feature that would be returned by this classifier.
realValue(int[], double[]) - Method in class LBJ2.learn.StochasticGradientDescent
Simply computes the dot product of the weight vector and the example
realValueArray(Object) - Method in class LBJ2.classify.Classifier
Returns the values of the real array of features that would be returned by this classifier.
realValueArray() - Method in class LBJ2.classify.FeatureVector
Returns all the values of the features in this vector (not labels) arranged in a double array.
referent - Variable in class LBJ2.classify.DiscreteReferrer
The feature being referred to.
referent - Variable in class LBJ2.classify.RealReferrer
The feature being referred to.
regularisedBetaFunction(double, double, double) - Static method in class LBJ2.util.StudentT
Regularised Incomplete Beta function.
remove(String) - Static method in class LBJ2.infer.InferenceManager
Removes the inference object with the given name.
remove(int) - Method in class LBJ2.infer.PropositionalAtLeast
Replaces the children array with a new array containing all the same elements except the element with the given index.
remove(Feature) - Method in class LBJ2.learn.ChildLexicon
Removes the mapping for the given feature from this lexicon and returns the feature object representing it that was stored here.
remove(int) - Method in class LBJ2.parse.LinkedVector
Removes the child at the specified index.
remove(int) - Method in class LBJ2.util.DVector
Removes the element at the specified index of the vector.
remove(int) - Method in class LBJ2.util.DVector2D
Removes the row at the specified index.
remove(int, int) - Method in class LBJ2.util.DVector2D
Removes the element at the specified index of the vector.
remove(int) - Method in class LBJ2.util.FVector
Removes the element at the specified index of the vector.
remove(int) - Method in class LBJ2.util.IVector
Removes the element at the specified index of the vector.
remove(int) - Method in class LBJ2.util.IVector2D
Removes the row at the specified index.
remove(int, int) - Method in class LBJ2.util.IVector2D
Removes the element at the specified index of the vector.
remove(int) - Method in class LBJ2.util.OVector
Removes the element at the specified index of the vector.
removeFromChildLexicon(ChildLexicon) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Takes care of any feature-type-specific tasks that need to be taken care of when removing a feature of this type from a ChildLexicon, in particular updating parent counts and removing children of this feature if necessary.
removeFromChildLexicon(ChildLexicon) - Method in class LBJ2.classify.DiscreteReferrer
Takes care of any feature-type-specific tasks that need to be taken care of when removing a feature of this type from a ChildLexicon, in particular updating parent counts and removing children of this feature if necessary.
removeFromChildLexicon(ChildLexicon) - Method in class LBJ2.classify.Feature
Takes care of any feature-type-specific tasks that need to be taken care of when removing a feature of this type from a ChildLexicon, in particular updating parent counts and removing children of this feature if necessary.
removeFromChildLexicon(ChildLexicon) - Method in class LBJ2.classify.RealConjunctiveFeature
Takes care of any feature-type-specific tasks that need to be taken care of when removing a feature of this type from a ChildLexicon, in particular updating parent counts and removing children of this feature if necessary.
removeFromChildLexicon(ChildLexicon) - Method in class LBJ2.classify.RealReferrer
Takes care of any feature-type-specific tasks that need to be taken care of when removing a feature of this type from a ChildLexicon, in particular updating parent counts and removing children of this feature if necessary.
removeNull(String) - Method in class LBJ2.classify.TestDiscrete
Removes a label from the set of "null" labels.
replacer - Variable in class LBJ2.infer.FirstOrderEquality
This object provides the implementation of the method that replaces the values and variables in an equality given new settings of the quantification variables; if this member variable is set to null, it means this FirstOrderEquality is not nested in a quantification.
replacer - Variable in class LBJ2.infer.QuantifiedConstraintInvocation
The implementation of the function that computes the parameter.
replacer - Variable in class LBJ2.infer.Quantifier
The implementation of the functions that compute any parameters this quantifier may have.
reportAll(TestDiscrete) - Method in class LBJ2.classify.TestDiscrete
Report all the predictions in the argument's histograms.
reportPrediction(String, String) - Method in class LBJ2.classify.TestDiscrete
Whenever a prediction is made, report that prediction and the correct label with this method.
reset() - Method in class LBJ2.infer.BalasHook
This method clears the all constraints and variables out of the ILP solver's problem representation, bringing the ILPSolver instance back to the state it was in when first constructed.
reset() - Method in class LBJ2.infer.GurobiHook
This method clears the all constraints and variables out of the ILP solver's problem representation, bringing the ILPSolver instance back to the state it was in when first constructed.
reset() - Method in interface LBJ2.infer.ILPSolver
This method clears the all constraints and variables out of the ILP solver's problem representation, bringing the ILPSolver instance back to the state it was in when first constructed.
reset() - Method in class LBJ2.infer.XpressMPHook
This method clears the all constraints and variables out of the ILP solver's problem representation, bringing the ILPSolver instance back to the state it was in when first constructed.
reset() - Method in class LBJ2.infer.ZeroOneILPProblem
This method clears the all constraints and variables out of the problem representation, bringing it back to the state it was in when first constructed.
reset() - Method in class LBJ2.jni.GLPKHook
This method clears the all constraints and variables out of the ILP solver's problem representation, bringing the ILPSolver instance back to the state it was in when first constructed.
reset() - Method in class LBJ2.nlp.seg.PlainToTokenParser
Sets this parser back to the beginning of the raw data.
reset() - Method in class LBJ2.nlp.seg.WordsToTokens
Sets this parser back to the beginning of the raw data.
reset() - Method in class LBJ2.nlp.StringArraysToWords
Sets this parser back to the beginning of the raw data.
reset() - Method in class LBJ2.nlp.WordsInDocumentByDirectory
Sets WordsInDocumentByDirectory.filesIndex back to 0.
reset() - Method in class LBJ2.nlp.WordSplitter
Sets this parser back to the beginning of the raw data.
reset() - Method in class LBJ2.parse.ArrayFileParser
Resets the example file stream to the beginning.
reset() - Method in class LBJ2.parse.ArrayParser
Resets the ArrayParser.index pointer to 0.
reset() - Method in class LBJ2.parse.ChildrenFromVectors
Sets this parser back to the beginning of the raw data.
reset() - Method in class LBJ2.parse.FeatureVectorParser
Deprecated. Resets the example file stream to the beginning.
reset() - Method in class LBJ2.parse.FoldParser
Sets this parser back to the beginning of the raw data.
reset() - Method in class LBJ2.parse.LineByLine
Sets this parser back to the beginning of the raw data.
reset() - Method in interface LBJ2.parse.Parser
Sets this parser back to the beginning of the raw data.
returnIndex - Variable in class LBJ2.infer.GLPK
Deprecated. Used during ILP constraint generation.
returnIndex - Variable in class LBJ2.infer.ILPInference
Used during ILP constraint generation.
returnNegation - Variable in class LBJ2.infer.GLPK
Deprecated. Used during ILP constraint generation.
returnNegation - Variable in class LBJ2.infer.ILPInference
Used during ILP constraint generation.
rhs - Variable in class LBJ2.infer.XpressMPHook
Stores the constant bounds on each constraint.
right - Variable in class LBJ2.classify.DiscreteConjunctiveFeature
The other feature argument.
right - Variable in class LBJ2.classify.RealConjunctiveFeature
The other feature argument.
right - Variable in class LBJ2.infer.FirstOrderBinaryConstraint
The constraint on the right of the operator.
right - Variable in class LBJ2.infer.FirstOrderEqualityTwoValues
The value on the right of the equality.
right - Variable in class LBJ2.infer.FirstOrderEqualityWithValue
The value on the right of the equality.
right - Variable in class LBJ2.infer.FirstOrderEqualityWithVariable
The classifier application on the right of the equality.
right - Variable in class LBJ2.infer.PropositionalBinaryConstraint
The constraint on the right of the operator.
rightBracket - Static variable in class LBJ2.nlp.POS
POS object representing the "right bracket" tag.
rightConstant - Variable in class LBJ2.infer.EqualityArgumentReplacer
This flag is set if the right hand side of the equality is not quantified.
rjust(String, int) - Static method in class LBJ2.util.TableFormat
Returns a space-padded string of at least the specified width such that the argument string is right-justified within the returned string.
rounds - Variable in class LBJ2.learn.AdaBoost.Parameters
The number of times the weak learner will be called.
rounds - Variable in class LBJ2.learn.AdaBoost
The number of times the weak learner will be called.
rounds - Variable in class LBJ2.learn.Learner.Parameters
The number of rounds of training; but wait; this parameter doesn't actually affect the behavior of any learners as the number of training rounds is specified via other mechanisms.
ROWEQUAL - Static variable in class LBJ2.infer.XpressMPHook
Index into the XpressMPHook.typeCodes array representing "equal".
ROWGREATERTHAN - Static variable in class LBJ2.infer.XpressMPHook
Index into the XpressMPHook.typeCodes array representing "greater than".
rowIndexes - Variable in class LBJ2.infer.XpressMPHook
Contains one vector for each added variable representing a list of row indexes at which the associated variable has a non-zero coefficient.
ROWLESSTHAN - Static variable in class LBJ2.infer.XpressMPHook
Index into the XpressMPHook.typeCodes array representing "less than".
rows() - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the number of constraints in the ILP problem.
rowTypes - Variable in class LBJ2.infer.XpressMPHook
Stores the types of each constraint.
RP - Static variable in class LBJ2.nlp.POS
POS object representing the "particle" tag.
runVisit(Inference) - Method in class LBJ2.infer.AtLeastQuantifier
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.AtMostQuantifier
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.Constraint
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.ExistentialQuantifier
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderConjunction
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderConstant
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderDisjunction
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderDoubleImplication
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderEqualityWithValue
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderImplication
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.FirstOrderNegation
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalAtLeast
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalConjunction
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalConstant
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalDisjunction
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalDoubleImplication
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalImplication
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalNegation
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.PropositionalVariable
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.QuantifiedConstraintInvocation
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.
runVisit(Inference) - Method in class LBJ2.infer.UniversalQuantifier
Calls the appropriate visit(·) method of the given Inference for this Constraint, as per the visitor pattern.

S

satisfied() - Method in class LBJ2.infer.Inference
Determines if the constraints are satisfied by the current variable assignments.
satisfyAll(IVector, double, IVector) - Method in class LBJ2.infer.BalasHook
This method attempts to satisfy all specified constraints by turning on all eligible variables that have a negative coefficient in any of them.
save() - Method in class LBJ2.learn.Learner
Writes the binary representation of this learned function if there is a location cached in Learner.lcFilePath, and writes the binary representation of the feature lexicon if there is a location cached in Learner.lexFilePath.
saveLexicon() - Method in class LBJ2.learn.Learner
Writes the binary representation of the feature lexicon to the location specified by Learner.lexFilePath.
saveModel() - Method in class LBJ2.learn.Learner
Writes the binary representation of this learned function to the location specified by Learner.lcFilePath.
scaledAdd(int[], double[], double, double) - Method in class LBJ2.learn.BiasedRandomWeightVector
Self-modifying vector addition where the argument vector is first scaled by the given factor.
scaledAdd(int[], double[], double, double) - Method in class LBJ2.learn.BiasedWeightVector
Self-modifying vector addition where the argument vector is first scaled by the given factor.
scaledAdd(int[], double[], double) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
This method is similar to the implementation in SparseWeightVector except that NaiveBayes.NaiveBayesVector.incrementCount(int,double) is called instead of SparseWeightVector.setWeight(int,double).
scaledAdd(int[], double[], double, double) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
This method is similar to the implementation in SparseWeightVector except that the defaultW argument is ignored and NaiveBayes.NaiveBayesVector.incrementCount(int,double) is called instead of SparseWeightVector.setWeight(int,double).
scaledAdd(int[], double[], double) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Performs pairwise addition of the feature values in the given vector scaled by the given factor, modifying this weight vector, using the specified default weight when a feature from the given vector is not yet present in this vector.
scaledAdd(int[], double[], double, double) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Performs pairwise addition of the feature values in the given vector scaled by the given factor, modifying this weight vector, using the specified default weight when a feature from the given vector is not yet present in this vector.
scaledAdd(int[], double[]) - Method in class LBJ2.learn.SparseWeightVector
Self-modifying vector addition.
scaledAdd(int[], double[], double) - Method in class LBJ2.learn.SparseWeightVector
Self-modifying vector addition where the argument vector is first scaled by the given factor.
scaledAdd(int[], double[], double, double) - Method in class LBJ2.learn.SparseWeightVector
Self-modifying vector addition where the argument vector is first scaled by the given factor.
scaledMultiply(int[], double[], double) - Method in class LBJ2.learn.SparseWeightVector
Self-modifying vector multiplication where the argument vector is first scaled by the given factor.
scaledMultiply(int[], double[], double, double) - Method in class LBJ2.learn.SparseWeightVector
Self-modifying vector multiplication where the argument vector is first scaled by the given factor.
Score - Class in LBJ2.classify
A score is a number produced by a learner that indicates the degree to which a particular discrete classification is appropriate for a given object.
Score(String, double) - Constructor for class LBJ2.classify.Score
Initializes both member variables.
score - Variable in class LBJ2.classify.Score
The score.
score(Object) - Method in class LBJ2.learn.LinearThresholdUnit
Computes the score for the specified example vector which will be thresholded to make the binary classification.
score(int[], double[]) - Method in class LBJ2.learn.LinearThresholdUnit
Computes the score for the specified example vector which will be thresholded to make the binary classification.
score(int[], double[]) - Method in class LBJ2.learn.SparseAveragedPerceptron
The score of the specified object is equal to w * x + bias where * is dot product, w is the weight vector, and x is the feature vector produced by the extractor.
score(Object) - Method in class LBJ2.learn.SupportVectorMachine
Computes the dot product of the specified example vector and the weight vector associated with the supplied class.
score(Object, int) - Method in class LBJ2.learn.SupportVectorMachine
Computes the dot product of the specified example vector and the weight vector associated with the supplied class.
score(int[], double[], int) - Method in class LBJ2.learn.SupportVectorMachine
Computes the dot product of the specified feature vector and the weight vector associated with the supplied class.
scores - Variable in class LBJ2.infer.FirstOrderVariable
The scores of the possible values this variable might be set to.
scores(int[], double[]) - Method in class LBJ2.learn.AdaBoost
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
scores(Object) - Method in class LBJ2.learn.Learner
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
scores(FeatureVector) - Method in class LBJ2.learn.Learner
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given feature vector.
scores(int[], double[]) - Method in class LBJ2.learn.Learner
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
scores(int[], double[]) - Method in class LBJ2.learn.LinearThresholdUnit
An LTU returns two scores; one for the negative classification and one for the positive classification.
scores(int[], double[]) - Method in class LBJ2.learn.MuxLearner
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
scores(int[], double[]) - Method in class LBJ2.learn.NaiveBayes
The scores in the returned ScoreSet are the posterior probabilities of each possible label given the example.
scores(int[], double[]) - Method in class LBJ2.learn.SparseMIRA
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
scores(Object, Collection) - Method in class LBJ2.learn.SparseMIRA
Returns scores for only those labels in the given collection.
scores(int[], double[], Collection) - Method in class LBJ2.learn.SparseMIRA
Returns scores for only those labels in the given collection.
scores(Object, Collection) - Method in class LBJ2.learn.SparseNetworkLearner
Returns scores for only those labels in the given collection.
scores(int[], double[], Collection) - Method in class LBJ2.learn.SparseNetworkLearner
Returns scores for only those labels in the given collection.
scores(int[], double[]) - Method in class LBJ2.learn.SparseNetworkLearner
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
scores(int[], double[]) - Method in class LBJ2.learn.StochasticGradientDescent
Since this algorithm returns a real feature, it does not return scores.
scores(int[], double[]) - Method in class LBJ2.learn.SupportVectorMachine
An SVM returns a classification score for each class.
scores(int[], double[]) - Method in class LBJ2.learn.WekaWrapper
Produces a set of scores indicating the degree to which each possible discrete classification value is associated with the given example object.
ScoreSet - Class in LBJ2.classify
A score set is simply a set of Scores.
ScoreSet() - Constructor for class LBJ2.classify.ScoreSet
Default constructor.
ScoreSet(String[], double[]) - Constructor for class LBJ2.classify.ScoreSet
The elements of the two argument arrays are assumed to be pair-wise associated with each other.
ScoreSet(Score[]) - Constructor for class LBJ2.classify.ScoreSet
The elements of the array are added to the set.
SegmentTagPlain - Class in LBJ2.nlp.seg
Use this command line program to produce textual segment annotations on an input text using a learned Word classifier.
SegmentTagPlain() - Constructor for class LBJ2.nlp.seg.SegmentTagPlain
 
Sentence - Class in LBJ2.nlp
This representation of a sentence simply stores the entire text of the sentence in a string.
Sentence(String) - Constructor for class LBJ2.nlp.Sentence
Constructs a sentence from its text.
Sentence(String, int, int) - Constructor for class LBJ2.nlp.Sentence
Constructor that sets the character offsets of this sentence.
sentenceBeginner(Word) - Method in class LBJ2.nlp.SentenceSplitter
Simple check to see if the given word can reliably be identified as the first word of a sentence.
sentences - Variable in class LBJ2.nlp.SentenceSplitter
Contains sentences ready to be returned to the user upon request.
SentenceSplitter - Class in LBJ2.nlp
Use this class to extract sentences from plain text.
SentenceSplitter(String) - Constructor for class LBJ2.nlp.SentenceSplitter
Sentence splits the given file.
SentenceSplitter(String[]) - Constructor for class LBJ2.nlp.SentenceSplitter
Sentence splits the given input.
separator - Static variable in class LBJ2.parse.FoldSeparator
The only instance of this class is stored here.
sequential - Static variable in class LBJ2.parse.FoldParser.SplitPolicy
Represents the sequential split policy.
set - Variable in class LBJ2.classify.ScoreSet
The scores in this set, indexed by the discrete classification.
set(int, double) - Method in class LBJ2.util.DVector
Sets the value at the specified index to the given value.
set(int, double, double) - Method in class LBJ2.util.DVector
Sets the value at the specified index to the given value.
set(int, int, double) - Method in class LBJ2.util.DVector2D
Sets the value at the specified index to the given value.
set(int, int, double, double) - Method in class LBJ2.util.DVector2D
Sets the value at the specified index to the given value.
set(int, Feature) - Method in class LBJ2.util.FVector
Sets the value at the specified index to the given value.
set(int, Feature, Feature) - Method in class LBJ2.util.FVector
Sets the value at the specified index to the given value.
set(int, int) - Method in class LBJ2.util.IVector
Sets the value at the specified index to the given value.
set(int, int, int) - Method in class LBJ2.util.IVector
Sets the value at the specified index to the given value.
set(int, int, int) - Method in class LBJ2.util.IVector2D
Sets the value at the specified index to the given value.
set(int, int, int, int) - Method in class LBJ2.util.IVector2D
Sets the value at the specified index to the given value.
set(int, Object) - Method in class LBJ2.util.OVector
Sets the value at the specified index to the given value.
set(int, Object, Object) - Method in class LBJ2.util.OVector
Sets the value at the specified index to the given value.
setArrayLength(int) - Method in class LBJ2.classify.DiscreteArrayFeature
If this feature is an array feature, call this method to set its array length; otherwise, this method has no effect.
setArrayLength(int) - Method in class LBJ2.classify.DiscreteArrayStringFeature
If this feature is an array feature, call this method to set its array length; otherwise, this method has no effect.
setArrayLength(int) - Method in class LBJ2.classify.Feature
If this feature is an array feature, call this method to set its array length; otherwise, this method has no effect.
setArrayLength(int) - Method in class LBJ2.classify.RealArrayFeature
If this feature is an array feature, call this method to set its array length; otherwise, this method has no effect.
setArrayLength(int) - Method in class LBJ2.classify.RealArrayStringFeature
If this feature is an array feature, call this method to set its array length; otherwise, this method has no effect.
setBase(Learner) - Method in class LBJ2.learn.MuxLearner
Sets MuxLearner.baseLearner.
setBeta(double) - Method in class LBJ2.learn.BinaryMIRA
Sets the BinaryMIRA.beta member variable to the specified value.
setBeta(double) - Method in class LBJ2.learn.SparseWinnow
Sets the SparseWinnow.beta member variable to the specified value.
setBoundType(int, int) - Method in class LBJ2.infer.ZeroOneILPProblem
Sets the bound type for the specified constraint.
setColumns - Variable in class LBJ2.infer.XpressMPHook
Contains one vector for each SOS1 in the ILP problem representing the list of columns involved in the set.
setConfidence(double) - Method in class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence member variable to the specified value.
setConstraintBound(int, double) - Method in class LBJ2.infer.ZeroOneILPProblem
Sets the bound on the specified constraint.
setConstraintCoefficient(int, int, double) - Method in class LBJ2.infer.ZeroOneILPProblem
Sets the specified coefficient in the constraint matrix.
setDefaultFeature() - Method in class LBJ2.learn.MuxLearner
Sets the value of MuxLearner.defaultFeature according to the current value of MuxLearner.defaultPrediction.
setEncoding(String) - Method in class LBJ2.learn.Learner
Sets the encoding to use in this learner's feature lexicon.
setEncoding(String) - Method in class LBJ2.learn.Lexicon
Sets the encoding used when adding features to this lexicon.
setExample(Object) - Method in class LBJ2.infer.FirstOrderVariable
Sets the example object.
setExtractor(Classifier) - Method in class LBJ2.learn.Learner
Sets the extractor.
setExtractor(Classifier) - Method in class LBJ2.learn.SparseNetworkLearner
Sets the extractor.
setFirst(boolean) - Method in class LBJ2.infer.BalasHook
Sets the value of BalasHook.first.
setFromPivot(boolean) - Method in class LBJ2.parse.FoldParser
Sets the value of FoldParser.fromPivot, which controls whether examples will be taken from the pivot fold or from all other folds.
setIncludePruned(boolean) - Method in class LBJ2.parse.ArrayFileParser
Setter for ArrayFileParser.includePruned.
setInitialVariance(double) - Method in class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.initialVariance member variable to the specified value.
setInitialWeight(double) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the LinearThresholdUnit.initialWeight member variable to the specified value.
setIsTraining(boolean) - Method in class LBJ2.learn.BatchTrainer
Sets the static isTraining flag inside BatchTrainer.learner's runtime class to the specified value.
setLabeler(Classifier) - Method in class LBJ2.classify.ValueComparer
Sets the value of ValueComparer.labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.AdaBoost
Sets the labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.Learner
Sets the labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the labels list.
setLabeler(Classifier) - Method in class LBJ2.learn.MuxLearner
Sets the labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.NaiveBayes
Sets the labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.SparseMIRA
Sets the labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.SparseNetworkLearner
Sets the labeler.
setLabeler(Classifier) - Method in class LBJ2.learn.SupportVectorMachine
Sets the labels list.
setLabeler(Classifier) - Method in class LBJ2.learn.WekaWrapper
Sets the labeler.
setLabelLexicon(Lexicon) - Method in class LBJ2.learn.Learner
Sets the label lexicon.
setLabelLexicon(Lexicon) - Method in class LBJ2.learn.MuxLearner
Sets the label lexicon.
setLearningRate(double) - Method in class LBJ2.learn.SparsePerceptron
Sets the LinearThresholdUnit.learningRate member variable to the specified value.
setLearningRate(double) - Method in class LBJ2.learn.SparseWinnow
Sets the LinearThresholdUnit.learningRate member variable to the specified value.
setLearningRate(double) - Method in class LBJ2.learn.StochasticGradientDescent
Sets the StochasticGradientDescent.learningRate member variable to the specified value.
setLexicon(Lexicon) - Method in class LBJ2.learn.Learner
Sets the feature lexicon.
setLexiconLocation(String) - Method in class LBJ2.learn.Learner
Sets the location of the lexicon as a regular file on this file system.
setLexiconLocation(URL) - Method in class LBJ2.learn.Learner
Sets the location of the model as a URL.
setLTU(LinearThresholdUnit) - Method in class LBJ2.learn.SparseNetworkLearner
Sets the baseLTU variable.
setMaximize(boolean) - Method in class LBJ2.infer.GurobiHook
Sets the direction of the objective function.
setMaximize(boolean) - Method in interface LBJ2.infer.ILPSolver
Sets the direction of the objective function.
setMaximize(boolean) - Method in class LBJ2.infer.XpressMPHook
Sets the direction of the objective function.
setMaximize(boolean) - Method in class LBJ2.infer.ZeroOneILPProblem
Sets the direction of the objective function.
setMaximize(boolean) - Method in class LBJ2.jni.GLPKHook
Sets the direction of the objective function.
setMaximize() - Method in class LBJ2.jni.GLPKHook
Sets the direction of the objective function to maximization.
setMinimize() - Method in class LBJ2.jni.GLPKHook
Sets the direction of the objective function to minimization.
setModelLocation(String) - Method in class LBJ2.learn.Learner
Sets the location of the model as a regular file on this file system.
setModelLocation(URL) - Method in class LBJ2.learn.Learner
Sets the location of the model as a URL.
setNegativeThickness(double) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the LinearThresholdUnit.negativeThickness member variable to the specified value.
setObjectiveCoefficient(int, double) - Method in class LBJ2.infer.ZeroOneILPProblem
Sets the specified coefficient in the objective function.
setParameters(Learner) - Method in class LBJ2.learn.AdaBoost.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(AdaBoost.Parameters) - Method in class LBJ2.learn.AdaBoost
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.BinaryMIRA.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(BinaryMIRA.Parameters) - Method in class LBJ2.learn.BinaryMIRA
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.Learner.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(Learner.Parameters) - Method in class LBJ2.learn.Learner
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.LinearThresholdUnit.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(LinearThresholdUnit.Parameters) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.MultiLabelLearner.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(Learner) - Method in class LBJ2.learn.MuxLearner.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(MuxLearner.Parameters) - Method in class LBJ2.learn.MuxLearner
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.NaiveBayes.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(NaiveBayes.Parameters) - Method in class LBJ2.learn.NaiveBayes
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.PassiveAggressive.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(Learner) - Method in class LBJ2.learn.SparseAveragedPerceptron.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(SparseAveragedPerceptron.Parameters) - Method in class LBJ2.learn.SparseAveragedPerceptron
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.SparseConfidenceWeighted.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(SparseConfidenceWeighted.Parameters) - Method in class LBJ2.learn.SparseConfidenceWeighted
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.SparseMIRA.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(Learner) - Method in class LBJ2.learn.SparseNetworkLearner.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(SparseNetworkLearner.Parameters) - Method in class LBJ2.learn.SparseNetworkLearner
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.SparsePerceptron.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(Learner) - Method in class LBJ2.learn.SparseWinnow.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(SparseWinnow.Parameters) - Method in class LBJ2.learn.SparseWinnow
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.StochasticGradientDescent.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(StochasticGradientDescent.Parameters) - Method in class LBJ2.learn.StochasticGradientDescent
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.SupportVectorMachine.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(SupportVectorMachine.Parameters) - Method in class LBJ2.learn.SupportVectorMachine
Sets the values of parameters that control the behavior of this learning algorithm.
setParameters(Learner) - Method in class LBJ2.learn.WekaWrapper.Parameters
Calls the appropriate Learner.setParameters(Parameters) method for this Parameters object.
setParameters(WekaWrapper.Parameters) - Method in class LBJ2.learn.WekaWrapper
Sets the values of parameters that control the behavior of this learning algorithm.
setParent(Lexicon) - Method in class LBJ2.learn.ChildLexicon
Sets the value of ChildLexicon.parentLexicon and makes sure that any features marked for removal in this lexicon are the identical objects also present in the parent.
setPivot(int) - Method in class LBJ2.parse.FoldParser
Sets the pivot fold, which also causes FoldParser.parser to be reset.
setPositiveThickness(double) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the LinearThresholdUnit.positiveThickness member variable to the specified value.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.ArgumentReplacer
Provides the settings of quantification variables.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.AtLeastQuantifier
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.AtMostQuantifier
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.ExistentialQuantifier
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderBinaryConstraint
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderConstant
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderConstraint
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderEqualityTwoValues
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderEqualityWithValue
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderEqualityWithVariable
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderNAryConstraint
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.FirstOrderNegation
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.QuantifiedConstraintInvocation
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's FirstOrderEquality children.
setQuantificationVariables(Vector) - Method in class LBJ2.infer.UniversalQuantifier
This method sets the given quantification variables to the given object references and evaluates the expressions involving those variables in this constraint's children.
setSmoothing(double) - Method in class LBJ2.learn.NaiveBayes
Sets the smoothing parameter to the specified value.
setThickness(double) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the LinearThresholdUnit.positiveThickness and LinearThresholdUnit.negativeThickness member variables to the specified value.
setThreshold(double) - Method in class LBJ2.learn.LinearThresholdUnit
Sets the LinearThresholdUnit.threshold member variable to the specified value.
setThresholds(int[]) - Method in class LBJ2.learn.Lexicon.PruningPolicy
Use this method to establish feature count thresholds in the "Percentage" policy.
setValue(String) - Method in class LBJ2.infer.FirstOrderVariable
Sets the value of this variable.
setValue(String) - Method in class LBJ2.util.ByteString
Sets the value of this byte string to the byte encoding of the specified string.
setVariableOff(int) - Method in class LBJ2.infer.BalasHook
Sets the given variable off and updates the slack variables.
setVariableOn(int) - Method in class LBJ2.infer.BalasHook
Sets the given variable on and updates the slack variables.
setWeight(int, double) - Method in class LBJ2.learn.NaiveBayes.NaiveBayesVector
This method is overridden to do nothing; use NaiveBayes.NaiveBayesVector.incrementCount(int,double) instead.
setWeight(int, double) - Method in class LBJ2.learn.SparseWeightVector
Sets the weight of the given feature.
setWeight(int, double, double) - Method in class LBJ2.learn.SparseWeightVector
Sets the weight of the given feature.
shortValue(Object) - Method in class LBJ2.classify.MultiValueComparer
Returns the prediction of this classifier as a short that acts as a pointer into DiscreteFeature.BooleanValues.
shortValue(Object) - Method in class LBJ2.infer.ParameterizedConstraint
Returns the prediction of this classifier as a short that acts as a pointer into DiscreteFeature.BooleanValues.
shouldDemote(boolean, double, double, double) - Method in class LBJ2.learn.BinaryMIRA
Determines if the weights should be promoted.
shouldDemote(boolean, double, double, double) - Method in class LBJ2.learn.LinearThresholdUnit
Determines if the weights should be demoted
shouldPromote(boolean, double, double, double) - Method in class LBJ2.learn.BinaryMIRA
Determines if the weights should be promoted.
shouldPromote(boolean, double, double, double) - Method in class LBJ2.learn.LinearThresholdUnit
Determines if the weights should be promoted
shuffled - Variable in class LBJ2.parse.FoldParser
Used only by the random splitting policy to remember which example indexes are in which folds.
shuffleIndex - Variable in class LBJ2.parse.FoldParser
An index pointing into FoldParser.shuffled.
Sigmoid - Class in LBJ2.learn
The sigmoid normalization function replaces each score xi with 1 / (1 + exp(-alpha xi)), where alpha is a user-specified constant.
Sigmoid() - Constructor for class LBJ2.learn.Sigmoid
Default constructor; sets Sigmoid.alpha to 1.
Sigmoid(double) - Constructor for class LBJ2.learn.Sigmoid
Initializing constructor.
sign(double) - Static method in class LBJ2.util.StudentT
returns -1 if x < 0 else returns 1 (double version)
simpleDot(int[], double[]) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Takes the dot product of the regular, non-averaged, Perceptron weight vector with the given vector, using the hard coded default weight.
simpleDot(int[], double[], double) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Takes the dot product of the regular, non-averaged, Perceptron weight vector with the given vector, using the specified default weight when a feature is not yet present in this vector.
simplify() - Method in class LBJ2.infer.PropositionalAtLeast
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalConjunction
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify(boolean) - Method in class LBJ2.infer.PropositionalConjunction
Same as simplify(), except this method gives the caller the ability to optionally leave double implications that are immediate children of this conjunction in tact.
simplify() - Method in class LBJ2.infer.PropositionalConstant
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalConstraint
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalDisjunction
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalDoubleImplication
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalImplication
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalNegation
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
simplify() - Method in class LBJ2.infer.PropositionalVariable
Produces a new, logically simplified version of this constraint, preserving variable consolidation.
size() - Method in class LBJ2.classify.FeatureVector
The size of this vector is defined as the size of FeatureVector.features plus the size of FeatureVector.labels.
size() - Method in class LBJ2.classify.ScoreSet
Returns the number of scores in this set.
size() - Method in class LBJ2.infer.FirstOrderNAryConstraint
Returns the number of terms in this constraint.
size() - Method in class LBJ2.infer.PropositionalAtLeast
Returns the number of terms in this constraint.
size() - Method in class LBJ2.infer.PropositionalNAryConstraint
Returns the number of terms in this constraint.
size() - Method in class LBJ2.learn.Lexicon
Returns the number of features currently stored in Lexicon.lexicon.
size() - Method in class LBJ2.learn.SparseWeightVector
Returns the length of the weight vector.
size() - Method in class LBJ2.parse.LinkedVector
Returns the size of the vector.
size - Variable in class LBJ2.util.DVector
The number of elements in the vector.
size() - Method in class LBJ2.util.DVector
Returns the value of DVector.size.
size() - Method in class LBJ2.util.DVector2D
Returns the size of the first dimension of this vector..
size(int) - Method in class LBJ2.util.DVector2D
Returns the size associated with the specified vector.
size - Variable in class LBJ2.util.FVector
The number of elements in the vector.
size() - Method in class LBJ2.util.FVector
Returns the value of FVector.size.
size - Variable in class LBJ2.util.IVector
The number of elements in the vector.
size() - Method in class LBJ2.util.IVector
Returns the value of IVector.size.
size() - Method in class LBJ2.util.IVector2D
Returns the size of the first dimension of this vector..
size(int) - Method in class LBJ2.util.IVector2D
Returns the size associated with the specified vector.
size - Variable in class LBJ2.util.OVector
The number of elements in the vector.
size() - Method in class LBJ2.util.OVector
Returns the value of OVector.size.
sizes - Variable in class LBJ2.util.DVector2D
The sizes of each vector in the second dimension.
sizes - Variable in class LBJ2.util.IVector2D
The sizes of each vector in the second dimension.
slack - Variable in class LBJ2.infer.BalasHook
The current values that, when added to the left hand sides of the corresponding constraints, cause all constraints to be satisfied at equality during the intermediate stages of the algorithm.
slack(int[]) - Method in class LBJ2.infer.BalasHook
Given a potential solution, this method determines the values for the slack violates that will satisfy our less-than constraints at equality.
smoothing - Variable in class LBJ2.learn.NaiveBayes.Parameters
The exponential of this number is used as the conditional probability of a feature that was never observed during training; default NaiveBayes.defaultSmoothing.
smoothing - Variable in class LBJ2.learn.NaiveBayes
The exponential of this number is used as the conditional probability of a feature that was never observed during training; default NaiveBayes.defaultSmoothing.
Softmax - Class in LBJ2.learn
The softmax normalization function replaces each score with the fraction of its exponential out of the sum of all scores' exponentials.
Softmax() - Constructor for class LBJ2.learn.Softmax
Default constructor; sets Softmax.alpha to 1.
Softmax(double) - Constructor for class LBJ2.learn.Softmax
Initializing constructor.
solution - Variable in class LBJ2.infer.BalasHook
The solution to the optimization problem.
solve() - Method in class LBJ2.infer.BalasHook
Solves the ILP problem, saving the solution internally.
solve(double) - Method in class LBJ2.infer.BalasHook
Implements the meat of the Balas algorithm recursively.
solve() - Method in class LBJ2.infer.GurobiHook
Solves the ILP problem, saving the solution internally.
solve() - Method in interface LBJ2.infer.ILPSolver
Solves the ILP problem, saving the solution internally.
solve() - Method in class LBJ2.infer.XpressMPHook
Solves the ILP problem, saving the solution internally.
solve() - Method in class LBJ2.jni.GLPKHook
Simply calls GLPKHook.nativeSolve(), saving the result in GLPKHook.solved.
solved - Variable in class LBJ2.jni.GLPKHook
Indicates whether this problem instance has been solved already.
solver - Variable in class LBJ2.infer.GLPK
Deprecated. The JNI to the GLPK library.
solver - Variable in class LBJ2.infer.ILPInference
The ILP algorithm.
solver - Variable in exception LBJ2.infer.InferenceNotOptimalException
The ILP algorithm and problem representation that failed.
solverType - Variable in class LBJ2.learn.SupportVectorMachine.Parameters
The type of solver; default SupportVectorMachine.defaultSolverType.
solverType - Variable in class LBJ2.learn.SupportVectorMachine
The type of solver; default SupportVectorMachine.defaultSolverType unless there are more than 2 labels observed in the training data, in which case "MCSVM_CS" becomes the default.
sort() - Method in class LBJ2.classify.FeatureVector
Sorts both of the feature lists.
sort() - Method in class LBJ2.util.DVector
Sorts this vector in increasing order.
sort(int) - Method in class LBJ2.util.DVector2D
Sorts the selected row in increasing order.
sort() - Method in class LBJ2.util.FVector
Sorts this vector in increasing order.
sort() - Method in class LBJ2.util.IVector
Sorts this vector in increasing order.
sort(int) - Method in class LBJ2.util.IVector2D
Sorts the selected row in increasing order.
sort(Comparator) - Method in class LBJ2.util.OVector
Sorts this vector in increasing order according to the given comparator.
Sort - Class in LBJ2.util
This class provides methods for sorting primitive arrays with user specified comparators.
Sort() - Constructor for class LBJ2.util.Sort
 
sort(int[], Sort.IntComparator) - Static method in class LBJ2.util.Sort
Sorts the given array of ints according to the given comparator.
sort(int[], int, int, Sort.IntComparator) - Static method in class LBJ2.util.Sort
Sorts the specified portion (including fromIndex and excluding toIndex) of the given array of ints according to the given comparator.
Sort.IntComparator - Interface in LBJ2.util
Allows a user to implement their own comparison function for integers.
sortVariablesByViolations(IVector) - Method in class LBJ2.infer.BalasHook
Computes a vector of indexes that, in effect, sorts the given variables according to how violated the constraints would be if each were turned on independently.
SOSes - Variable in class LBJ2.infer.GurobiHook
Contains all of the Gurobi SOS objects created for the model.
SparseAveragedPerceptron - Class in LBJ2.learn
An approximation to voted Perceptron, in which a weighted average of the weight vectors arrived at during training becomes the weight vector used to make predictions after training.
SparseAveragedPerceptron() - Constructor for class LBJ2.learn.SparseAveragedPerceptron
The learning rate and threshold take default values, while the name of the classifier gets the empty string.
SparseAveragedPerceptron(double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Sets the learning rate to the specified value, and the threshold takes the default, while the name of the classifier gets the empty string.
SparseAveragedPerceptron(double, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Sets the learning rate and threshold to the specified values, while the name of the classifier gets the empty string.
SparseAveragedPerceptron(double, double, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness, while the name of the classifier gets the empty string.
SparseAveragedPerceptron(double, double, double, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses, while the name of the classifier gets the empty string.
SparseAveragedPerceptron(SparseAveragedPerceptron.Parameters) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Initializing constructor.
SparseAveragedPerceptron(String) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
The learning rate and threshold take default values.
SparseAveragedPerceptron(String, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Sets the learning rate to the specified value, and the threshold takes the default.
SparseAveragedPerceptron(String, double, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Sets the learning rate and threshold to the specified values.
SparseAveragedPerceptron(String, double, double, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness.
SparseAveragedPerceptron(String, double, double, double, double) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses.
SparseAveragedPerceptron(String, SparseAveragedPerceptron.Parameters) - Constructor for class LBJ2.learn.SparseAveragedPerceptron
Initializing constructor.
SparseAveragedPerceptron.AveragedWeightVector - Class in LBJ2.learn
This implementation of a sparse weight vector associates two doubles with each Feature.
SparseAveragedPerceptron.AveragedWeightVector() - Constructor for class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Simply instantiates the weight vectors.
SparseAveragedPerceptron.AveragedWeightVector(double[]) - Constructor for class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Simply initializes the weight vectors.
SparseAveragedPerceptron.AveragedWeightVector(DVector) - Constructor for class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Simply initializes the weight vectors.
SparseAveragedPerceptron.Parameters - Class in LBJ2.learn
Simply a container for all of SparseAveragedPerceptron's configurable parameters.
SparseAveragedPerceptron.Parameters() - Constructor for class LBJ2.learn.SparseAveragedPerceptron.Parameters
Sets all the default values.
SparseAveragedPerceptron.Parameters(SparsePerceptron.Parameters) - Constructor for class LBJ2.learn.SparseAveragedPerceptron.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SparseAveragedPerceptron.Parameters(SparseAveragedPerceptron.Parameters) - Constructor for class LBJ2.learn.SparseAveragedPerceptron.Parameters
Copy constructor.
SparseConfidenceWeighted - Class in LBJ2.learn
This is an implementation of the approximate "variance algorithm" of Confidence Weighted Linear Classification, Dredze, et.al (ICML, 2008).
SparseConfidenceWeighted() - Constructor for class LBJ2.learn.SparseConfidenceWeighted
All parameters get default values.
SparseConfidenceWeighted(double) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence parameter.
SparseConfidenceWeighted(double, double) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence and SparseConfidenceWeighted.initialVariance parameters.
SparseConfidenceWeighted(double, double, SparseWeightVector) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence, SparseConfidenceWeighted.initialVariance, and LinearThresholdUnit.weightVector parameters.
SparseConfidenceWeighted(double, double, SparseWeightVector, SparseWeightVector) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence, SparseConfidenceWeighted.initialVariance, LinearThresholdUnit.weightVector, and SparseConfidenceWeighted.variances parameters.
SparseConfidenceWeighted(SparseConfidenceWeighted.Parameters) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Initializing constructor.
SparseConfidenceWeighted(String) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
All parameters get default values.
SparseConfidenceWeighted(String, double) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence parameter.
SparseConfidenceWeighted(String, double, double) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence and SparseConfidenceWeighted.initialVariance parameters.
SparseConfidenceWeighted(String, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence, SparseConfidenceWeighted.initialVariance, and LinearThresholdUnit.weightVector parameters.
SparseConfidenceWeighted(String, double, double, SparseWeightVector, SparseWeightVector) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Sets the SparseConfidenceWeighted.confidence, SparseConfidenceWeighted.initialVariance, LinearThresholdUnit.weightVector, and SparseConfidenceWeighted.variances parameters.
SparseConfidenceWeighted(String, SparseConfidenceWeighted.Parameters) - Constructor for class LBJ2.learn.SparseConfidenceWeighted
Initializing constructor.
SparseConfidenceWeighted.Parameters - Class in LBJ2.learn
Simply a container for all of SparseConfidenceWeighted's configurable parameters.
SparseConfidenceWeighted.Parameters() - Constructor for class LBJ2.learn.SparseConfidenceWeighted.Parameters
Sets all the default values.
SparseConfidenceWeighted.Parameters(LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.SparseConfidenceWeighted.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SparseConfidenceWeighted.Parameters(SparseConfidenceWeighted.Parameters) - Constructor for class LBJ2.learn.SparseConfidenceWeighted.Parameters
Copy constructor.
SparseMIRA - Class in LBJ2.learn
An implementation of the Margin Infused Relaxed Algorithm of Crammer and Singer.
SparseMIRA() - Constructor for class LBJ2.learn.SparseMIRA
This algorithm has no parameters to set!
SparseMIRA(SparseMIRA.Parameters) - Constructor for class LBJ2.learn.SparseMIRA
Initializing constructor.
SparseMIRA(String) - Constructor for class LBJ2.learn.SparseMIRA
This algorithm has no parameters to set!
SparseMIRA(String, SparseMIRA.Parameters) - Constructor for class LBJ2.learn.SparseMIRA
Initializing constructor.
SparseMIRA.Parameters - Class in LBJ2.learn
Simply a container for all of SparseMIRA's configurable parameters.
SparseMIRA.Parameters() - Constructor for class LBJ2.learn.SparseMIRA.Parameters
Sets all the default values.
SparseMIRA.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.SparseMIRA.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SparseMIRA.Parameters(SparseMIRA.Parameters) - Constructor for class LBJ2.learn.SparseMIRA.Parameters
Copy constructor.
SparseNetworkLearner - Class in LBJ2.learn
A SparseNetworkLearner uses multiple LinearThresholdUnits to make a multi-class classification.
SparseNetworkLearner() - Constructor for class LBJ2.learn.SparseNetworkLearner
Instantiates this multi-class learner with the default learning algorithm: SparseNetworkLearner.defaultBaseLTU.
SparseNetworkLearner(LinearThresholdUnit) - Constructor for class LBJ2.learn.SparseNetworkLearner
Instantiates this multi-class learner using the specified algorithm to learn each class separately as a binary classifier.
SparseNetworkLearner(SparseNetworkLearner.Parameters) - Constructor for class LBJ2.learn.SparseNetworkLearner
Initializing constructor.
SparseNetworkLearner(String) - Constructor for class LBJ2.learn.SparseNetworkLearner
Instantiates this multi-class learner with the default learning algorithm: SparseNetworkLearner.defaultBaseLTU.
SparseNetworkLearner(String, LinearThresholdUnit) - Constructor for class LBJ2.learn.SparseNetworkLearner
Instantiates this multi-class learner using the specified algorithm to learn each class separately as a binary classifier.
SparseNetworkLearner(String, SparseNetworkLearner.Parameters) - Constructor for class LBJ2.learn.SparseNetworkLearner
Initializing constructor.
SparseNetworkLearner.Parameters - Class in LBJ2.learn
Simply a container for all of SparseNetworkLearner's configurable parameters.
SparseNetworkLearner.Parameters() - Constructor for class LBJ2.learn.SparseNetworkLearner.Parameters
Sets all the default values.
SparseNetworkLearner.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.SparseNetworkLearner.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SparseNetworkLearner.Parameters(SparseNetworkLearner.Parameters) - Constructor for class LBJ2.learn.SparseNetworkLearner.Parameters
Copy constructor.
SparsePerceptron - Class in LBJ2.learn
Simple sparse Perceptron implementation.
SparsePerceptron() - Constructor for class LBJ2.learn.SparsePerceptron
The learning rate and threshold take default values, while the name of the classifier gets the empty string.
SparsePerceptron(double) - Constructor for class LBJ2.learn.SparsePerceptron
Sets the learning rate to the specified value, and the threshold takes the default, while the name of the classifier gets the empty string.
SparsePerceptron(double, double) - Constructor for class LBJ2.learn.SparsePerceptron
Sets the learning rate and threshold to the specified values, while the name of the classifier gets the empty string.
SparsePerceptron(double, double, double) - Constructor for class LBJ2.learn.SparsePerceptron
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness, while the name of the classifier gets the empty string.
SparsePerceptron(double, double, double, double) - Constructor for class LBJ2.learn.SparsePerceptron
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses, while the name of the classifier gets the empty string.
SparsePerceptron(double, double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.SparsePerceptron
Use this constructor to specify an alternative subclass of SparseWeightVector, while the name of the classifier gets the empty string.
SparsePerceptron(SparsePerceptron.Parameters) - Constructor for class LBJ2.learn.SparsePerceptron
Initializing constructor.
SparsePerceptron(String) - Constructor for class LBJ2.learn.SparsePerceptron
The learning rate and threshold take default values.
SparsePerceptron(String, double) - Constructor for class LBJ2.learn.SparsePerceptron
Sets the learning rate to the specified value, and the threshold takes the default.
SparsePerceptron(String, double, double) - Constructor for class LBJ2.learn.SparsePerceptron
Sets the learning rate and threshold to the specified values.
SparsePerceptron(String, double, double, double) - Constructor for class LBJ2.learn.SparsePerceptron
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness.
SparsePerceptron(String, double, double, double, double) - Constructor for class LBJ2.learn.SparsePerceptron
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses.
SparsePerceptron(String, double, double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.SparsePerceptron
Use this constructor to specify an alternative subclass of SparseWeightVector.
SparsePerceptron(String, SparsePerceptron.Parameters) - Constructor for class LBJ2.learn.SparsePerceptron
Initializing constructor.
SparsePerceptron.Parameters - Class in LBJ2.learn
Simply a container for all of SparsePerceptron's configurable parameters.
SparsePerceptron.Parameters() - Constructor for class LBJ2.learn.SparsePerceptron.Parameters
Sets all the default values.
SparsePerceptron.Parameters(LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.SparsePerceptron.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SparsePerceptron.Parameters(SparsePerceptron.Parameters) - Constructor for class LBJ2.learn.SparsePerceptron.Parameters
Copy constructor.
SparseWeightVector - Class in LBJ2.learn
This class is used as a weight vector in sparse learning algorithms.
SparseWeightVector() - Constructor for class LBJ2.learn.SparseWeightVector
Simply instantiates SparseWeightVector.weights.
SparseWeightVector(double[]) - Constructor for class LBJ2.learn.SparseWeightVector
Simply initializes SparseWeightVector.weights.
SparseWeightVector(DVector) - Constructor for class LBJ2.learn.SparseWeightVector
Simply initializes SparseWeightVector.weights.
SparseWinnow - Class in LBJ2.learn
Simple sparse Winnow implementation.
SparseWinnow() - Constructor for class LBJ2.learn.SparseWinnow
LinearThresholdUnit.learningRate, SparseWinnow.beta, and LinearThresholdUnit.threshold take default values, while the name of the classifier gets the empty string.
SparseWinnow(double) - Constructor for class LBJ2.learn.SparseWinnow
Sets LinearThresholdUnit.learningRate to the specified value, SparseWinnow.beta to 1 / LinearThresholdUnit.learningRate, and the LinearThresholdUnit.threshold takes the default, while the name of the classifier gets the empty string.
SparseWinnow(double, double) - Constructor for class LBJ2.learn.SparseWinnow
Sets LinearThresholdUnit.learningRate and SparseWinnow.beta to the specified values, and the LinearThresholdUnit.threshold takes the default, while the name of the classifier gets the empty string.
SparseWinnow(double, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Sets LinearThresholdUnit.learningRate, SparseWinnow.beta, and LinearThresholdUnit.threshold to the specified values, while the name of the classifier gets the empty string.
SparseWinnow(double, double, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness, while the name of the classifier gets the empty string.
SparseWinnow(double, double, double, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses, while the name of the classifier gets the empty string.
SparseWinnow(double, double, double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.SparseWinnow
Use this constructor to specify an alternative subclass of SparseWeightVector, while the name of the classifier gets the empty string.
SparseWinnow(SparseWinnow.Parameters) - Constructor for class LBJ2.learn.SparseWinnow
Initializing constructor.
SparseWinnow(String) - Constructor for class LBJ2.learn.SparseWinnow
LinearThresholdUnit.learningRate, SparseWinnow.beta, and LinearThresholdUnit.threshold take default values.
SparseWinnow(String, double) - Constructor for class LBJ2.learn.SparseWinnow
Sets LinearThresholdUnit.learningRate to the specified value, SparseWinnow.beta to 1 / LinearThresholdUnit.learningRate, and the LinearThresholdUnit.threshold takes the default.
SparseWinnow(String, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Sets LinearThresholdUnit.learningRate and SparseWinnow.beta to the specified values, and the LinearThresholdUnit.threshold takes the default.
SparseWinnow(String, double, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Sets LinearThresholdUnit.learningRate, SparseWinnow.beta, and LinearThresholdUnit.threshold to the specified values.
SparseWinnow(String, double, double, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Use this constructor to fit a thick separator, where both the positive and negative sides of the hyperplane will be given the specified thickness.
SparseWinnow(String, double, double, double, double, double) - Constructor for class LBJ2.learn.SparseWinnow
Use this constructor to fit a thick separator, where the positive and negative sides of the hyperplane will be given the specified separate thicknesses.
SparseWinnow(String, double, double, double, double, double, SparseWeightVector) - Constructor for class LBJ2.learn.SparseWinnow
Use this constructor to specify an alternative subclass of SparseWeightVector.
SparseWinnow(String, SparseWinnow.Parameters) - Constructor for class LBJ2.learn.SparseWinnow
Initializing constructor.
SparseWinnow.Parameters - Class in LBJ2.learn
Simply a container for all of SparseWinnow's configurable parameters.
SparseWinnow.Parameters() - Constructor for class LBJ2.learn.SparseWinnow.Parameters
Sets all the default values.
SparseWinnow.Parameters(LinearThresholdUnit.Parameters) - Constructor for class LBJ2.learn.SparseWinnow.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SparseWinnow.Parameters(SparseWinnow.Parameters) - Constructor for class LBJ2.learn.SparseWinnow.Parameters
Copy constructor.
splitAll() - Method in class LBJ2.nlp.SentenceSplitter
Retrieves every sentence found in the input paragraphs that have been provided so far in array form.
splitPolicy - Variable in class LBJ2.parse.FoldParser
The way in which examples are partitioned into folds.
start - Variable in class LBJ2.parse.LinkedChild
The offset into the raw data input file at which this child starts.
startsWithOpenBracket(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument starts with any of the following varieties of open bracket: ( { [ -LBR- .
startsWithOpenQuote(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the argument starts with any of the following varieties of open quote: ` `` ``` " "` .
startsWithQuote(Word) - Method in class LBJ2.nlp.SentenceSplitter
Determines whether the first character of the argument is any of the three varieties of quotes: ' " `.
stddev - Variable in class LBJ2.learn.RandomWeightVector
The random numbers that are generated by this class are Gaussian with mean 0 and standard deviation defined by this variable.
StochasticGradientDescent - Class in LBJ2.learn
Gradient descent is a batch learning algorithm for function approximation in which the learner tries to follow the gradient of the error function to the solution of minimal error.
StochasticGradientDescent() - Constructor for class LBJ2.learn.StochasticGradientDescent
The learning rate takes the default value, while the name of the classifier gets the empty string.
StochasticGradientDescent(double) - Constructor for class LBJ2.learn.StochasticGradientDescent
Sets the learning rate to the specified value, while the name of the classifier gets the empty string.
StochasticGradientDescent(StochasticGradientDescent.Parameters) - Constructor for class LBJ2.learn.StochasticGradientDescent
Initializing constructor.
StochasticGradientDescent(String) - Constructor for class LBJ2.learn.StochasticGradientDescent
The learning rate takes the default value.
StochasticGradientDescent(String, double) - Constructor for class LBJ2.learn.StochasticGradientDescent
Use this constructor to specify an alternative subclass of SparseWeightVector.
StochasticGradientDescent(String, StochasticGradientDescent.Parameters) - Constructor for class LBJ2.learn.StochasticGradientDescent
Initializing constructor.
StochasticGradientDescent.Parameters - Class in LBJ2.learn
Simply a container for all of StochasticGradientDescent's configurable parameters.
StochasticGradientDescent.Parameters() - Constructor for class LBJ2.learn.StochasticGradientDescent.Parameters
Sets all the default values.
StochasticGradientDescent.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.StochasticGradientDescent.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
StochasticGradientDescent.Parameters(StochasticGradientDescent.Parameters) - Constructor for class LBJ2.learn.StochasticGradientDescent.Parameters
Copy constructor.
StringArraysToWords - Class in LBJ2.nlp
This parser calls another parser that returns arrays of Strings, converts the Strings to Words, and returns LinkedVectors of Words.
StringArraysToWords(Parser) - Constructor for class LBJ2.nlp.StringArraysToWords
Creates the parser.
StudentT - Class in LBJ2.util
A collection of statistical methods supporting computations related to the Student's T distribution.
StudentT() - Constructor for class LBJ2.util.StudentT
 
studentTcdf(double, int) - Static method in class LBJ2.util.StudentT
Returns the Student's t cumulative distribution function probability
subtract(PropositionalConstraint[]) - Method in class LBJ2.infer.PropositionalConjunction
Subtraction from a conjunction simply removes all of the specified terms from it; this method returns a new constraint representing the subtraction.
subtract(PropositionalConstraint[]) - Method in class LBJ2.infer.PropositionalDisjunction
Subtraction from a disjunction simply removes all of the specified terms from it; this method returns a new constraint representing the subtraction.
sumAlphas(int[], double[]) - Method in class LBJ2.learn.AdaBoost
Computes the scores corresponding to the two prediction values for the given example.
sumMultipliers(double, double[], boolean[]) - Static method in class LBJ2.learn.SparseMIRA
Finds the sum of the multipliers for a given value of theta.
SupportVectorMachine - Class in LBJ2.learn
Wrapper class for the liblinear library which supports support vector machine classification.
SupportVectorMachine() - Constructor for class LBJ2.learn.SupportVectorMachine
Default constructor.
SupportVectorMachine(double) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(double, double) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(double, double, double) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(double, double, double, String) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(double, double, double, String, boolean) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String, double) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String, double, double) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String, double, double, double) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String, double, double, double, String) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String, double, double, double, String, boolean) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(SupportVectorMachine.Parameters) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine(String, SupportVectorMachine.Parameters) - Constructor for class LBJ2.learn.SupportVectorMachine
Initializing constructor.
SupportVectorMachine.Parameters - Class in LBJ2.learn
A container for all of SupportVectorMachine's configurable parameters.
SupportVectorMachine.Parameters() - Constructor for class LBJ2.learn.SupportVectorMachine.Parameters
Sets all the default values.
SupportVectorMachine.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.SupportVectorMachine.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
SupportVectorMachine.Parameters(SupportVectorMachine.Parameters) - Constructor for class LBJ2.learn.SupportVectorMachine.Parameters
Copy constructor.
swap(int[], int, int) - Static method in class LBJ2.util.Sort
Swaps the element at x[i1] with the element at x[i2].
SYM - Static variable in class LBJ2.nlp.POS
POS object representing the "symbol" tag.

T

TableFormat - Class in LBJ2.util
A library of routines for taking tabular data and producing a human readable string representation of it.
TableFormat() - Constructor for class LBJ2.util.TableFormat
 
tableFormat(double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(Double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(String[], String[], double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(String[], String[], Double[][]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(String[], String[], double[][], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(String[], String[], Double[][], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(String[], String[], double[][], int[], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tableFormat(String[], String[], Double[][], int[], int[]) - Static method in class LBJ2.util.TableFormat
Formats the given data into an ASCII table.
tautology - Variable in class LBJ2.infer.ILPInference
This flag is set if the constraints turn out to be true in all cases.
test(Classifier, Classifier, Object[]) - Static method in class LBJ2.classify.Classifier
Measures the performance of a classifier as compared with the values produced by an oracle.
test(Classifier, Classifier, Parser) - Method in class LBJ2.learn.Accuracy
Evaluates a classifier against an oracle on the data provided by a parser.
test(Classifier, Classifier, Parser) - Method in interface LBJ2.learn.TestingMetric
Evaluates a classifier against an oracle on the data provided by a parser.
test() - Method in class LBJ2.nlp.seg.BIOTester
This method runs the tester, packaging the results in a TestDiscrete object.
TestDiscrete - Class in LBJ2.classify
This class is a program that can evaluate any Classifier against an oracle Classifier on the objects returned from a Parser.
TestDiscrete() - Constructor for class LBJ2.classify.TestDiscrete
Default constructor.
testDiscrete(Classifier, Classifier, Parser) - Static method in class LBJ2.classify.TestDiscrete
Tests the given discrete classifier against the given oracle using the given parser to provide the labeled testing data.
testDiscrete(TestDiscrete, Classifier, Classifier, Parser, boolean, int) - Static method in class LBJ2.classify.TestDiscrete
Tests the given discrete classifier against the given oracle using the given parser to provide the labeled testing data.
TestingMetric - Interface in LBJ2.learn
TestingMetric is an interface through which the user may implement their own testing method for use by LBJ's internal cross validation algorithm.
testMidTraining(Parser, TestingMetric, boolean) - Method in class LBJ2.learn.BatchTrainer
Tests BatchTrainer.learner on the specified data while making provisions under the assumption that this test happens in between rounds of training.
text - Variable in class LBJ2.nlp.Sentence
The actual text of the sentence.
thickness - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
This thickness will be added to both LinearThresholdUnit.Parameters.positiveThickness and LinearThresholdUnit.Parameters.negativeThickness; default LinearThresholdUnit.defaultThickness.
threshold - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
The score is compared against this value to make predictions; default LinearThresholdUnit.defaultThreshold.
threshold - Variable in class LBJ2.learn.LinearThresholdUnit
The score is compared against this value to make predictions; default LinearThresholdUnit.defaultThreshold.
thresholds - Variable in class LBJ2.learn.Lexicon.PruningPolicy
Feature count thresholds which may either be specified by the policy explicitly or computed in terms of data.
TO - Static variable in class LBJ2.nlp.POS
POS object representing the "to" tag.
toArray() - Method in class LBJ2.classify.ScoreSet
Returns an array view of the Scores contained in this set.
toArray() - Method in class LBJ2.util.DVector
Returns a new array of doubles containing the same data as this vector.
toArray() - Method in class LBJ2.util.DVector2D
Returns a new 2D array of doubles containing the same data as this vector.
toArray() - Method in class LBJ2.util.FVector
Returns a new array of features containing the same data as this vector.
toArray() - Method in class LBJ2.util.IVector
Returns a new array of ints containing the same data as this vector.
toArray() - Method in class LBJ2.util.IVector2D
Returns a new 2D array of ints containing the same data as this vector.
toArray() - Method in class LBJ2.util.OVector
Returns a new array of objectss containing the same data as this vector.
Token - Class in LBJ2.nlp.seg
Simple extension of the Word class from LBJ's NLP library.
Token(Word, Token, String) - Constructor for class LBJ2.nlp.seg.Token
A Token can be constructed from a Word object representing the same word, a Token representing the previous word in the sentence, and the type label found in the data.
tokens - Static variable in class LBJ2.nlp.POS
An array of all tokens that represent parts of speech as found in corpora.
TOLERANCE - Static variable in class LBJ2.infer.ZeroOneILPProblem
Used to mitigate floating point error in (in)equality comparisons.
TOLERANCE - Static variable in class LBJ2.learn.BinaryMIRA
Used to decide if two values are nearly equal to each other.
TOLERANCE - Static variable in class LBJ2.learn.SparseMIRA
Used to decide if two values are nearly equal to each other.
topLevel - Variable in class LBJ2.infer.GLPK
Deprecated. Used during ILP constraint generation.
topLevel - Variable in class LBJ2.infer.ILPInference
Used during ILP constraint generation.
topLevelDomains - Static variable in class LBJ2.nlp.Sentence
Domain name suffixes; used by Sentence.partOfURL(int).
toString() - Method in class LBJ2.classify.Classifier
Simply returns the name of the classifier.
toString() - Method in class LBJ2.classify.Feature
Returns a string representation of this Feature.
toString() - Method in class LBJ2.classify.FeatureVector
Returns the string representation of this FeatureVector as created by FeatureVector.write(StringBuffer).
toString() - Method in class LBJ2.classify.FeatureVectorReturner
Simply returns the string "FeatureVectorReturner".
toString() - Method in class LBJ2.classify.LabelVectorReturner
Simply returns the string "LabelVectorReturner".
toString() - Method in class LBJ2.classify.MultiValueComparer
The String representation of a ValueComparer has the form "ValueComparer(child), where child is the String representation of the classifier whose value is being compared.
toString() - Method in class LBJ2.classify.Score
The string representation of a Score is the value followed by the score separated by a colon.
toString() - Method in class LBJ2.classify.ScoreSet
The string representation of a ScoreSet is the concatenation of the string representations of each Score in the set sorted by value, separated by commas, and surrounded by curly braces.
toString() - Method in class LBJ2.classify.ValueComparer
The String representation of a ValueComparer has the form "ValueComparer(child), where child is the String representation of the classifier whose value is being compared.
toString() - Method in class LBJ2.infer.FirstOrderVariable
Returns a string representation of this variable.
toString() - Method in class LBJ2.infer.PropositionalConstraint
Creates a string respresentation of this constraint using the string representations of the objects involved.
toString() - Method in class LBJ2.infer.ZeroOneILPProblem
Returns the representation created by ZeroOneILPProblem.write(StringBuffer).
toString() - Method in class LBJ2.learn.Lexicon.CountPolicy
Retrieves the name of the policy represented by this object.
toString() - Method in class LBJ2.learn.Lexicon.PruningPolicy
Retrieves the name of the policy represented by this object.
toString() - Method in class LBJ2.learn.Lexicon
Returns a text representation of this lexicon (for debugging).
toString() - Method in class LBJ2.learn.NaiveBayes.Count
The string representation of a Count object is simply the integer count.
toString() - Method in class LBJ2.learn.SparseWeightVector
Creates a string representation of this SparseWeightVector.
toString(Lexicon) - Method in class LBJ2.learn.SparseWeightVector
Creates a string representation of this SparseWeightVector.
toString() - Method in class LBJ2.nlp.POS
Returns the name of the part of speech represented by this object.
toString() - Method in class LBJ2.nlp.seg.Token
Produces a simple String representation of this word in which the Token.label field appears followed by the word's part of speech and finally the form (i.e., spelling) of the word all surrounded by parentheses.
toString() - Method in class LBJ2.nlp.Sentence
The string representation of a Sentence is just its text.
toString() - Method in class LBJ2.nlp.Word
The string representation of a word is its POS bracket form, or, if the part of speech is not available, it is just the spelling of the word.
toString() - Method in class LBJ2.parse.FoldParser.SplitPolicy
Retrieves the name of the policy represented by this object.
toString() - Method in class LBJ2.util.ByteString
Returns a decoded string.
toString() - Method in class LBJ2.util.DVector
Returns a text representation of this vector.
toString() - Method in class LBJ2.util.DVector2D
Returns a text representation of this vector.
toString() - Method in class LBJ2.util.FVector
Returns a text representation of this vector.
toString() - Method in class LBJ2.util.IVector
Returns a text representation of this vector.
toString() - Method in class LBJ2.util.IVector2D
Returns a text representation of this vector.
toString() - Method in class LBJ2.util.OVector
Returns a text representation of this vector.
toStringJustWeights(PrintStream) - Method in class LBJ2.learn.SparseWeightVector
Outputs a textual representation of this SparseWeightVector to a stream just like SparseWeightVector.write(PrintStream), but without the "Begin" and "End" annotations.
toStringJustWeights(PrintStream, int, Lexicon) - Method in class LBJ2.learn.SparseWeightVector
Outputs a textual representation of this SparseWeightVector to a stream just like SparseWeightVector.write(PrintStream), but without the "Begin" and "End" annotations.
toStringNoPackage() - Method in class LBJ2.classify.Feature
Returns a string representation of this Feature omitting the package.
totalValues - Variable in class LBJ2.classify.DiscreteFeature
The total number of allowable values for this feature.
totalValues() - Method in class LBJ2.classify.DiscreteFeature
Returns the total number of values this feature might possibly be set to.
totalValues() - Method in class LBJ2.classify.Feature
Returns the total number of values this feature might possibly be set to.
toToken() - Method in class LBJ2.nlp.POS
Returns the token that represents the same part of speech.
toToken(POS) - Static method in class LBJ2.nlp.POS
Converts a POS object to the token that represents the same part of speech.
train(int) - Method in class LBJ2.learn.BatchTrainer
Trains BatchTrainer.learner for the specified number of rounds.
train(int, int) - Method in class LBJ2.learn.BatchTrainer
Trains BatchTrainer.learner for the specified number of rounds.
train(int, BatchTrainer.DoneWithRound) - Method in class LBJ2.learn.BatchTrainer
Trains BatchTrainer.learner for the specified number of rounds.
train(int, int, BatchTrainer.DoneWithRound) - Method in class LBJ2.learn.BatchTrainer
Trains BatchTrainer.learner for the specified number of rounds.
trained - Variable in class LBJ2.learn.WekaWrapper
Indicates whether the WekaWrapper.doneLearning() method has been called and the WekaWrapper.forget() method has not yet been called.
transpose(double[][]) - Static method in class LBJ2.util.TableFormat
Transposes the given matrix so that the rows become the columns and the columns become the rows.
transpose(Double[][]) - Static method in class LBJ2.util.TableFormat
Transposes the given matrix so that the rows become the columns and the columns become the rows.
True - Static variable in class LBJ2.infer.PropositionalConstant
true
tTable(int, double) - Static method in class LBJ2.util.StudentT
Computes the multiplier for the standard error of the mean when finding a (1 - alpha) * 100% confidence interval.
tune(Learner.Parameters[], int[], int, FoldParser.SplitPolicy, double, TestingMetric) - Method in class LBJ2.learn.BatchTrainer
Tune learning algorithm parameters using cross validation.
tune(Learner.Parameters[], int[], Parser, TestingMetric) - Method in class LBJ2.learn.BatchTrainer
Tune learning algorithm parameters against a development set.
type - Variable in class LBJ2.nlp.seg.Token
This field is used to store a computed type tag.
typeCodes - Static variable in class LBJ2.infer.XpressMPHook
The elements of this array are suitable for use as elements of the qrtype array parameter of the XPRSloadglobal method.

U

UH - Static variable in class LBJ2.nlp.POS
POS object representing the "interjection" tag.
unclone() - Method in class LBJ2.learn.Learner
Automatically generated code will override this method to set their isClone field to false.
UniversalQuantifier - Class in LBJ2.infer
A universal quantifier states that the constraint must hold for all objects from the collection.
UniversalQuantifier(String, Collection, FirstOrderConstraint) - Constructor for class LBJ2.infer.UniversalQuantifier
Initializing constructor.
UniversalQuantifier(String, Collection, FirstOrderConstraint, QuantifierArgumentReplacer) - Constructor for class LBJ2.infer.UniversalQuantifier
This constructor specifies a variable setter for when this quantifier is itself quantified.
update(int[], double[], double) - Method in class LBJ2.learn.SparseWinnow
This method performs an update w_i *= basex_i, initalizing weights in the weight vector as needed.
updateAveragedWeight(int, double) - Method in class LBJ2.learn.SparseAveragedPerceptron.AveragedWeightVector
Adds a new value to the current averaged weight indexed by the supplied feature index.
updateLog - Variable in class LBJ2.learn.NaiveBayes.Count
A flag that is set iff NaiveBayes.Count.logCount is not up to date.
upperBound - Variable in class LBJ2.parse.FoldParser
An upper bound for an index relating to the pivot fold.

V

value - Variable in class LBJ2.classify.DiscretePrimitiveFeature
The discrete value is represented as a string.
value - Variable in class LBJ2.classify.DiscretePrimitiveStringFeature
The discrete value is represented as a string.
value - Variable in class LBJ2.classify.RealPrimitiveFeature
The real value is represented as a double.
value - Variable in class LBJ2.classify.RealPrimitiveStringFeature
The real value is represented as a double.
value - Variable in class LBJ2.classify.Score
The discrete classification associated with this score.
value - Variable in class LBJ2.classify.ValueComparer
The value to compare with.
value - Variable in class LBJ2.infer.FirstOrderVariable
The value imposed on the classifier when applied to the example.
value - Variable in class LBJ2.infer.PropositionalVariable
The value imposed on this variable.
value - Variable in class LBJ2.nlp.POS
The actual part of speech is encoded as an integer.
value - Variable in class LBJ2.util.ByteString
The encoded characters.
ValueComparer - Class in LBJ2.classify
This classifier applies another classifier to the example object and returns a Boolean feature (with value "true" or "false") representing the equality of the argument classifier's feature value to a given value.
ValueComparer(Classifier, String) - Constructor for class LBJ2.classify.ValueComparer
Constructor.
valueEquals(String) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Determines whether or not the parameter is equivalent to the string representation of the value of this feature.
valueEquals(String) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Determines whether or not the parameter is equivalent to the string representation of the value of this feature.
valueEquals(String) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Determines whether or not the parameter is equivalent to the string representation of the value of this feature.
valueEquals(String) - Method in class LBJ2.classify.DiscreteReferrer
Determines whether or not the parameter is equivalent to the string representation of the value of this feature.
valueEquals(String) - Method in class LBJ2.classify.Feature
Determines whether or not the parameter is equivalent to the string representation of the value of this feature.
valueEquals(FeatureVector) - Method in class LBJ2.classify.FeatureVector
Two FeatureVectors have equal value if they contain the same number of Features and if the values of those Features are pair-wise equivalent according to the Feature.valueEquals(String) method.
valueEquals(String) - Method in class LBJ2.classify.RealFeature
Determines whether or not the parameter is equivalent to the string representation of the value of this feature.
valueIndex - Variable in class LBJ2.classify.DiscreteFeature
Index into the set of allowable values corresponding to this value.
valueIndexOf(String) - Method in class LBJ2.classify.Classifier
Locates the specified discrete feature value in the array of allowable values defined for this classifier.
valueOf(Learner, Object) - Method in class LBJ2.infer.GLPK
Deprecated. Retrieves the value of the specified variable as identified by the classifier and the object that produce that variable.
valueOf(Learner, Object) - Method in class LBJ2.infer.ILPInference
Retrieves the value of the specified variable as identified by the classifier and the object that produce that variable.
valueOf(Learner, Object) - Method in class LBJ2.infer.Inference
Retrieves the value of the specified variable as identified by the classifier and the object that produce that variable.
valueOf(Object, Collection) - Method in class LBJ2.learn.SparseMIRA
Using this method, the winner-take-all competition is narrowed to involve only those labels contained in the specified list.
valueOf(int[], double[], Collection) - Method in class LBJ2.learn.SparseMIRA
Using this method, the winner-take-all competition is narrowed to involve only those labels contained in the specified list.
valueOf(Object, Collection) - Method in class LBJ2.learn.SparseNetworkLearner
Using this method, the winner-take-all competition is narrowed to involve only those labels contained in the specified list.
valueOf(int[], double[], Collection) - Method in class LBJ2.learn.SparseNetworkLearner
Using this method, the winner-take-all competition is narrowed to involve only those labels contained in the specified list.
valueOf(Object, Collection) - Method in class LBJ2.learn.SupportVectorMachine
Using this method, the winner-take-all competition is narrowed to involve only those labels contained in the specified list.
valueOf(int[], double[], Collection) - Method in class LBJ2.learn.SupportVectorMachine
Using this method, the winner-take-all competition is narrowed to involve only those labels contained in the specified list.
values() - Method in class LBJ2.classify.ScoreSet
Retrieves the set of values that have scores associated with them in this score set.
variableMap - Variable in class LBJ2.infer.FirstOrderEquality
The map that this constraint's variables have been consolidated into, or null if variable consolidation has not been performed.
variables - Variable in class LBJ2.infer.GurobiHook
The model's decision variables.
variables - Variable in class LBJ2.infer.Inference
The values of this map are the variables we perform inference over; they are the actual FirstOrderVariable objects found in this inference's constraints.
variances - Variable in class LBJ2.learn.SparseConfidenceWeighted.Parameters
The current variances of the parameters; default LinearThresholdUnit.defaultWeightVector.
variances - Variable in class LBJ2.learn.SparseConfidenceWeighted
The inverses of the current variances of the parameters.
variancesBias - Variable in class LBJ2.learn.SparseConfidenceWeighted
The bias element of the SparseConfidenceWeighted.variances vector.
VB - Static variable in class LBJ2.nlp.POS
POS object representing the "base form verb" tag.
VBD - Static variable in class LBJ2.nlp.POS
POS object representing the "verb past tense" tag.
VBG - Static variable in class LBJ2.nlp.POS
POS object representing the "verb gerund / present participle" tag.
VBN - Static variable in class LBJ2.nlp.POS
POS object representing the "verb past participle" tag.
VBP - Static variable in class LBJ2.nlp.POS
POS object representing the "verb non 3rd ps sing present" tag.
VBZ - Static variable in class LBJ2.nlp.POS
POS object representing the "verb 3rd ps sing present" tag.
vector - Variable in class LBJ2.util.DVector
The elements of the vector.
vector - Variable in class LBJ2.util.DVector2D
The elements of the vector.
vector - Variable in class LBJ2.util.FVector
The elements of the vector.
vector - Variable in class LBJ2.util.IVector
The elements of the vector.
vector - Variable in class LBJ2.util.IVector2D
The elements of the vector.
vector - Variable in class LBJ2.util.OVector
The elements of the vector.
verbosity - Variable in class LBJ2.infer.BalasHook
Verbosity level.
verbosity - Variable in class LBJ2.infer.GurobiHook
Verbosity level.
verbosity - Variable in class LBJ2.infer.ILPInference
Verbosity level.
verbosity - Variable in class LBJ2.infer.XpressMPHook
Verbosity level.
verbosity - Variable in class LBJ2.jni.GLPKHook
Verbosity level.
VERBOSITY_HIGH - Static variable in class LBJ2.infer.ILPInference
A possible setting for ILPInference.verbosity.
VERBOSITY_LOW - Static variable in class LBJ2.infer.ILPInference
A possible setting for ILPInference.verbosity.
VERBOSITY_NONE - Static variable in class LBJ2.infer.ILPInference
A possible setting for ILPInference.verbosity.
visit(PropositionalDoubleImplication) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalImplication) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConjunction) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDisjunction) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalAtLeast) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalNegation) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalVariable) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConstant) - Method in class LBJ2.infer.GLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDoubleImplication) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalImplication) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConjunction) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDisjunction) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalAtLeast) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalNegation) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalVariable) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConstant) - Method in class LBJ2.infer.ILPInference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderDoubleImplication) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderImplication) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderConjunction) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderDisjunction) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderEqualityTwoValues) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderEqualityWithValue) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderEqualityWithVariable) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderNegation) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(FirstOrderConstant) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(UniversalQuantifier) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(ExistentialQuantifier) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(AtLeastQuantifier) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(AtMostQuantifier) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(QuantifiedConstraintInvocation) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDoubleImplication) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalImplication) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConjunction) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDisjunction) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalAtLeast) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConstant) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalNegation) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalVariable) - Method in class LBJ2.infer.Inference
Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDoubleImplication) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalImplication) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConjunction) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalDisjunction) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalAtLeast) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalNegation) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalVariable) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visit(PropositionalConstant) - Method in class LBJ2.infer.NaiveGLPK
Deprecated. Derived classes override this method to do some type of processing on constraints of the parameter's type.
visitAll(Constraint) - Method in class LBJ2.infer.Inference
The default method for visiting a constraint simply visits that constraint's children.

W

warningPrinted - Variable in class LBJ2.learn.SupportVectorMachine
Keeps track of whether the doneLearning() warning message has been printed.
WDT - Static variable in class LBJ2.nlp.POS
POS object representing the "wh-determiner" tag.
weakLearner - Variable in class LBJ2.learn.AdaBoost.Parameters
The weak learning algorithm to be boosted.
weakLearner - Variable in class LBJ2.learn.AdaBoost
The weak learning algorithm to be boosted.
weakLearners - Variable in class LBJ2.learn.AdaBoost
Will be filled with trained copies of the weak learner.
weight - Variable in class LBJ2.classify.FeatureVector
With this variable, the user can weight the entire vector.
weights - Variable in class LBJ2.learn.SparseWeightVector
The weights in the vector indexed by their Lexicon key.
weights - Variable in class LBJ2.learn.SupportVectorMachine
An array of weights representing the weight vector learned after training with liblinear.
weightVector - Variable in class LBJ2.learn.LinearThresholdUnit.Parameters
The LTU's weight vector; default is an empty vector.
weightVector - Variable in class LBJ2.learn.LinearThresholdUnit
The LTU's weight vector; default is an empty vector.
weightVector - Variable in class LBJ2.learn.StochasticGradientDescent.Parameters
The hypothesis vector; default StochasticGradientDescent.defaultWeightVector.
weightVector - Variable in class LBJ2.learn.StochasticGradientDescent
The hypothesis vector; default StochasticGradientDescent.defaultWeightVector.
WekaWrapper - Class in LBJ2.learn
Translates LBJ's internal problem representation into that which can be handled by WEKA learning algorithms.
WekaWrapper() - Constructor for class LBJ2.learn.WekaWrapper
Empty constructor.
WekaWrapper(Classifier) - Constructor for class LBJ2.learn.WekaWrapper
Partial constructor; attribute information must be provided before any learning can occur.
WekaWrapper(Classifier, String) - Constructor for class LBJ2.learn.WekaWrapper
Redirecting constructor.
WekaWrapper(WekaWrapper.Parameters) - Constructor for class LBJ2.learn.WekaWrapper
Initializing constructor.
WekaWrapper(String) - Constructor for class LBJ2.learn.WekaWrapper
Empty constructor.
WekaWrapper(String, Classifier) - Constructor for class LBJ2.learn.WekaWrapper
Partial constructor; attribute information must be provided before any learning can occur.
WekaWrapper(String, String) - Constructor for class LBJ2.learn.WekaWrapper
Default Constructor.
WekaWrapper(String, WekaWrapper.Parameters) - Constructor for class LBJ2.learn.WekaWrapper
Initializing constructor.
WekaWrapper(String, Classifier, String) - Constructor for class LBJ2.learn.WekaWrapper
Full Constructor.
WekaWrapper.Parameters - Class in LBJ2.learn
Simply a container for all of WekaWrapper's configurable parameters.
WekaWrapper.Parameters() - Constructor for class LBJ2.learn.WekaWrapper.Parameters
Sets all the default values.
WekaWrapper.Parameters(Learner.Parameters) - Constructor for class LBJ2.learn.WekaWrapper.Parameters
Sets the parameters from the parent's parameters object, giving defaults to all parameters declared in this object.
WekaWrapper.Parameters(WekaWrapper.Parameters) - Constructor for class LBJ2.learn.WekaWrapper.Parameters
Copy constructor.
withStrength(double) - Method in class LBJ2.classify.DiscreteArrayFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.DiscreteReferringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.Feature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealArrayFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealArrayStringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealConjunctiveFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealPrimitiveFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealReferringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
withStrength(double) - Method in class LBJ2.classify.RealReferringStringFeature
Returns a new feature object that's identical to this feature except its strength is given by s.
Word - Class in LBJ2.nlp
Implementation of a word for natural language processing.
Word(String) - Constructor for class LBJ2.nlp.Word
When all that is known is the spelling of the word.
Word(String, String) - Constructor for class LBJ2.nlp.Word
Sets the actual text and the part of speech.
Word(String, Word) - Constructor for class LBJ2.nlp.Word
This constructor is useful when the sentence is being parsed forwards.
Word(String, String, Word) - Constructor for class LBJ2.nlp.Word
This constructor is useful when the sentence is being parsed forwards.
Word(String, int, int) - Constructor for class LBJ2.nlp.Word
When you have offset information.
Word(String, String, int, int) - Constructor for class LBJ2.nlp.Word
When you have offset information.
Word(String, Word, int, int) - Constructor for class LBJ2.nlp.Word
This constructor is useful when the sentence is being parsed forwards.
Word(String, String, Word, int, int) - Constructor for class LBJ2.nlp.Word
This constructor is useful when the sentence is being parsed forwards.
Word(String, String, String, String, Word, int, int) - Constructor for class LBJ2.nlp.Word
This constructor is useful when the sentence is being parsed forwards.
wordMatcher - Static variable in class LBJ2.nlp.SentenceSplitter
Regular expression matching whitespace separated words including those that are hyphenated and cross over a line boundary.
wordSense - Variable in class LBJ2.nlp.Word
An indication of the meaning or usage of this instance of this word.
WordsInDocumentByDirectory - Class in LBJ2.nlp
This parser creates and returns labeled arrays of Strings, each representing all the words in a document.
WordsInDocumentByDirectory(String) - Constructor for class LBJ2.nlp.WordsInDocumentByDirectory
Creates a new parser that reads all subdirectories and randomizes the order in which their contents are returned.
WordsInDocumentByDirectory(String, String[]) - Constructor for class LBJ2.nlp.WordsInDocumentByDirectory
Creates a new parser that reads all subdirectories except for the named exceptions and randomizes the order in which their contents are returned.
WordsInDocumentByDirectory(String, String[], boolean) - Constructor for class LBJ2.nlp.WordsInDocumentByDirectory
Creates a new parser that reads all subdirectories except for the named exceptions.
WordsInDocumentByDirectory(String, String[], boolean, long) - Constructor for class LBJ2.nlp.WordsInDocumentByDirectory
Creates a new parser that reads all subdirectories except for the named exceptions.
wordSplit() - Method in class LBJ2.nlp.Sentence
Creates and returns a LinkedVector representation of this sentence in which every LinkedChild is a Word.
WordSplitter - Class in LBJ2.nlp
This parser takes the plain, unannotated Sentences returned by another parser (e.g., SentenceSplitter) and splits them into Word objects.
WordSplitter(Parser) - Constructor for class LBJ2.nlp.WordSplitter
Initializing constructor.
WordsToTokens - Class in LBJ2.nlp.seg
This parser calls another parser that returns LinkedVectors of Words, converts the Words to Tokens, and returns LinkedVectors of Tokens.
WordsToTokens(Parser) - Constructor for class LBJ2.nlp.seg.WordsToTokens
Creates the parser.
WordTypeInformation - Class in LBJ2.nlp
This class implements a classifier that takes a Word as input and generates Boolean features representing interesting information about the forms of the words in a [-2, +2] window around the input word.
WordTypeInformation() - Constructor for class LBJ2.nlp.WordTypeInformation
 
WP - Static variable in class LBJ2.nlp.POS
POS object representing the "wh-pronoun" tag.
WP_DOLLAR - Static variable in class LBJ2.nlp.POS
POS object representing the "possesive wh-pronoun" tag.
wrapDouble(double[][]) - Static method in class LBJ2.util.TableFormat
Simply converts the type of the given matrix from double to Double.
WRB - Static variable in class LBJ2.nlp.POS
POS object representing the "wh-adverb" tag.
write(StringBuffer) - Method in class LBJ2.classify.DiscreteArrayFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteArrayFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteArrayStringFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteConjunctiveFeature
Writes a complete binary representation of the feature.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscretePrimitiveFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscretePrimitiveStringFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.DiscreteReferrer
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteReferrer
Writes a complete binary representation of the feature.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteReferringFeature
Writes a complete binary representation of the feature.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.DiscreteReferringStringFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.Feature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.Feature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.FeatureVector
Creates a string representation of this FeatureVector.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.FeatureVector
Writes a binary representation of the feature vector.
write(StringBuffer) - Method in class LBJ2.classify.RealArrayFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealArrayFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.RealArrayStringFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealArrayStringFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.RealConjunctiveFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealConjunctiveFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.RealPrimitiveFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealPrimitiveFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealPrimitiveStringFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.classify.RealReferrer
Writes a string representation of this Feature to the specified buffer.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealReferrer
Writes a complete binary representation of the feature.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealReferringFeature
Writes a complete binary representation of the feature.
write(ExceptionlessOutputStream) - Method in class LBJ2.classify.RealReferringStringFeature
Writes a complete binary representation of the feature.
write(StringBuffer) - Method in class LBJ2.infer.BalasHook
Creates a textual representation of the ILP problem in an algebraic notation.
write(StringBuffer) - Method in class LBJ2.infer.GurobiHook
Creates a textual representation of the ILP problem in an algebraic notation.
write(StringBuffer) - Method in interface LBJ2.infer.ILPSolver
Creates a textual representation of the ILP problem in an algebraic notation.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalAtLeast
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalConjunction
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalConstant
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalConstraint
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalDisjunction
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalDoubleImplication
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalImplication
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalNegation
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.PropositionalVariable
Creates a string respresentation of this constraint using the string representations of the objects involved.
write(StringBuffer) - Method in class LBJ2.infer.XpressMPHook
Creates a textual representation of the ILP problem in an algebraic notation.
write(StringBuffer) - Method in class LBJ2.infer.ZeroOneILPProblem
Creates a textual representation of the ILP problem in an algebraic notation.
write(StringBuffer) - Method in class LBJ2.jni.GLPKHook
Writes the optimization problem that this solver represents into the specified buffer, assuming the appropriate member methods were called to remember this information.
write(PrintStream) - Method in class LBJ2.learn.AdaBoost
Writes this algorithm's internal representation as text.
write(ExceptionlessOutputStream) - Method in class LBJ2.learn.AdaBoost
Writes the learned function's internal re