Serialized Form


Package cc.mallet.classify

Class cc.mallet.classify.AdaBoost extends Classifier implements Serializable

Serialized Fields

weakClassifiers

Classifier[] weakClassifiers

alphas

double[] alphas

Class cc.mallet.classify.AdaBoostM2 extends Classifier implements Serializable

serialVersionUID: 1L

Serialized Fields

weakClassifiers

Classifier[] weakClassifiers

alphas

double[] alphas

Class cc.mallet.classify.BaggingClassifier extends Classifier implements Serializable

Serialized Fields

baggedClassifiers

Classifier[] baggedClassifiers

weights

double[] weights

Class cc.mallet.classify.BalancedWinnow extends Classifier implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

m_weights

double[][] m_weights

Class cc.mallet.classify.BalancedWinnowTrainer extends ClassifierTrainer<BalancedWinnow> implements Serializable

serialVersionUID: 1L

Serialized Fields

m_epsilon

double m_epsilon

m_delta

double m_delta

m_maxIterations

int m_maxIterations

m_coolingRate

double m_coolingRate

m_weights

double[][] m_weights
Array of weights, one for each class and feature, initialized to 1. For each class, there is an additional default "feature" weight that is set to 1 in every example (it remains constant; this is used to prevent the instance from having 0 dot product with a class).


classifier

BalancedWinnow classifier

Class cc.mallet.classify.C45 extends Classifier implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

m_root

C45.Node m_root

Class cc.mallet.classify.C45.Node extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

m_gainRatio

GainRatio m_gainRatio

m_ilist

InstanceList m_ilist

m_instIndices

int[] m_instIndices

m_dataDict

Alphabet m_dataDict

m_minNumInsts

int m_minNumInsts

m_parent

C45.Node m_parent

m_leftChild

C45.Node m_leftChild

m_rightChild

C45.Node m_rightChild

Class cc.mallet.classify.Classification extends java.lang.Object implements Serializable

Serialized Fields

instance

Instance instance

classifier

Classifier classifier

labeling

Labeling labeling

Class cc.mallet.classify.Classifier extends java.lang.Object implements Serializable

Serialized Fields

instancePipe

Pipe instancePipe

Class cc.mallet.classify.ClassifierEnsemble extends Classifier implements Serializable

Serialized Fields

ensemble

Classifier[] ensemble

weights

double[] weights

Class cc.mallet.classify.ConfidencePredictingClassifier extends Classifier implements Serializable

Serialized Fields

underlyingClassifier

Classifier underlyingClassifier

confidencePredictingClassifier

Classifier confidencePredictingClassifier

totalCorrect

double totalCorrect

totalIncorrect

double totalIncorrect

totalIncorrectIncorrect

double totalIncorrectIncorrect

totalIncorrectCorrect

double totalIncorrectCorrect

numCorrectInstances

int numCorrectInstances

numIncorrectInstances

int numIncorrectInstances

numConfidenceCorrect

int numConfidenceCorrect

numFalsePositive

int numFalsePositive

numFalseNegative

int numFalseNegative

Class cc.mallet.classify.DecisionTree extends Classifier implements Serializable

serialVersionUID: 1L

Serialized Fields

root

DecisionTree.Node root

addFeaturesClassEntropyThreshold

double addFeaturesClassEntropyThreshold

Class cc.mallet.classify.DecisionTree.Node extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

featureIndex

int featureIndex

infoGain

double infoGain

ilist

InstanceList ilist

dictionary

Alphabet dictionary

labelEntropy

double labelEntropy

labeling

Labeling labeling

parent

DecisionTree.Node parent

child0

DecisionTree.Node child0

child1

DecisionTree.Node child1

name

java.lang.String name

Class cc.mallet.classify.MaxEnt extends Classifier implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

parameters

double[] parameters

defaultFeatureIndex

int defaultFeatureIndex

featureSelection

FeatureSelection featureSelection

perClassFeatureSelection

FeatureSelection[] perClassFeatureSelection

Class cc.mallet.classify.MaxEntGERangeTrainer extends ClassifierTrainer<MaxEnt> implements Serializable

serialVersionUID: 1L

Serialized Fields

normalize

boolean normalize

useValues

boolean useValues

constraintsFile

java.lang.String constraintsFile

numIterations

int numIterations

maxIterations

int maxIterations

temperature

double temperature

gaussianPriorVariance

double gaussianPriorVariance

constraints

java.util.ArrayList<E> constraints

trainingList

InstanceList trainingList

classifier

MaxEnt classifier

ge

MaxEntOptimizableByGE ge

opt

Optimizer opt

Class cc.mallet.classify.MaxEntGETrainer extends ClassifierTrainer<MaxEnt> implements Serializable

serialVersionUID: 1L

Serialized Fields

l2

boolean l2

normalize

boolean normalize

useValues

boolean useValues

constraintsFile

java.lang.String constraintsFile

numIterations

int numIterations

maxIterations

int maxIterations

temperature

double temperature

gaussianPriorVariance

double gaussianPriorVariance

constraints

java.util.ArrayList<E> constraints

trainingList

InstanceList trainingList

classifier

MaxEnt classifier

ge

MaxEntOptimizableByGE ge

opt

Optimizer opt

Class cc.mallet.classify.MaxEntL1Trainer extends MaxEntTrainer implements Serializable

serialVersionUID: 1L

Serialized Fields

l1Weight

double l1Weight

Class cc.mallet.classify.MaxEntTrainer extends ClassifierTrainer<MaxEnt> implements Serializable

Serialized Fields

numIterations

int numIterations

gaussianPriorVariance

double gaussianPriorVariance

l1Weight

double l1Weight

maximizerClass

java.lang.Class<T> maximizerClass

trainingSet

InstanceList trainingSet

initialClassifier

MaxEnt initialClassifier

optimizable

MaxEntOptimizableByLabelLikelihood optimizable

optimizer

Optimizer optimizer

Class cc.mallet.classify.MCMaxEnt extends Classifier implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

parameters

double[] parameters

defaultFeatureIndex

int defaultFeatureIndex

featureSelection

FeatureSelection featureSelection

perClassFeatureSelection

FeatureSelection[] perClassFeatureSelection

Class cc.mallet.classify.MCMaxEntTrainer extends ClassifierTrainer<MCMaxEnt> implements Serializable

Serialized Fields

numGetValueCalls

int numGetValueCalls

numGetValueGradientCalls

int numGetValueGradientCalls

numIterations

int numIterations

usingMultiConditionalTraining

boolean usingMultiConditionalTraining

usingHyperbolicPrior

boolean usingHyperbolicPrior

gaussianPriorVariance

double gaussianPriorVariance

hyperbolicPriorSlope

double hyperbolicPriorSlope

hyperbolicPriorSharpness

double hyperbolicPriorSharpness

maximizerClass

java.lang.Class<T> maximizerClass

generativeWeighting

double generativeWeighting

mt

cc.mallet.classify.MCMaxEntTrainer.MaximizableTrainer mt

initialClassifier

MCMaxEnt initialClassifier

Class cc.mallet.classify.NaiveBayes extends Classifier implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prior

Multinomial.Logged prior

p

Multinomial.Logged[] p

Class cc.mallet.classify.NaiveBayesTrainer extends ClassifierTrainer<NaiveBayes> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

featureEstimator

Multinomial.Estimator featureEstimator

priorEstimator

Multinomial.Estimator priorEstimator

me

Multinomial.Estimator[] me

pe

Multinomial.Estimator pe

docLengthNormalization

double docLengthNormalization

classifier

NaiveBayes classifier

instancePipe

Pipe instancePipe

dataAlphabet

Alphabet dataAlphabet

targetAlphabet

Alphabet targetAlphabet

Class cc.mallet.classify.PRAuxClassifier extends Classifier implements Serializable

serialVersionUID: 1L

Serialized Fields

numLabels

int numLabels

parameters

double[][] parameters

constraints

java.util.ArrayList<E> constraints

Class cc.mallet.classify.RankMaxEnt extends MaxEnt implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.classify.RankMaxEntTrainer extends MaxEntTrainer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.classify.Trial extends java.util.ArrayList<Classification> implements Serializable

Serialized Fields

classifier

Classifier classifier

Class cc.mallet.classify.Winnow extends Classifier implements Serializable

Serialized Fields

weights

double[][] weights
array of weights, one for each feature, initialized to 1


theta

double theta
threshold for sum of wi*xi in formulating guess


Package cc.mallet.classify.evaluate

Class cc.mallet.classify.evaluate.Graph extends java.awt.Canvas implements Serializable

Serialized Fields

top

int top

bottom

int bottom

left

int left

right

int right

titleHeight

int titleHeight

labelWidth

int labelWidth

fm

java.awt.FontMetrics fm

padding

int padding

title

java.lang.String title

xLabel

java.lang.String xLabel

yLabel

java.lang.String yLabel

xLabelHeight

int xLabelHeight

yLabelWidth

int yLabelWidth

min

int min

max

int max

xmin

int xmin

xmax

int xmax

legend

Graph.Legend legend

items

java.util.Vector<E> items

Class cc.mallet.classify.evaluate.Graph2 extends Graph implements Serializable

Serialized Fields

increment

int increment

position

int position

Package cc.mallet.cluster

Class cc.mallet.cluster.Clusterer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

instancePipe

Pipe instancePipe

Class cc.mallet.cluster.Clustering extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

numLabels

int numLabels

labels

int[] labels

instances

InstanceList instances

Class cc.mallet.cluster.Clusterings extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

clusterings

Clustering[] clusterings

Class cc.mallet.cluster.GreedyAgglomerative extends HillClimbingClusterer implements Serializable

serialVersionUID: 1L

Serialized Fields

stoppingThreshold

double stoppingThreshold
Converged when merge score is below this value.


converged

boolean converged
True if should stop clustering.


scoreCache

PairwiseMatrix scoreCache
Cache for calls to NeighborhoodEvaluator. In some experiments, reduced running time by nearly half.

Class cc.mallet.cluster.GreedyAgglomerativeByDensity extends GreedyAgglomerative implements Serializable

serialVersionUID: 1L

Serialized Fields

doPostConvergenceMerges

