Uses of Class
cc.mallet.types.LabelAlphabet
-
Packages that use LabelAlphabet Package Description cc.mallet.classify Classes for training and classifying instances.cc.mallet.extract Unimplemented.cc.mallet.fst Transducers, including Conditional Random Fields (CRFs).cc.mallet.fst.semi_supervised.pr cc.mallet.pipe Classes for processing arbitrary data into instances.cc.mallet.pipe.iterator Classes that generate instances from different kinds of input or data structures.cc.mallet.topics cc.mallet.types Fundamental MALLET types, including FeatureVector, Instance, Label etc. -
-
Uses of LabelAlphabet in cc.mallet.classify
Methods in cc.mallet.classify that return LabelAlphabet Modifier and Type Method Description LabelAlphabet
Classifier. getLabelAlphabet()
-
Uses of LabelAlphabet in cc.mallet.extract
Methods in cc.mallet.extract that return LabelAlphabet Modifier and Type Method Description LabelAlphabet
Extraction. getLabelAlphabet()
LabelAlphabet
CRFExtractor. getTargetAlphabet()
LabelAlphabet
Extractor. getTargetAlphabet()
Returns an alphabet of the labels used by the extractor.Methods in cc.mallet.extract with parameters of type LabelAlphabet Modifier and Type Method Description LabeledSpans
BIOTokenizationFilter. constructLabeledSpans(LabelAlphabet dict, java.lang.Object document, Label backgroundTag, Tokenization input, Sequence seq)
LabeledSpans
ConfidenceTokenizationFilter. constructLabeledSpans(LabelAlphabet dict, java.lang.Object document, Label backgroundTag, Tokenization input, Sequence seq)
LabeledSpans
DefaultTokenizationFilter. constructLabeledSpans(LabelAlphabet dict, java.lang.Object document, Label backgroundTag, Tokenization input, Sequence seq)
LabeledSpans
HierarchicalTokenizationFilter. constructLabeledSpans(LabelAlphabet dict, java.lang.Object document, Label backgroundTag, Tokenization input, Sequence seq)
LabeledSpans
TokenizationFilter. constructLabeledSpans(LabelAlphabet dict, java.lang.Object document, Label backgroundTag, Tokenization input, Sequence seq)
Converts a the sequence of labels into a set of labeled spans.Constructors in cc.mallet.extract with parameters of type LabelAlphabet Constructor Description DocumentExtraction(java.lang.String name, LabelAlphabet dict, Tokenization input, LabeledSpans predictedSpans, LabeledSpans trueSpans, java.lang.String background)
DocumentExtraction(java.lang.String name, LabelAlphabet dict, Tokenization input, Sequence predicted, Sequence target, java.lang.String background)
DocumentExtraction(java.lang.String name, LabelAlphabet dict, Tokenization input, Sequence predicted, Sequence target, java.lang.String background, TokenizationFilter filter)
DocumentExtraction(java.lang.String name, LabelAlphabet dict, Tokenization input, Sequence predicted, java.lang.String background)
Extraction(Extractor extractor, LabelAlphabet dict)
Creates an empty Extraction option.Extraction(Extractor extractor, LabelAlphabet dict, java.lang.String name, Tokenization input, Sequence output, java.lang.String background)
Creates an extration given a sequence output by some kind of per-sequece labeler, like an HMM or a CRF. -
Uses of LabelAlphabet in cc.mallet.fst
Methods in cc.mallet.fst with parameters of type LabelAlphabet Modifier and Type Method Description SumLattice
SumLatticeBeam.Factory. newSumLattice(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
SumLattice
SumLatticeDefault.Factory. newSumLattice(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
abstract SumLattice
SumLatticeFactory. newSumLattice(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
Returns a SumLattice object to run forward-backward.SumLattice
SumLatticeFactory. newSumLattice(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, LabelAlphabet outputAlphabet)
SumLattice
SumLatticeScaling.Factory. newSumLattice(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
Constructors in cc.mallet.fst with parameters of type LabelAlphabet Constructor Description SumLatticeBeam(Transducer t, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
SumLatticeBeam(Transducer t, Sequence input, Sequence output, Transducer.Incrementor incrementor, LabelAlphabet outputAlphabet, int[] constraints)
Create a lattice that constrains its transitions such that thepairs in "constraints" are adhered to. SumLatticeConstrained(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, LabelAlphabet outputAlphabet, int[] constraints)
Create a lattice that constrains its transitions such that thepairs in "constraints" are adhered to. SumLatticeDefault(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
SumLatticeDefault(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, LabelAlphabet outputAlphabet)
SumLatticeScaling(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
SumLatticeScaling(Transducer trans, Sequence input, Sequence output, Transducer.Incrementor incrementor, LabelAlphabet outputAlphabet)
-
Uses of LabelAlphabet in cc.mallet.fst.semi_supervised.pr
Constructors in cc.mallet.fst.semi_supervised.pr with parameters of type LabelAlphabet Constructor Description SumLatticeDefaultCachedDot(Transducer trans, Sequence input, Sequence output, double[][][] cachedDots, Transducer.Incrementor incrementor, boolean saveXis, LabelAlphabet outputAlphabet)
SumLatticePR(Transducer trans, int index, Sequence input, Sequence output, PRAuxiliaryModel auxModel, double[][][] cachedDots, boolean incrementConstraints, Transducer.Incrementor incrementor, LabelAlphabet outputAlphabet, boolean saveXis)
-
Uses of LabelAlphabet in cc.mallet.pipe
Constructors in cc.mallet.pipe with parameters of type LabelAlphabet Constructor Description Target2Label(Alphabet dataAlphabet, LabelAlphabet labelAlphabet)
Target2Label(LabelAlphabet labelAlphabet)
-
Uses of LabelAlphabet in cc.mallet.pipe.iterator
Methods in cc.mallet.pipe.iterator that return LabelAlphabet Modifier and Type Method Description LabelAlphabet
RandomFeatureVectorIterator. getLabelAlphabet()
-
Uses of LabelAlphabet in cc.mallet.topics
Fields in cc.mallet.topics declared as LabelAlphabet Modifier and Type Field Description protected LabelAlphabet
LabeledLDA. topicAlphabet
protected LabelAlphabet
LDAHyper. topicAlphabet
Deprecated.protected LabelAlphabet
NPTopicModel. topicAlphabet
LabelAlphabet
ParallelTopicModel. topicAlphabet
protected LabelAlphabet
PolylingualTopicModel. topicAlphabet
protected LabelAlphabet
SimpleLDA. topicAlphabet
protected LabelAlphabet
WeightedTopicModel. topicAlphabet
Methods in cc.mallet.topics that return LabelAlphabet Modifier and Type Method Description LabelAlphabet
LabeledLDA. getTopicAlphabet()
LabelAlphabet
LDAHyper. getTopicAlphabet()
Deprecated.LabelAlphabet
ParallelTopicModel. getTopicAlphabet()
LabelAlphabet
PolylingualTopicModel. getTopicAlphabet()
LabelAlphabet
SimpleLDA. getTopicAlphabet()
LabelAlphabet
WeightedTopicModel. getTopicAlphabet()
Constructors in cc.mallet.topics with parameters of type LabelAlphabet Constructor Description LDAHyper(LabelAlphabet topicAlphabet, double alphaSum, double beta, Randoms random)
Deprecated.LDAStream(LabelAlphabet topicAlphabet, double alphaSum, double beta, Randoms random)
ParallelTopicModel(LabelAlphabet topicAlphabet, double alphaSum, double beta)
PolylingualTopicModel(LabelAlphabet topicAlphabet, double alphaSum, Randoms random)
SimpleLDA(LabelAlphabet topicAlphabet, double alphaSum, double beta, Randoms random)
-
Uses of LabelAlphabet in cc.mallet.types
Methods in cc.mallet.types that return LabelAlphabet Modifier and Type Method Description LabelAlphabet
Label. getLabelAlphabet()
LabelAlphabet
Labeling. getLabelAlphabet()
LabelAlphabet
LabelSequence. getLabelAlphabet()
LabelAlphabet
LabelVector. getLabelAlphabet()
LabelAlphabet
ROCData. getLabelAlphabet()
Gets the label alphabetstatic LabelAlphabet
AlphabetFactory. labelAlphabetOfSize(int n)
Create a dummy label alphabet withn
dimensionsConstructors in cc.mallet.types with parameters of type LabelAlphabet Constructor Description LabelSequence(LabelAlphabet dict, int capacity)
LabelSequence(LabelAlphabet dict, int[] features)
LabelVector(LabelAlphabet dict, double[] values)
LabelVector(LabelAlphabet dict, int[] features, double[] values)
NullLabel(LabelAlphabet alphabet)
ROCData(double[] thresholds, LabelAlphabet labelAlphabet)
Constructs a new object
-