boolean doPostConvergenceMerges
If true, perform greedy agglomerative clustering on the clusters at the end of convergence. This may alleviate the greediness of the byDensity clustering algorithm.


unclusteredInstances

gnu.trove.TIntArrayList unclusteredInstances
Integers representing the Instance indices that have not yet been placed in a cluster.


instanceBeingClustered

int instanceBeingClustered
Index of an Instance in the cluster currently being created.


random

java.util.Random random
Randomness to order instanceBeingClustered.

Class cc.mallet.cluster.HillClimbingClusterer extends KBestClusterer implements Serializable

Serialized Fields

evaluator

NeighborEvaluator evaluator

Class cc.mallet.cluster.KBestClusterer extends Clusterer implements Serializable

Class cc.mallet.cluster.KMeans extends Clusterer implements Serializable

serialVersionUID: 1L

Serialized Fields

randinator

java.util.Random randinator

metric

Metric metric

numClusters

int numClusters

emptyAction

int emptyAction

clusterMeans

java.util.ArrayList<E> clusterMeans

Class cc.mallet.cluster.Record extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

fieldAlph

Alphabet fieldAlph

valueAlph

Alphabet valueAlph

field2values

gnu.trove.TIntObjectHashMap<V> field2values

Package cc.mallet.cluster.neighbor_evaluator

Class cc.mallet.cluster.neighbor_evaluator.AgglomerativeNeighbor extends Neighbor implements Serializable

serialVersionUID: 1L

Serialized Fields

newCluster

int[] newCluster
Instance indices in the new, merged cluster.


oldClusters

int[][] oldClusters
Instance indices in the old, pre-merged clusters.

Class cc.mallet.cluster.neighbor_evaluator.ClassifyingNeighborEvaluator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

classifier

Classifier classifier
The Classifier used to assign a score to each Neighbor.


scoringLabel

java.lang.String scoringLabel
The label corresponding to a positive instance (e.g. "YES").

Class cc.mallet.cluster.neighbor_evaluator.MedoidEvaluator extends ClassifyingNeighborEvaluator implements Serializable

serialVersionUID: 1L

Serialized Fields

singleLink

boolean singleLink
If single link is true, then the score of clusters A and B is the score of the link between the two medoids.


combiningStrategy

MedoidEvaluator.CombiningStrategy combiningStrategy
How to combine a set of pairwise scores (e.g. mean, max, ...)... [currently not supported in this class]


mergeFirst

boolean mergeFirst
If true, score all edges involved in a merge. If false, only score the edges that croess the boundaries of the clusters being merged.


scoreCache

PairwiseMatrix scoreCache
Cache for calls to getScore. In some experiments, reduced running time by nearly half.

Class cc.mallet.cluster.neighbor_evaluator.Neighbor extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

original

Clustering original

modified

Clustering modified

alphabet

Alphabet alphabet

Class cc.mallet.cluster.neighbor_evaluator.PairwiseEvaluator extends ClassifyingNeighborEvaluator implements Serializable

serialVersionUID: 1L

Serialized Fields

combiningStrategy

PairwiseEvaluator.CombiningStrategy combiningStrategy
How to combine a set of pairwise scores (e.g. mean, max, ...).


mergeFirst

boolean mergeFirst
If true, score all edges involved in a merge. If false, only score the edges that croess the boundaries of the clusters being merged.


scoreCache

PairwiseMatrix scoreCache
Cache for calls to getScore. In some experiments, reduced running time by nearly half.

Class cc.mallet.cluster.neighbor_evaluator.PairwiseEvaluator.Average extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.cluster.neighbor_evaluator.PairwiseEvaluator.Maximum extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.cluster.neighbor_evaluator.PairwiseEvaluator.Minimum extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.cluster.neighbor_evaluator.RandomEvaluator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

random

Randoms random

Class cc.mallet.cluster.neighbor_evaluator.RankingNeighborEvaluator extends ClassifyingNeighborEvaluator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Package cc.mallet.cluster.tui

Class cc.mallet.cluster.tui.Clusterings2Clusterer.ClusteringPipe extends Pipe implements Serializable

serialVersionUID: 1L

Serialized Fields

exactMatchFields

int[] exactMatchFields

approxMatchFields

int[] approxMatchFields

substringMatchFields

int[] substringMatchFields

approxMatchThreshold

double approxMatchThreshold

Package cc.mallet.cluster.util

Class cc.mallet.cluster.util.PairwiseMatrix extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

vals

double[][] vals

Package cc.mallet.extract

Class cc.mallet.extract.BIOTokenizationFilter extends java.lang.Object implements Serializable

serialVersionUID: -8726127297313150023L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.extract.BIOTokenizationFilterWithTokenIndices extends BIOTokenizationFilter implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.extract.ConfidenceTokenizationFilter extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

confidenceEstimator

ExtractionConfidenceEstimator confidenceEstimator

underlyingFilter

TokenizationFilter underlyingFilter

Class cc.mallet.extract.CRFExtractor extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

crf

CRF crf

tokenizationPipe

Pipe tokenizationPipe

featurePipe

Pipe featurePipe

backgroundTag

java.lang.String backgroundTag

filter

TokenizationFilter filter

Class cc.mallet.extract.DefaultTokenizationFilter extends java.lang.Object implements Serializable

Class cc.mallet.extract.DocumentExtraction extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

input

Tokenization input

predictedLabels

Sequence<E> predictedLabels

target

LabelSequence target

extractedSpans

LabeledSpans extractedSpans

targetSpans

LabeledSpans targetSpans

document

java.lang.Object document

backgroundTag

Label backgroundTag

name

java.lang.String name

Class cc.mallet.extract.LabeledSpan extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

span

Span span

label

Label label

isBackground

boolean isBackground

confidence

double confidence

Class cc.mallet.extract.LabeledSpans extends ArrayListSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

document

java.lang.Object document

Class cc.mallet.extract.StringSpan extends Token implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

document

java.lang.CharSequence document

start

int start

end

int end

Class cc.mallet.extract.StringTokenization extends TokenSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

document

java.lang.CharSequence document

Class cc.mallet.extract.TransducerExtractionConfidenceEstimator extends ExtractionConfidenceEstimator implements Serializable

Serialized Fields

confidenceEstimator

TransducerConfidenceEstimator confidenceEstimator

featurePipe

Pipe featurePipe

Package cc.mallet.extract.pipe

Class cc.mallet.extract.pipe.TokenSequence2Tokenization extends Pipe implements Serializable


Package cc.mallet.fst

Class cc.mallet.fst.CRF extends Transducer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

inputAlphabet

Alphabet inputAlphabet

outputAlphabet

Alphabet outputAlphabet

states

java.util.ArrayList<E> states

initialStates

java.util.ArrayList<E> initialStates

name2state

java.util.HashMap<K,V> name2state

parameters

CRF.Factors parameters

globalFeatureSelection

FeatureSelection globalFeatureSelection

featureSelections

FeatureSelection[] featureSelections

featureInducers

java.util.ArrayList<E> featureInducers

weightsValueChangeStamp

int weightsValueChangeStamp

weightsStructureChangeStamp

int weightsStructureChangeStamp

cachedNumParametersStamp

int cachedNumParametersStamp

numParameters

int numParameters

Class cc.mallet.fst.CRF.Factors extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

weightAlphabet

Alphabet weightAlphabet

weights

SparseVector[] weights

defaultWeights

double[] defaultWeights

weightsFrozen

boolean[] weightsFrozen

initialWeights

double[] initialWeights

finalWeights

double[] finalWeights

Class cc.mallet.fst.CRF.State extends Transducer.State implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name

index

int index

destinationNames

java.lang.String[] destinationNames

destinations

CRF.State[] destinations

weightsIndices

int[][] weightsIndices

labels

java.lang.String[] labels

crf

CRF crf

Class cc.mallet.fst.CRF.TransitionIterator extends Transducer.TransitionIterator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

source

CRF.State source

index

int index

nextIndex

int nextIndex

weights

double[] weights

input

FeatureVector input

crf

CRF crf

Class cc.mallet.fst.CRFOptimizableByBatchLabelLikelihood extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

crf

CRF crf

trainingSet

InstanceList trainingSet

numBatches

int numBatches

expectations

java.util.List<E> expectations

constraints

CRF.Factors constraints

cachedValue

double[] cachedValue

cachedGradient

java.util.List<E> cachedGradient

usingHyperbolicPrior

boolean usingHyperbolicPrior

gaussianPriorVariance

double gaussianPriorVariance

hyperbolicPriorSlope

double hyperbolicPriorSlope

hyperbolicPriorSharpness

double hyperbolicPriorSharpness

Class cc.mallet.fst.CRFOptimizableByLabelLikelihood extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

trainingSet

InstanceList trainingSet

cachedValue

double cachedValue

cachedGradient

double[] cachedGradient

infiniteValues

java.util.BitSet infiniteValues

crf

CRF crf

constraints

CRF.Factors constraints

expectations

CRF.Factors expectations

cachedValueWeightsStamp

int cachedValueWeightsStamp

cachedGradientWeightsStamp

int cachedGradientWeightsStamp

usingHyperbolicPrior

boolean usingHyperbolicPrior

gaussianPriorVariance

double gaussianPriorVariance

hyperbolicPriorSlope

double hyperbolicPriorSlope

hyperbolicPriorSharpness

double hyperbolicPriorSharpness

Class cc.mallet.fst.CRFTrainerByValueGradients.OptimizableCRF extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

trainingSet

InstanceList trainingSet

cachedValue

double cachedValue

cachedGradie

double[] cachedGradie

infiniteValues

java.util.BitSet infiniteValues

crf

CRF crf

opts

Optimizable.ByGradientValue[] opts

Class cc.mallet.fst.FeatureTransducer extends Transducer implements Serializable

serialVersionUID: 1L

Serialized Fields

inputAlphabet

Alphabet inputAlphabet

outputAlphabet

Alphabet outputAlphabet

states

java.util.ArrayList<E> states

initialStates

java.util.ArrayList<E> initialStates

name2state

java.util.HashMap<K,V> name2state

initialStateCounts

Multinomial.Estimator initialStateCounts

finalStateCounts

Multinomial.Estimator finalStateCounts

trainable

boolean trainable

Class cc.mallet.fst.FeatureTransducer.State extends Transducer.State implements Serializable

serialVersionUID: 1L

Serialized Fields

name

java.lang.String name

index

int index

initialWeight

double initialWeight

finalWeight

double finalWeight

transitions

FeatureTransducer.Transition[] transitions

input2transitions

gnu.trove.TIntObjectHashMap<V> input2transitions

transitionCounts

Multinomial.Estimator transitionCounts

transducer

FeatureTransducer transducer

Class cc.mallet.fst.FeatureTransducer.TransitionIterator extends Transducer.TransitionIterator implements Serializable

Serialized Fields

index

int index

transition

FeatureTransducer.Transition transition

source

FeatureTransducer.State source

input

int input

Class cc.mallet.fst.HMM extends Transducer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

inputAlphabet

Alphabet inputAlphabet

outputAlphabet

Alphabet outputAlphabet

states

java.util.ArrayList<E> states

initialStates

java.util.ArrayList<E> initialStates

name2state

java.util.HashMap<K,V> name2state

transitionEstimator

Multinomial.Estimator[] transitionEstimator

emissionEstimator

Multinomial.Estimator[] emissionEstimator

initialEstimator

Multinomial.Estimator initialEstimator

transitionMultinomial

Multinomial[] transitionMultinomial

emissionMultinomial

Multinomial[] emissionMultinomial

initialMultinomial

Multinomial initialMultinomial

Class cc.mallet.fst.HMM.State extends Transducer.State implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name

index

int index

initialWeight

double initialWeight

finalWeight

double finalWeight

destinationNames

java.lang.String[] destinationNames

destinations

HMM.State[] destinations

labels

java.lang.String[] labels

hmm

HMM hmm

Class cc.mallet.fst.HMM.TransitionIterator extends Transducer.TransitionIterator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

source

HMM.State source

index

int index

nextIndex

int nextIndex

inputPos

int inputPos

weights

double[] weights

inputSequence

FeatureSequence inputSequence

inputFeature

java.lang.Integer inputFeature

hmm

HMM hmm

Class cc.mallet.fst.MaxLatticeDefault.Factory extends MaxLatticeFactory implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.MaxLatticeFactory extends java.lang.Object implements Serializable

Class cc.mallet.fst.MEMM extends CRF implements Serializable

Class cc.mallet.fst.MEMM.State extends CRF.State implements Serializable

Serialized Fields

trainingSet

InstanceList trainingSet

Class cc.mallet.fst.MEMM.TransitionIterator extends CRF.TransitionIterator implements Serializable

Serialized Fields

sum

double sum

Class cc.mallet.fst.MEMMTrainer.MEMMOptimizableByLabelLikelihood extends CRFOptimizableByLabelLikelihood implements Serializable

Serialized Fields

infiniteValues

java.util.BitSet infiniteValues

Class cc.mallet.fst.SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence extends Pipe implements Serializable

serialVersionUID: -2059308802200728625L

Class cc.mallet.fst.SumLatticeBeam.Factory extends SumLatticeFactory implements Serializable

Serialized Fields

bw

int bw

Class cc.mallet.fst.SumLatticeDefault.Factory extends SumLatticeFactory implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.SumLatticeFactory extends java.lang.Object implements Serializable

Class cc.mallet.fst.SumLatticeScaling.Factory extends SumLatticeFactory implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.Transducer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

sumLatticeFactory

SumLatticeFactory sumLatticeFactory

maxLatticeFactory

MaxLatticeFactory maxLatticeFactory

inputPipe

Pipe inputPipe
A pipe that should produce a Sequence in the "data" slot, (and possibly one in the "target" slot also


outputPipe

Pipe outputPipe
A pipe that should expect the Transducer's output sequence in the "target" slot, and should produce something printable in the "source" slot that indicates the results of transduction.

Class cc.mallet.fst.Transducer.State extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.Transducer.TransitionIterator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Package cc.mallet.fst.confidence

Class cc.mallet.fst.confidence.ConstrainedForwardBackwardConfidenceEstimator extends TransducerConfidenceEstimator implements Serializable

serialVersionUID: 1L

Class cc.mallet.fst.confidence.GammaAverageConfidenceEstimator extends TransducerConfidenceEstimator implements Serializable

Serialized Fields

string2stateIndex

java.util.HashMap<K,V> string2stateIndex

Class cc.mallet.fst.confidence.GammaProductConfidenceEstimator extends TransducerConfidenceEstimator implements Serializable

Serialized Fields

string2stateIndex

java.util.HashMap<K,V> string2stateIndex

Class cc.mallet.fst.confidence.MaxEntConfidenceEstimator extends TransducerConfidenceEstimator implements Serializable

Serialized Fields

meTrainer

MaxEntTrainer meTrainer

meClassifier

MaxEnt meClassifier

pipe

Pipe pipe

correct

java.lang.String correct

incorrect

java.lang.String incorrect

Class cc.mallet.fst.confidence.RandomConfidenceEstimator extends TransducerConfidenceEstimator implements Serializable

Serialized Fields

generator

java.util.Random generator

Class cc.mallet.fst.confidence.TransducerConfidenceEstimator extends java.lang.Object implements Serializable

Serialized Fields

model

Transducer model

segmentConfidences

java.util.Vector<E> segmentConfidences

Package cc.mallet.fst.semi_supervised

Class cc.mallet.fst.semi_supervised.CRFOptimizableByEntropyRegularization extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

cachedValueWeightsStamp

int cachedValueWeightsStamp

cachedGradientWeightsStamp

int cachedGradientWeightsStamp

expectations

CRF.Factors expectations

incrementor

Transducer.Incrementor incrementor

data

InstanceList data

crf

CRF crf

scalingFactor

double scalingFactor

cachedValue

double cachedValue

cachedGradient

double[] cachedGradient

Package cc.mallet.fst.semi_supervised.pr

Class cc.mallet.fst.semi_supervised.pr.CachedDotTransitionIterator extends Transducer.TransitionIterator implements Serializable

serialVersionUID: 1L

Serialized Fields

source

CRF.State source

index

int index

nextIndex

int nextIndex

weights

double[] weights

input

java.lang.Object input

Class cc.mallet.fst.semi_supervised.pr.ConstraintsOptimizableByPR extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

cacheStale

boolean cacheStale

numParameters

int numParameters

numThreads

int numThreads

trainingSet

InstanceList trainingSet

cachedValue

double cachedValue

cachedGradient

double[] cachedGradient

crf

CRF crf

executor

java.util.concurrent.ThreadPoolExecutor executor

cachedDots

double[][][][] cachedDots

model

PRAuxiliaryModel model

Class cc.mallet.fst.semi_supervised.pr.CRFOptimizableByKL extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

cachedValueWeightsStamp

int cachedValueWeightsStamp

cachedGradientWeightsStamp

int cachedGradientWeightsStamp

numParameters

int numParameters

numThreads

int numThreads

weight

double weight

gaussianPriorVariance

double gaussianPriorVariance

cachedValue

double cachedValue

cachedGradient

double[] cachedGradient

initialProbList

java.util.List<E> initialProbList

finalProbList

java.util.List<E> finalProbList

transitionProbList

java.util.List<E> transitionProbList

trainingSet

InstanceList trainingSet

crf

CRF crf

constraints

CRF.Factors constraints

expectations

CRF.Factors expectations

executor

java.util.concurrent.ThreadPoolExecutor executor

auxModel

PRAuxiliaryModel auxModel

Class cc.mallet.fst.semi_supervised.pr.PRAuxiliaryModel extends Transducer implements Serializable

serialVersionUID: 1L

Serialized Fields

numParameters

int numParameters

parameters

double[][] parameters

constraints

java.util.ArrayList<E> constraints

baseModel

CRF baseModel

Package cc.mallet.fst.tests

Class cc.mallet.fst.tests.TestCRF.TestCRF2String extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.tests.TestCRF.TestCRFTokenSequenceRemoveSpaces extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.tests.TestMEMM.TestMEMM2String extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.fst.tests.TestMEMM.TestMEMMTokenSequenceRemoveSpaces extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Package cc.mallet.grmm.examples

Class cc.mallet.grmm.examples.CrossTemplate1 extends ACRF.SequenceTemplate implements Serializable

Serialized Fields

lvl1

int lvl1

lvl2

int lvl2

Package cc.mallet.grmm.inference

Class cc.mallet.grmm.inference.AbstractBeliefPropagation extends AbstractInferencer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

normalizeBeliefs

boolean normalizeBeliefs

threshold

double threshold

useCaching

boolean useCaching

messager

AbstractBeliefPropagation.MessageStrategy messager

Class cc.mallet.grmm.inference.AbstractBeliefPropagation.MaxProductMessageStrategy extends AbstractBeliefPropagation.AbstractMessageStrategy implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.grmm.inference.AbstractBeliefPropagation.SumProductMessageStrategy extends AbstractBeliefPropagation.AbstractMessageStrategy implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

damping

double damping

Class cc.mallet.grmm.inference.AbstractInferencer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class cc.mallet.grmm.inference.BruteForceInferencer extends AbstractInferencer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.grmm.inference.JunctionTreeInferencer extends AbstractInferencer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

inLogSpace

boolean inLogSpace

propagator

cc.mallet.grmm.inference.JunctionTreePropagation propagator

Class cc.mallet.grmm.inference.JunctionTreePropagation.MaxProductMessageStrategy extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.grmm.inference.JunctionTreePropagation.SumProductMessageStrategy extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.grmm.inference.LoopyBP extends AbstractBeliefPropagation implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

maxIter

int maxIter

rand

java.util.Random rand

Class cc.mallet.grmm.inference.ResidualBP extends AbstractBeliefPropagation implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

maxIter

int maxIter

rand

java.util.Random rand

Class cc.mallet.grmm.inference.SamplingInferencer extends AbstractInferencer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

N

int N

sampler

Sampler sampler

Class cc.mallet.grmm.inference.TreeBP extends AbstractBeliefPropagation implements Serializable

Class cc.mallet.grmm.inference.TRP extends AbstractBeliefPropagation implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

factory

TRP.TreeFactory factory

terminator

TRP.TerminationCondition terminator

random

java.util.Random random

Class cc.mallet.grmm.inference.TRP.AlmostRandomTreeFactory extends java.lang.Object implements Serializable

serialVersionUID: -7461763414516915264L

Class cc.mallet.grmm.inference.TRP.ConvergenceTerminator extends java.lang.Object implements Serializable

Serialized Fields

delta

double delta

Class cc.mallet.grmm.inference.TRP.DefaultConvergenceTerminator extends java.lang.Object implements Serializable

Serialized Fields

cterminator

TRP.ConvergenceTerminator cterminator

iterminator

TRP.IterationTerminator iterminator

msg

java.lang.String msg

Class cc.mallet.grmm.inference.TRP.IterationTerminator extends java.lang.Object implements Serializable

Serialized Fields

current

int current

max

int max

Class cc.mallet.grmm.inference.TRP.TreeListFactory extends java.lang.Object implements Serializable

Serialized Fields

lst

java.util.List<E> lst

it

java.util.Iterator<E> it

Class cc.mallet.grmm.inference.VariableElimination extends AbstractInferencer implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Package cc.mallet.grmm.inference.gbp

Class cc.mallet.grmm.inference.gbp.ParentChildGBP extends AbstractInferencer implements Serializable

Serialized Fields

regioner

RegionGraphGenerator regioner

sender

MessageStrategy sender

useInertia

boolean useInertia

inertiaWeight

double inertiaWeight

oldMessages

cc.mallet.grmm.inference.gbp.MessageArray oldMessages

newMessages

cc.mallet.grmm.inference.gbp.MessageArray newMessages

rg

cc.mallet.grmm.inference.gbp.RegionGraph rg

mdl

FactorGraph mdl

Package cc.mallet.grmm.learning

Class cc.mallet.grmm.learning.ACRF extends java.lang.Object implements Serializable

serialVersionUID: 2865175696692468236L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

templates

ACRF.Template[] templates

fixedPtls

java.util.List<E> fixedPtls

graphProcessor

ACRF.GraphPostProcessor graphProcessor

inputAlphabet

Alphabet inputAlphabet

globalInferencer

Inferencer globalInferencer

viterbi

Inferencer viterbi

defaultFeatureIndex

int defaultFeatureIndex

inputPipe

Pipe inputPipe

cacheUnrolledGraphs

boolean cacheUnrolledGraphs

gaussianPriorVariance

double gaussianPriorVariance

doSizeScale

boolean doSizeScale

Class cc.mallet.grmm.learning.ACRF.BigramTemplate extends ACRF.SequenceTemplate implements Serializable

serialVersionUID: 8944142287103225874L

Serialized Fields

factor

int factor

Class cc.mallet.grmm.learning.ACRF.FixedFactorTemplate extends ACRF.Template implements Serializable

Class cc.mallet.grmm.learning.ACRF.MaximizableACRF extends java.lang.Object implements Serializable

Serialized Fields

trainData

InstanceList trainData

cachedValue

double cachedValue

cachedGradient

double[] cachedGradient

infiniteValues

java.util.BitSet infiniteValues

cachedValueStale

boolean cachedValueStale

cachedGradientStale

boolean cachedGradientStale

numParameters

int numParameters

totalNodes

int totalNodes

inferencer

Inferencer inferencer

constraints

SparseVector[][] constraints

expectations

SparseVector[][] expectations

defaultConstraints

SparseVector[] defaultConstraints

defaultExpectations

SparseVector[] defaultExpectations

gradCallNo

int gradCallNo

Class cc.mallet.grmm.learning.ACRF.PairwiseFactorTemplate extends ACRF.SequenceTemplate implements Serializable

serialVersionUID: 1L

Serialized Fields

factor0

int factor0

factor1

int factor1

Class cc.mallet.grmm.learning.ACRF.SequenceTemplate extends ACRF.Template implements Serializable

Class cc.mallet.grmm.learning.ACRF.Template extends java.lang.Object implements Serializable

serialVersionUID: -727618747254644076L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

unsupportedWeightsAdded

boolean unsupportedWeightsAdded

weights

SparseVector[] weights

assignmentsPresent

java.util.BitSet assignmentsPresent

supportedOnly

boolean supportedOnly

index

int index

defaultWeights

SparseVector defaultWeights

trainable

boolean trainable

Class cc.mallet.grmm.learning.ACRF.UnigramTemplate extends ACRF.SequenceTemplate implements Serializable

serialVersionUID: 1L

Serialized Fields

factor

int factor

Class cc.mallet.grmm.learning.ACRF.UnrolledGraph extends UndirectedModel implements Serializable

Serialized Fields

allVars

java.util.List<E> allVars
Array of Variables containing all nodes in model.


cliques

java.util.List<E> cliques
Array containing all instantiated cliques (UnrolledClique) in the model.


numSlices

int numSlices
The number of Label objects in each Labels object


isCached

boolean isCached

instance

Instance instance

fvs

FeatureVectorSequence fvs

assignment

Assignment assignment

outputAlphabets

LabelAlphabet[] outputAlphabets

acrf

ACRF acrf

allTemplates

java.util.List<E> allTemplates

isFactorsAdded

boolean isFactorsAdded

uvsMap

gnu.trove.THashMap<K,V> uvsMap

lastResids

double[] lastResids

observedVars

gnu.trove.TObjectIntHashMap<K> observedVars

Class cc.mallet.grmm.learning.ACRF.UnrolledVarSet extends HashVarSet implements Serializable

Serialized Fields

tmpl

ACRF.Template tmpl

fv

FeatureVector fv

vars

Variable[] vars

factor

Factor factor

graph

ACRF.UnrolledGraph graph

lastChange

double lastChange

Class cc.mallet.grmm.learning.GenericAcrfData2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

labelDicts

java.util.ArrayList<E> labelDicts

numLabels

int numLabels

includeTokenText

boolean includeTokenText

textFeaturePrefix

java.lang.String textFeaturePrefix

featuresIncludeToken

boolean featuresIncludeToken

labelsAtEnd

boolean labelsAtEnd

Class cc.mallet.grmm.learning.PiecewiseACRFTrainer.Maxable extends CachingOptimizable.ByGradient implements Serializable

Serialized Fields

acrf

ACRF acrf

trainData

InstanceList trainData

templates

ACRF.Template[] templates

fixedTmpls

ACRF.Template[] fixedTmpls

infiniteValues

java.util.BitSet infiniteValues

numParameters

int numParameters

gaussianPriorVariance

double gaussianPriorVariance

constraints

SparseVector[][] constraints

expectations

SparseVector[][] expectations

defaultConstraints

SparseVector[] defaultConstraints

defaultExpectations

SparseVector[] defaultExpectations

numInBatch

int numInBatch

Class cc.mallet.grmm.learning.PseudolikelihoodACRFTrainer.Maxable extends CachingOptimizable.ByGradient implements Serializable

Serialized Fields

acrf

ACRF acrf

trainData

InstanceList trainData

templates

ACRF.Template[] templates

fixedTmpls

ACRF.Template[] fixedTmpls

infiniteValues

java.util.BitSet infiniteValues

numParameters

int numParameters

gaussianPriorVariance

double gaussianPriorVariance

constraints

SparseVector[][] constraints

expectations

SparseVector[][] expectations

defaultConstraints

SparseVector[] defaultConstraints

defaultExpectations

SparseVector[] defaultExpectations

Package cc.mallet.grmm.learning.extract

Class cc.mallet.grmm.learning.extract.ACRFExtractor extends java.lang.Object implements Serializable

Serialized Fields

acrf

ACRF acrf

tokPipe

Pipe tokPipe

featurePipe

Pipe featurePipe

slice

int slice

backgroundTag

java.lang.String backgroundTag

filter

TokenizationFilter filter

Package cc.mallet.grmm.learning.templates

Class cc.mallet.grmm.learning.templates.SimilarTokensTemplate extends ACRF.SequenceTemplate implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

factor

int factor

distinguishEndpts

boolean distinguishEndpts

wordFeaturesOnly

boolean wordFeaturesOnly

excludeAdjacent

boolean excludeAdjacent

binner

SimilarTokensTemplate.FeatureVectorBinner binner

Class cc.mallet.grmm.learning.templates.SimilarTokensTemplate.CapWordsBinner extends SimilarTokensTemplate.WordFeatureBinner implements Serializable

Class cc.mallet.grmm.learning.templates.SimilarTokensTemplate.WordFeatureBinner extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

findWordPtn1

java.util.regex.Pattern findWordPtn1

findWordPtn2

java.util.regex.Pattern findWordPtn2

findWordExcludePtn

java.util.regex.Pattern findWordExcludePtn

wordIncludePattern

java.util.regex.Pattern wordIncludePattern

Package cc.mallet.grmm.types

Class cc.mallet.grmm.types.AbstractFactor extends java.lang.Object implements Serializable

Serialized Fields

vars

VarSet vars

Class cc.mallet.grmm.types.AbstractTableFactor extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

universe

Universe universe
Maps all of the Variable objects of this distribution to an integer that says which dimension in the probs matrix correspands to that var.


vars

VarSet vars

numVars

int numVars
Number of variables in this potential.


reorderingMap

int[] reorderingMap

sizesAsPassed

int[] sizesAsPassed

sizesAsSorted

int[] sizesAsSorted

probs

Matrix probs

Class cc.mallet.grmm.types.Assignment extends AbstractFactor implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

scale

double scale

Class cc.mallet.grmm.types.BetaFactor extends AbstractFactor implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

Class cc.mallet.grmm.types.BidirectionalIntObjectMap extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

map

gnu.trove.TObjectIntHashMap<K> map

entries

java.util.ArrayList<E> entries

growthStopped

boolean growthStopped

Class cc.mallet.grmm.types.BinaryUnaryFactor extends AbstractFactor implements Serializable

Serialized Fields

theta1

Variable theta1

theta2

Variable theta2

var

Variable var

Class cc.mallet.grmm.types.BoltzmannPairFactor extends TableFactor implements Serializable

Serialized Fields

sigma

double sigma

x1

Variable x1

x2

Variable x2

Class cc.mallet.grmm.types.BoltzmannUnaryFactor extends TableFactor implements Serializable

Serialized Fields

theta

double theta

var

Variable var

Class cc.mallet.grmm.types.ConstantFactor extends AbstractFactor implements Serializable

serialVersionUID: -2934945791792969816L

Serialized Fields

c

double c

Class cc.mallet.grmm.types.CPT extends java.lang.Object implements Serializable

Serialized Fields

subFactor

DiscreteFactor subFactor

parents

VarSet parents

child

Variable child

Class cc.mallet.grmm.types.DirectedModel extends FactorGraph implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

allCpts

java.util.Map<K,V> allCpts

graph

org._3pq.jgrapht.DirectedGraph graph

Class cc.mallet.grmm.types.FactorGraph extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

factors

java.util.List<E> factors

clique2ptl

gnu.trove.THashMap<K,V> clique2ptl
Set of clique potential for this graph. Ordinarily will map Cliques to DiscretePotentials.


universe

Universe universe

projectionMap

gnu.trove.TIntIntHashMap projectionMap

my2global

int[] my2global

factorsAlphabet

BidirectionalIntObjectMap factorsAlphabet

numNodes

int numNodes

Class cc.mallet.grmm.types.HashVarSet extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

verts

gnu.trove.THashSet<E> verts

vertsList

java.util.ArrayList<E> vertsList

Class cc.mallet.grmm.types.ListVarSet extends java.util.AbstractSet implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

cachedWeight

int cachedWeight

Class cc.mallet.grmm.types.LogTableFactor extends AbstractTableFactor implements Serializable

Class cc.mallet.grmm.types.NormalFactor extends AbstractFactor implements Serializable

Serialized Fields

mean

no.uib.cipr.matrix.Vector mean

variance

no.uib.cipr.matrix.Matrix variance

Class cc.mallet.grmm.types.PottsTableFactor extends AbstractFactor implements Serializable

Serialized Fields

alpha

Variable alpha

xs

VarSet xs

Class cc.mallet.grmm.types.SkeletonFactor extends AbstractFactor implements Serializable

Class cc.mallet.grmm.types.TableFactor extends AbstractTableFactor implements Serializable

Class cc.mallet.grmm.types.UndirectedGrid extends UndirectedModel implements Serializable

Serialized Fields

vars

Variable[][] vars

width

int width

height

int height

Class cc.mallet.grmm.types.UndirectedModel extends FactorGraph implements Serializable

Serialized Fields

edges

java.util.Set<E> edges

Class cc.mallet.grmm.types.UniformFactor extends AbstractFactor implements Serializable

Serialized Fields

var

Variable var

min

double min

max

double max

val

double val

Class cc.mallet.grmm.types.UniNormalFactor extends AbstractFactor implements Serializable

Serialized Fields

var

Variable var

mean

double mean

variance

double variance

Class cc.mallet.grmm.types.Universe extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

variableAlphabet

BidirectionalIntObjectMap variableAlphabet

Class cc.mallet.grmm.types.UnmodifiableVarSet extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.grmm.types.Variable extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

label

java.lang.String label

outcomes

LabelAlphabet outcomes

universe

Universe universe

index

int index

Package cc.mallet.grmm.util

Class cc.mallet.grmm.util.LabelsAssignment extends Assignment implements Serializable

Serialized Fields

id

int id

idx2var

Variable[][] idx2var

lblseq

LabelsSequence lblseq

var2label

java.util.Map<K,V> var2label

Class cc.mallet.grmm.util.LabelsSequence2Assignment extends Pipe implements Serializable

Class cc.mallet.grmm.util.MIntInt2ObjectMap extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

backing

gnu.trove.TIntObjectHashMap<V> backing

Class cc.mallet.grmm.util.RememberTokenizationPipe extends Pipe implements Serializable

Class cc.mallet.grmm.util.SliceLabelsSequence extends Pipe implements Serializable

Serialized Fields

slice

int slice

Package cc.mallet.optimize

Class cc.mallet.optimize.InvalidOptimizableException extends OptimizationException implements Serializable

Class cc.mallet.optimize.OptimizationException extends java.lang.RuntimeException implements Serializable


Package cc.mallet.pipe

Class cc.mallet.pipe.AddClassifierTokenPredictions extends Pipe implements Serializable

serialVersionUID: 1L

Serialized Fields

m_predRanks2add

int[] m_predRanks2add

m_tokenClassifiers

AddClassifierTokenPredictions.TokenClassifiers m_tokenClassifiers

m_binary

boolean m_binary

m_inProduction

boolean m_inProduction

m_dataAlphabet

Alphabet m_dataAlphabet

Class cc.mallet.pipe.AddClassifierTokenPredictions.TokenClassifiers extends Classifier implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

m_numCV

int m_numCV

m_randSeed

int m_randSeed

m_trainer

ClassifierTrainer<C extends Classifier> m_trainer

m_tokenClassifier

Classifier m_tokenClassifier

m_table

java.util.HashMap<K,V> m_table

Class cc.mallet.pipe.Array2FeatureVector extends Pipe implements Serializable

Class cc.mallet.pipe.AugmentableFeatureVectorAddConjunctions extends Pipe implements Serializable

Serialized Fields

conjunctions

FeatureConjunction.List conjunctions

Class cc.mallet.pipe.AugmentableFeatureVectorLogScale extends Pipe implements Serializable

Class cc.mallet.pipe.BranchingPipe extends Pipe implements Serializable

Serialized Fields

pipes

java.util.ArrayList<E> pipes
Deprecated. 

Class cc.mallet.pipe.CharSequence2CharNGrams extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

n

int n

distinguishBorders

boolean distinguishBorders

Class cc.mallet.pipe.CharSequence2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

lexer

CharSequenceLexer lexer

Class cc.mallet.pipe.CharSequenceArray2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.CharSequenceLowercase extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.CharSequenceRemoveHTML extends Pipe implements Serializable

Class cc.mallet.pipe.CharSequenceRemoveUUEncodedBlocks extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.CharSequenceReplace extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

regex

java.util.regex.Pattern regex

replacement

java.lang.String replacement

Class cc.mallet.pipe.CharSubsequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

regex

java.util.regex.Pattern regex

groupIndex

int groupIndex

Class cc.mallet.pipe.Classification2ConfidencePredictingFeatureVector extends Pipe implements Serializable

Class cc.mallet.pipe.Csv2Array extends Pipe implements Serializable

Serialized Fields

lexer

CharSequenceLexer lexer

numberFeatures

int numberFeatures

Class cc.mallet.pipe.Csv2FeatureVector extends Pipe implements Serializable

Class cc.mallet.pipe.Directory2FileIterator extends Pipe implements Serializable

Serialized Fields

fileFilter

java.io.FileFilter fileFilter

labelPattern

java.util.regex.Pattern labelPattern

Class cc.mallet.pipe.FeatureCountPipe extends Pipe implements Serializable

serialVersionUID: 1L

Serialized Fields

counter

FeatureCounter counter

Class cc.mallet.pipe.FeatureDocFreqPipe extends Pipe implements Serializable

serialVersionUID: 1L

Serialized Fields

counter

FeatureCounter counter

numInstances

int numInstances

Class cc.mallet.pipe.FeatureSequence2AugmentableFeatureVector extends Pipe implements Serializable

Serialized Fields

binary

boolean binary

Class cc.mallet.pipe.FeatureSequence2FeatureVector extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

binary

boolean binary

Class cc.mallet.pipe.FeatureSequenceConvolution extends Pipe implements Serializable

Class cc.mallet.pipe.FeatureValueString2FeatureVector extends Pipe implements Serializable

Class cc.mallet.pipe.FeatureVectorConjunctions extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.FeatureVectorSequence2FeatureVectors extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.Filename2CharSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.FilterEmptyFeatureVectors extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.Input2CharSequence extends Pipe implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

encoding

java.lang.String encoding

Class cc.mallet.pipe.InstanceListTrimFeaturesByCount extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

minCount

int minCount

Class cc.mallet.pipe.LineGroupString2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

lexer

CharSequenceLexer lexer

Class cc.mallet.pipe.MakeAmpersandXMLFriendly extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.Noop extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.Pipe extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
This gets called after readObject; it lets the object decide whether to return itself or return a previously read in version. We use a hashMap of instanceIds to determine if we have already read in this object.

Throws:
java.io.ObjectStreamException
Serialized Fields

dataAlphabet

Alphabet dataAlphabet

targetAlphabet

Alphabet targetAlphabet

dataAlphabetResolved

boolean dataAlphabetResolved

targetAlphabetResolved

boolean targetAlphabetResolved

targetProcessing

boolean targetProcessing

instanceId

java.rmi.dgc.VMID instanceId

Class cc.mallet.pipe.PipeException extends java.lang.Exception implements Serializable

Class cc.mallet.pipe.PrintInput extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

stream

java.io.PrintStream stream

Class cc.mallet.pipe.PrintInputAndTarget extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

Class cc.mallet.pipe.PrintTokenSequenceFeatures extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

Class cc.mallet.pipe.SaveDataInSource extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.SelectiveSGML2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

sgmlPattern

java.util.regex.Pattern sgmlPattern

lexer

CharSequenceLexer lexer

backgroundTag

java.lang.String backgroundTag

allowedTags

java.util.Set<E> allowedTags

Class cc.mallet.pipe.SerialPipes extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

pipes

java.util.ArrayList<E> pipes

Class cc.mallet.pipe.SGML2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

sgmlPattern

java.util.regex.Pattern sgmlPattern

lexer

CharSequenceLexer lexer

backgroundTag

java.lang.String backgroundTag

saveSource

boolean saveSource

Class cc.mallet.pipe.SimpleTaggerSentence2StringTokenization extends SimpleTaggerSentence2TokenSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.SimpleTaggerSentence2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

setTokensAsFeatures

boolean setTokensAsFeatures

Class cc.mallet.pipe.SimpleTokenizer extends Pipe implements Serializable

serialVersionUID: 1L

Serialized Fields

stoplist

java.util.HashSet<E> stoplist

Class cc.mallet.pipe.SourceLocation2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

lexer

CharSequenceLexer lexer

Class cc.mallet.pipe.StringAddNewLineDelimiter extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

delim

java.lang.String delim

Class cc.mallet.pipe.StringList2FeatureSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialized Fields

totalNanos

long totalNanos

Class cc.mallet.pipe.SvmLight2FeatureVectorAndLabel extends Pipe implements Serializable

serialVersionUID: 1L

Class cc.mallet.pipe.Target2FeatureSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.Target2Label extends Pipe implements Serializable

serialVersionUID: -461155063551297878L

Class cc.mallet.pipe.Target2LabelSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.TargetRememberLastLabel extends Pipe implements Serializable

Serialized Fields

backgroundLabel

java.lang.String backgroundLabel

offset

boolean offset

Class cc.mallet.pipe.TargetStringToFeatures extends Pipe implements Serializable

serialVersionUID: 1L

Class cc.mallet.pipe.Token2FeatureVector extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

augmentable

boolean augmentable

binary

boolean binary

Class cc.mallet.pipe.TokenSequence2FeatureSequence extends Pipe implements Serializable

Class cc.mallet.pipe.TokenSequence2FeatureSequenceWithBigrams extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

biDictionary

Alphabet biDictionary

Class cc.mallet.pipe.TokenSequence2FeatureVectorSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

augmentable

boolean augmentable

binary

boolean binary

growAlphabet

boolean growAlphabet

Class cc.mallet.pipe.TokenSequence2TokenInstances extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.TokenSequenceLowercase extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.pipe.TokenSequenceMatchDataAndTarget extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

regex

java.util.regex.Pattern regex

dataGroup

int dataGroup

targetGroup

int targetGroup

Class cc.mallet.pipe.TokenSequenceNGrams extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

gramSizes

int[] gramSizes

Class cc.mallet.pipe.TokenSequenceParseFeatureString extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

realValued

boolean realValued

specifyFeatureNames

boolean specifyFeatureNames

nameValueSeparator

java.lang.String nameValueSeparator

Class cc.mallet.pipe.TokenSequenceRemoveNonAlpha extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

markDeletions

boolean markDeletions

Class cc.mallet.pipe.TokenSequenceRemoveStopwords extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

stoplist

java.util.HashSet<E> stoplist

caseSensitive

boolean caseSensitive

markDeletions

boolean markDeletions

Package cc.mallet.pipe.tests

Class cc.mallet.pipe.tests.TestInstancePipe.Array2ArrayIterator extends Pipe implements Serializable

Class cc.mallet.pipe.tests.TestSGML2TokenSequence.Array2ArrayIterator extends Pipe implements Serializable


Package cc.mallet.pipe.tsf

Class cc.mallet.pipe.tsf.CountMatches extends Pipe implements Serializable

Serialized Fields

regex

java.util.regex.Pattern regex

feature

java.lang.String feature

normalizeByCharLength

boolean normalizeByCharLength

countIsBinary

boolean countIsBinary

Class cc.mallet.pipe.tsf.CountMatchesAlignedWithOffsets extends Pipe implements Serializable

Serialized Fields

regex

java.util.regex.Pattern regex

feature

java.lang.String feature

offsets

int[] offsets

normalizeByMatchCount

boolean normalizeByMatchCount

Class cc.mallet.pipe.tsf.CountMatchesMatching extends Pipe implements Serializable

Serialized Fields

feature

java.lang.String feature

regex

java.util.regex.Pattern regex

moreSpecificRegex

java.util.regex.Pattern moreSpecificRegex

normalizeByRegexMatches

boolean normalizeByRegexMatches

Class cc.mallet.pipe.tsf.FeaturesInWindow extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

namePrefix

java.lang.String namePrefix

namePrefixLeft

java.lang.String namePrefixLeft

leftBoundary

int leftBoundary

rightBoundary

int rightBoundary

featureRegex

java.util.regex.Pattern featureRegex

includeBeginEndBoundaries

boolean includeBeginEndBoundaries

includeCurrentToken

boolean includeCurrentToken

Class cc.mallet.pipe.tsf.FeaturesOfFirstMention extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

namePrefix

java.lang.String namePrefix

firstMentionName

java.lang.String firstMentionName

featureRegex

java.util.regex.Pattern featureRegex

filterRegex

java.util.regex.Pattern filterRegex

includeFiltered

boolean includeFiltered

Class cc.mallet.pipe.tsf.LexiconMembership extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name

lexicon

gnu.trove.THashSet<E> lexicon

ignoreCase

boolean ignoreCase

Class cc.mallet.pipe.tsf.OffsetConjunctions extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

conjunctions

int[][] conjunctions

includeOriginalSingletons

boolean includeOriginalSingletons

featureRegex

java.util.regex.Pattern featureRegex

Class cc.mallet.pipe.tsf.OffsetFeatureConjunction extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

thisFeatureName

java.lang.String thisFeatureName

featurePatterns

java.util.regex.Pattern[] featurePatterns

offsets

int[] offsets

isNonNegated

boolean[] isNonNegated

tagAllTimesteps

boolean tagAllTimesteps

Class cc.mallet.pipe.tsf.OffsetPropertyConjunctions extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

conjunctions

int[][] conjunctions

includeOriginalSingletons

boolean includeOriginalSingletons

propertyKey

java.lang.String propertyKey

Class cc.mallet.pipe.tsf.RegexMatches extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

regex

java.util.regex.Pattern regex

feature

java.lang.String feature

Class cc.mallet.pipe.tsf.SequencePrintingPipe extends Pipe implements Serializable

Serialized Fields

writer

java.io.PrintWriter writer

Class cc.mallet.pipe.tsf.Target2BIOFormat extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

backgroundTag

java.lang.String backgroundTag

Class cc.mallet.pipe.tsf.TokenFirstPosition extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

featureName

java.lang.String featureName

Class cc.mallet.pipe.tsf.TokenText extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

matchingRegex

java.util.regex.Pattern matchingRegex

Class cc.mallet.pipe.tsf.TokenTextCharNGrams extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

gramSizes

int[] gramSizes

distinguishBorders

boolean distinguishBorders

Class cc.mallet.pipe.tsf.TokenTextCharPrefix extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

prefixLength

int prefixLength

Class cc.mallet.pipe.tsf.TokenTextCharSuffix extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

suffixLength

int suffixLength

Class cc.mallet.pipe.tsf.TokenTextNGrams extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prefix

java.lang.String prefix

gramSizes

int[] gramSizes

distinguishBorders

boolean distinguishBorders

Class cc.mallet.pipe.tsf.TrieLexiconMembership extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name

ignoreCase

boolean ignoreCase

lexicon

cc.mallet.pipe.tsf.TrieLexiconMembership.TrieLexicon lexicon

Package cc.mallet.share.casutton.ner

Class cc.mallet.share.casutton.ner.ConllNer2003Sentence2TokenSequence extends Pipe implements Serializable

serialVersionUID: -7326674871670572522L

Serialized Fields

saveSource

boolean saveSource

doConjunctions

boolean doConjunctions

doTags

boolean doTags

doPhrases

boolean doPhrases

doSpelling

boolean doSpelling

doDigitCollapses

boolean doDigitCollapses

doDowncasing

boolean doDowncasing

Package cc.mallet.share.mccallum.ner

Class cc.mallet.share.mccallum.ner.ConllNer2003Sentence2TokenSequence extends Pipe implements Serializable

Serialized Fields

saveSource

boolean saveSource

doConjunctions

boolean doConjunctions

doTags

boolean doTags

doPhrases

boolean doPhrases

doSpelling

boolean doSpelling

doDigitCollapses

boolean doDigitCollapses

doDowncasing

boolean doDowncasing

Class cc.mallet.share.mccallum.ner.TokenSequenceDocHeader extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Package cc.mallet.share.upenn.ner

Class cc.mallet.share.upenn.ner.FeatureWindow extends Pipe implements Serializable

Serialized Fields

left

int left

right

int right

Class cc.mallet.share.upenn.ner.LengthBins extends Pipe implements Serializable

Serialized Fields

name

java.lang.String name

bins

int[] bins

binNames

java.lang.String[] binNames

Class cc.mallet.share.upenn.ner.ListMember extends Pipe implements Serializable

Serialized Fields

name

java.lang.String name

lexicon

java.util.Set<E> lexicon

ignoreCase

boolean ignoreCase

min

int min

max

int max

Class cc.mallet.share.upenn.ner.LongRegexMatches extends Pipe implements Serializable

Serialized Fields

name

java.lang.String name

regex

java.util.regex.Pattern regex

min

int min

max

int max

Class cc.mallet.share.upenn.ner.NEPipes extends SerialPipes implements Serializable


Package cc.mallet.share.weili.ner.enron

Class cc.mallet.share.weili.ner.enron.EnronMessage2TokenSequence extends Pipe implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

saveSource

boolean saveSource

headerPersonNames

java.util.HashSet<E> headerPersonNames

Package cc.mallet.topics

Class cc.mallet.topics.DMRTopicModel extends LDAHyper implements Serializable

serialVersionUID: 1L

Serialized Fields

dmrParameters

MaxEnt dmrParameters

numFeatures

int numFeatures

defaultFeatureIndex

int defaultFeatureIndex

parameterPipe

Pipe parameterPipe

alphaCache

double[][] alphaCache

alphaSumCache

double[] alphaSumCache

Class cc.mallet.topics.LDA extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deprecated. 
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Serialized Fields

numTopics

int numTopics
Deprecated. 

alpha

double alpha
Deprecated. 

beta

double beta
Deprecated. 

tAlpha

double tAlpha
Deprecated. 

vBeta

double vBeta
Deprecated. 

ilist

InstanceList ilist
Deprecated. 

topics

int[][] topics
Deprecated. 

numTypes

int numTypes
Deprecated. 

numTokens

int numTokens
Deprecated. 

docTopicCounts

int[][] docTopicCounts
Deprecated. 

typeTopicCounts

int[][] typeTopicCounts
Deprecated. 

tokensPerTopic

int[] tokensPerTopic
Deprecated. 

Class cc.mallet.topics.LDAHyper extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Deprecated. 
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Serialized Fields

data

java.util.ArrayList<E> data
Deprecated. 

alphabet

Alphabet alphabet
Deprecated. 

topicAlphabet

LabelAlphabet topicAlphabet
Deprecated. 

numTopics

int numTopics
Deprecated. 

numTypes

int numTypes
Deprecated. 

alpha

double[] alpha
Deprecated. 

alphaSum

double alphaSum
Deprecated. 

beta

double beta
Deprecated. 

betaSum

double betaSum
Deprecated. 

smoothingOnlyMass

double smoothingOnlyMass
Deprecated. 

cachedCoefficients

double[] cachedCoefficients
Deprecated. 

topicTermCount

int topicTermCount
Deprecated. 

betaTopicCount

int betaTopicCount
Deprecated. 

smoothingOnlyCount

int smoothingOnlyCount
Deprecated. 

testing

InstanceList testing
Deprecated. 

oneDocTopicCounts

int[] oneDocTopicCounts
Deprecated. 

typeTopicCounts

gnu.trove.TIntIntHashMap[] typeTopicCounts
Deprecated. 

tokensPerTopic

int[] tokensPerTopic
Deprecated. 

docLengthCounts

int[] docLengthCounts
Deprecated. 

topicDocCounts

int[][] topicDocCounts
Deprecated. 

iterationsSoFar

int iterationsSoFar
Deprecated. 

numIterations

int numIterations
Deprecated. 

burninPeriod

int burninPeriod
Deprecated. 

saveSampleInterval

int saveSampleInterval
Deprecated. 

optimizeInterval

int optimizeInterval
Deprecated. 

showTopicsInterval

int showTopicsInterval
Deprecated. 

wordsPerTopic

int wordsPerTopic
Deprecated. 

outputModelInterval

int outputModelInterval
Deprecated. 

outputModelFilename

java.lang.String outputModelFilename
Deprecated. 

saveStateInterval

int saveStateInterval
Deprecated. 

stateFilename

java.lang.String stateFilename
Deprecated. 

random

Randoms random
Deprecated. 

formatter

java.text.NumberFormat formatter
Deprecated. 

printLogLikelihood

boolean printLogLikelihood
Deprecated. 

Class cc.mallet.topics.LDAHyper.Topication extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

instance

Instance instance

model

LDAHyper model

topicSequence

LabelSequence topicSequence

topicDistribution

Labeling topicDistribution

Class cc.mallet.topics.LDAStream extends LDAHyper implements Serializable

Serialized Fields

test

java.util.ArrayList<E> test

Class cc.mallet.topics.MarginalProbEstimator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

numTopics

int numTopics

topicMask

int topicMask

topicBits

int topicBits

alpha

double[] alpha

alphaSum

double alphaSum

beta

double beta

betaSum

double betaSum

smoothingOnlyMass

double smoothingOnlyMass

cachedCoefficients

double[] cachedCoefficients

typeTopicCounts

int[][] typeTopicCounts

tokensPerTopic

int[] tokensPerTopic

random

Randoms random

Class cc.mallet.topics.NPTopicModel extends java.lang.Object implements Serializable

Serialized Fields

data

java.util.ArrayList<E> data

alphabet

Alphabet alphabet

topicAlphabet

LabelAlphabet topicAlphabet

maxTopic

int maxTopic

numTopics

int numTopics

numTypes

int numTypes

alpha

double alpha

gamma

double gamma

beta

double beta

betaSum

double betaSum

typeTopicCounts

gnu.trove.TIntIntHashMap[] typeTopicCounts

tokensPerTopic

gnu.trove.TIntIntHashMap tokensPerTopic

docsPerTopic

gnu.trove.TIntIntHashMap docsPerTopic

totalDocTopics

int totalDocTopics

showTopicsInterval

int showTopicsInterval

wordsPerTopic

int wordsPerTopic

random

Randoms random

formatter

java.text.NumberFormat formatter

printLogLikelihood

boolean printLogLikelihood

Class cc.mallet.topics.ParallelTopicModel extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

data

java.util.ArrayList<E> data

alphabet

Alphabet alphabet

topicAlphabet

LabelAlphabet topicAlphabet

numTopics

int numTopics

topicMask

int topicMask

topicBits

int topicBits

numTypes

int numTypes

totalTokens

int totalTokens

alpha

double[] alpha

alphaSum

double alphaSum

beta

double beta

betaSum

double betaSum

usingSymmetricAlpha

boolean usingSymmetricAlpha

typeTopicCounts

int[][] typeTopicCounts

tokensPerTopic

int[] tokensPerTopic

docLengthCounts

int[] docLengthCounts

topicDocCounts

int[][] topicDocCounts

numIterations

int numIterations

burninPeriod

int burninPeriod

saveSampleInterval

int saveSampleInterval

optimizeInterval

int optimizeInterval

temperingInterval

int temperingInterval

showTopicsInterval

int showTopicsInterval

wordsPerTopic

int wordsPerTopic

saveStateInterval

int saveStateInterval

stateFilename

java.lang.String stateFilename

saveModelInterval

int saveModelInterval

modelFilename

java.lang.String modelFilename

randomSeed

int randomSeed

formatter

java.text.NumberFormat formatter

printLogLikelihood

boolean printLogLikelihood

typeTotals

int[] typeTotals

maxTypeCount

int maxTypeCount

numThreads

int numThreads

Class cc.mallet.topics.PolylingualTopicModel extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

numLanguages

int numLanguages

data

java.util.ArrayList<E> data

topicAlphabet

LabelAlphabet topicAlphabet

numStopwords

int numStopwords

numTopics

int numTopics

testingIDs

java.util.HashSet<E> testingIDs

topicMask

int topicMask

topicBits

int topicBits

alphabets

Alphabet[] alphabets

vocabularySizes

int[] vocabularySizes

alpha

double[] alpha

alphaSum

double alphaSum

betas

double[] betas

betaSums

double[] betaSums

languageMaxTypeCounts

int[] languageMaxTypeCounts

languageSmoothingOnlyMasses

double[] languageSmoothingOnlyMasses

languageCachedCoefficients

double[][] languageCachedCoefficients

topicTermCount

int topicTermCount

betaTopicCount

int betaTopicCount

smoothingOnlyCount

int smoothingOnlyCount

oneDocTopicCounts

int[] oneDocTopicCounts

languageTypeTopicCounts

int[][][] languageTypeTopicCounts

languageTokensPerTopic

int[][] languageTokensPerTopic

docLengthCounts

int[] docLengthCounts

topicDocCounts

int[][] topicDocCounts

iterationsSoFar

int iterationsSoFar

numIterations

int numIterations

burninPeriod

int burninPeriod

saveSampleInterval

int saveSampleInterval

optimizeInterval

int optimizeInterval

showTopicsInterval

int showTopicsInterval

wordsPerTopic

int wordsPerTopic

saveModelInterval

int saveModelInterval

modelFilename

java.lang.String modelFilename

saveStateInterval

int saveStateInterval

stateFilename

java.lang.String stateFilename

random

Randoms random

formatter

java.text.NumberFormat formatter

printLogLikelihood

boolean printLogLikelihood

Class cc.mallet.topics.PolylingualTopicModel.TopicAssignment extends java.lang.Object implements Serializable

Serialized Fields

instances

Instance[] instances

topicSequences

LabelSequence[] topicSequences

topicDistribution

Labeling topicDistribution

Class cc.mallet.topics.SimpleLDA extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

data

java.util.ArrayList<E> data

alphabet

Alphabet alphabet

topicAlphabet

LabelAlphabet topicAlphabet

numTopics

int numTopics

numTypes

int numTypes

alpha

double alpha

alphaSum

double alphaSum

beta

double beta

betaSum

double betaSum

oneDocTopicCounts

int[] oneDocTopicCounts

typeTopicCounts

int[][] typeTopicCounts

tokensPerTopic

int[] tokensPerTopic

showTopicsInterval

int showTopicsInterval

wordsPerTopic

int wordsPerTopic

random

Randoms random

formatter

java.text.NumberFormat formatter

printLogLikelihood

boolean printLogLikelihood

Class cc.mallet.topics.TopicAssignment extends java.lang.Object implements Serializable

Serialized Fields

instance

Instance instance

topicSequence

LabelSequence topicSequence

topicDistribution

Labeling topicDistribution

Class cc.mallet.topics.TopicInferencer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

numTopics

int numTopics

topicMask

int topicMask

topicBits

int topicBits

numTypes

int numTypes

alpha

double[] alpha

beta

double beta

betaSum

double betaSum

typeTopicCounts

int[][] typeTopicCounts

tokensPerTopic

int[] tokensPerTopic

alphabet

Alphabet alphabet

random

Randoms random

smoothingOnlyMass

double smoothingOnlyMass

cachedCoefficients

double[] cachedCoefficients

Package cc.mallet.topics.tui

Class cc.mallet.topics.tui.DMRLoader extends java.lang.Object implements Serializable

serialVersionUID: 1L


Package cc.mallet.types

Class cc.mallet.types.Alphabet extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

readResolve

public java.lang.Object readResolve()
                             throws java.io.ObjectStreamException
This gets called after readObject; it lets the object decide whether to return itself or return a previously read in version. We use a hashMap of instanceIds to determine if we have already read in this object.

Throws:
java.io.ObjectStreamException
Serialized Fields

map

gnu.trove.TObjectIntHashMap<K> map

entries

java.util.ArrayList<E> entries

growthStopped

boolean growthStopped

entryClass

java.lang.Class<T> entryClass

instanceId

java.rmi.dgc.VMID instanceId

Class cc.mallet.types.ArrayListSequence extends java.util.ArrayList<E> implements Serializable

serialVersionUID: 1L

Class cc.mallet.types.AugmentableFeatureVector extends FeatureVector implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

size

int size

maxSortedIndex

int maxSortedIndex

Class cc.mallet.types.CrossValidationIterator extends java.lang.Object implements Serializable

serialVersionUID: 234516468015114991L

Serialized Fields

nfolds

int nfolds

folds

InstanceList[] folds

index

int index

Class cc.mallet.types.DenseMatrix extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

values

double[] values

hasInfinite

boolean hasInfinite

Class cc.mallet.types.DenseVector extends DenseMatrix implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.types.ExpGain extends RankedFeatureVector implements Serializable

Serialized Fields

usingHyperbolicPrior

boolean usingHyperbolicPrior

hyperbolicSlope

double hyperbolicSlope

hyperbolicSharpness

double hyperbolicSharpness

Class cc.mallet.types.FeatureConjunction extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

name

java.lang.String name

dictionary

Alphabet dictionary

features

int[] features

negations

boolean[] negations

index

int index

Class cc.mallet.types.FeatureConjunction.List extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

conjunctions

java.util.ArrayList<E> conjunctions

Class cc.mallet.types.FeatureCounts extends RankedFeatureVector implements Serializable

Class cc.mallet.types.FeatureInducer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

ranker

RankedFeatureVector.Factory ranker

perLabelRanker

RankedFeatureVector.PerLabelFactory perLabelRanker

beam1

int beam1

beam2

int beam2

fcl

FeatureConjunction.List fcl

Class cc.mallet.types.FeatureSelection extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

dictionary

Alphabet dictionary

selectedFeatures

java.util.BitSet selectedFeatures

Class cc.mallet.types.FeatureSequence extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

dictionary

Alphabet dictionary

features

int[] features

length

int length

Class cc.mallet.types.FeatureSequenceWithBigrams extends FeatureSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

biDictionary

Alphabet biDictionary

biFeatures

int[] biFeatures

Class cc.mallet.types.FeatureVector extends SparseVector implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

dictionary

Alphabet dictionary

Class cc.mallet.types.FeatureVectorSequence extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

sequence

FeatureVector[] sequence

alphabet

Alphabet alphabet

Class cc.mallet.types.GainRatio extends RankedFeatureVector implements Serializable

serialVersionUID: 1L

Serialized Fields

m_splitPoints

double[] m_splitPoints

m_baseEntropy

double m_baseEntropy

m_baseLabelDistribution

LabelVector m_baseLabelDistribution

m_numSplitPointsForBestFeature

int m_numSplitPointsForBestFeature

m_minNumInsts

int m_minNumInsts

Class cc.mallet.types.GradientGain extends RankedFeatureVector implements Serializable

Class cc.mallet.types.HashedSparseVector extends SparseVector implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

index2location

gnu.trove.TIntIntHashMap index2location

maxIndex

int maxIndex

Class cc.mallet.types.IndexedSparseVector extends SparseVector implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.types.InfoGain extends RankedFeatureVector implements Serializable

Serialized Fields

baseEntropy

double baseEntropy

baseLabelDistribution

LabelVector baseLabelDistribution

Class cc.mallet.types.Instance extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

data

java.lang.Object data

target

java.lang.Object target

name

java.lang.Object name

source

java.lang.Object source

properties

PropertyList properties

locked

boolean locked

Class cc.mallet.types.InstanceList extends java.util.ArrayList<Instance> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

instWeights

java.util.HashMap<K,V> instWeights

featureSelection

FeatureSelection featureSelection

perLabelFeatureSelection

FeatureSelection[] perLabelFeatureSelection

pipe

Pipe pipe

dataAlphabet

Alphabet dataAlphabet

targetAlphabet

Alphabet targetAlphabet

dataClass

java.lang.Class<T> dataClass

targetClass

java.lang.Class<T> targetClass

Class cc.mallet.types.InstanceList.CrossValidationIterator extends java.lang.Object implements Serializable

Serialized Fields

nfolds

int nfolds

folds

InstanceList[] folds

index

int index

Class cc.mallet.types.KLGain extends RankedFeatureVector implements Serializable

Class cc.mallet.types.Label extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

entry

java.lang.Object entry

dictionary

LabelAlphabet dictionary

index

int index

Class cc.mallet.types.LabelAlphabet extends Alphabet implements Serializable

Serialized Fields

labels

java.util.ArrayList<E> labels

Class cc.mallet.types.Labels extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

labels

Label[] labels

Class cc.mallet.types.LabelSequence extends FeatureSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.types.LabelsSequence extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

seq

Labels[] seq

Class cc.mallet.types.LabelVector extends RankedFeatureVector implements Serializable

Class cc.mallet.types.Matrix2 extends DenseMatrix implements Serializable

Serialized Fields

nr

int nr
Deprecated. 

nc

int nc
Deprecated. 

Class cc.mallet.types.Matrixn extends DenseMatrix implements Serializable

serialVersionUID: 7963668115823191655L

Serialized Fields

numDimensions

int numDimensions

sizes

int[] sizes

Class cc.mallet.types.MultiInstanceList extends InstanceList implements Serializable

serialVersionUID: -7177121200386974657L

Serialized Fields

lists

InstanceList[] lists

offsets

int[] offsets

Class cc.mallet.types.Multinomial extends FeatureVector implements Serializable

serialVersionUID: 1L

Class cc.mallet.types.Multinomial.Estimator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

dictionary

Alphabet dictionary

counts

double[] counts

size

int size

Class cc.mallet.types.Multinomial.LaplaceEstimator extends Multinomial.MEstimator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.types.Multinomial.Logged extends Multinomial implements Serializable

serialVersionUID: 1L

Class cc.mallet.types.Multinomial.MAPEstimator extends Multinomial.Estimator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

prior

Dirichlet prior

Class cc.mallet.types.Multinomial.MEstimator extends Multinomial.Estimator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

m

double m

Class cc.mallet.types.Multinomial.MLEstimator extends Multinomial.MEstimator implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException

Class cc.mallet.types.PagedInstanceList extends InstanceList implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

instancesPerPage

int instancesPerPage
number of instances to put in one page


swapDir

java.io.File swapDir
directory to store swap files


inMemoryPageIds

int[] inMemoryPageIds
array of page numbers that represent the in-memory pages


inMemoryPages

InstanceList[] inMemoryPages
array of instance lists that represent the in-memory pages


dirty

java.util.BitSet dirty
dirty.get(i) == true if in-memory bin i is dirty


size

int size
Total number of instances in list, including those swapped out


collectGarbage

boolean collectGarbage
recommend garbage collection after every swap out?


swapIns

int swapIns
Total number of swap-ins


swapInTime

long swapInTime
Total time spent in swap-ins


swapOuts

int swapOuts
Total number of swap-outs


swapOutTime

long swapOutTime
Total time spent in swap-ins


id

java.rmi.dgc.VMID id
uniquely identifies this InstanceList. Used in creating serialized page name for swap files.


noopPipe

Pipe noopPipe
Avoids creating a new noop pipe for each page

Class cc.mallet.types.PartiallyRankedFeatureVector extends RankedFeatureVector implements Serializable

Serialized Fields

numRanked

int numRanked

Class cc.mallet.types.RankedFeatureVector extends FeatureVector implements Serializable

Serialized Fields

rankOrder

int[] rankOrder

sortedTo

int sortedTo

Class cc.mallet.types.ROCData extends java.lang.Object implements Serializable

serialVersionUID: -2060194953037720640L

Serialized Fields

labelAlphabet

LabelAlphabet labelAlphabet

counts

int[][][] counts
Matrix of class, threshold, [tp, fp, fn, tn]


thresholds

double[] thresholds

Class cc.mallet.types.SparseMatrixn extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

values

SparseVector values

numDimensions

int numDimensions

sizes

int[] sizes

singleSize

int singleSize

Class cc.mallet.types.SparseVector extends java.lang.Object implements Serializable

serialVersionUID: 2L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

indices

int[] indices
If the vector is sparse, then both indices and values are sparse. Indices into these arrays are called ``locations'' in the below. The indices[] array maps locations to indices of the (virtual) dense array that's being represented. value[] maps locations to values.


values

double[] values

hasInfinite

boolean hasInfinite

Class cc.mallet.types.StringEditFeatureVectorSequence extends FeatureVectorSequence implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

string1Length

int string1Length

string2Length

int string2Length

string1

java.lang.String string1

string2

java.lang.String string2

string1Blocks

java.lang.String[] string1Blocks

string2Blocks

java.lang.String[] string2Blocks

string1Present

gnu.trove.TObjectIntHashMap<K> string1Present

string2Present

gnu.trove.TObjectIntHashMap<K> string2Present

lexicon

gnu.trove.TObjectIntHashMap<K> lexicon

block1Indices

int[] block1Indices

block2Indices

int[] block2Indices

delim

char delim

Class cc.mallet.types.StringEditVector extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

_delimiter

java.lang.String _delimiter

_string1

java.lang.String _string1

_string2

java.lang.String _string2

_match

int _match

Class cc.mallet.types.StringKernel extends java.util.LinkedHashMap implements Serializable

Serialized Fields

normalizeCase

boolean normalizeCase

lambda

double lambda

n

int n

cache

boolean cache

Class cc.mallet.types.Token extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

text

java.lang.String text

properties

PropertyList properties

features

PropertyList features

Class cc.mallet.types.TokenSequence extends java.util.ArrayList<Token> implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

properties

PropertyList properties

Package cc.mallet.util

Class cc.mallet.util.CharSequenceLexer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

regex

java.util.regex.Pattern regex

matcher

java.util.regex.Matcher matcher

input

java.lang.CharSequence input

matchText

java.lang.String matchText

matchTextFresh

boolean matchTextFresh

Class cc.mallet.util.DoubleList extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

data

double[] data

size

int size

Class cc.mallet.util.ProgressMessageLogRecord extends java.util.logging.LogRecord implements Serializable

Class cc.mallet.util.PropertyList extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

next

PropertyList next

key

java.lang.String key

Class cc.mallet.util.PropertyList.Iterator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

property

PropertyList property

nextProperty

PropertyList nextProperty

deletedKeys

java.util.HashSet<E> deletedKeys

nextCalled

boolean nextCalled

returnNumeric

boolean returnNumeric

returnObject

boolean returnObject

Class cc.mallet.util.PropertyList.NumericIterator extends PropertyList.Iterator implements Serializable

Class cc.mallet.util.PropertyList.ObjectIterator extends PropertyList.Iterator implements Serializable

Class cc.mallet.util.Randoms extends java.util.Random implements Serializable

Serialized Fields

nextGaussian

double nextGaussian

haveNextGaussian

boolean haveNextGaussian