| Modifier and Type | Method and Description |
|---|---|
Alphabet |
Classifier.getAlphabet() |
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
Extractor.getInputAlphabet()
Returns an alphabet of the features used by the extractor.
|
Alphabet |
CRFExtractor.getInputAlphabet() |
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
HMM.getInputAlphabet() |
Alphabet |
FeatureTransducer.getInputAlphabet() |
Alphabet |
CRFByGISUpdate.getInputAlphabet()
Create a new CRF sharing Alphabet and other attributes, but possibly
having a larger weights array.
|
Alphabet |
CRF4.getInputAlphabet() |
Alphabet |
CRF3.getInputAlphabet()
Create a new CRF sharing Alphabet and other attributes, but possibly
having a larger weights array.
|
Alphabet |
CRF2.getInputAlphabet()
Create a new CRF sharing Alphabet and other attributes, but possibly
having a larger weights array.
|
Alphabet |
CRF.getInputAlphabet() |
Alphabet |
HMM.getOutputAlphabet() |
Alphabet |
FeatureTransducer.getOutputAlphabet() |
Alphabet |
CRFByGISUpdate.getOutputAlphabet() |
Alphabet |
CRF4.getOutputAlphabet() |
Alphabet |
CRF3.getOutputAlphabet() |
Alphabet |
CRF2.getOutputAlphabet() |
Alphabet |
CRF.getOutputAlphabet() |
| Constructor and Description |
|---|
CRF(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
CRF2(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
CRF3(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
CRF4(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
CRFByGISUpdate(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
FeatureTransducer(Alphabet dictionary) |
FeatureTransducer(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
HMM(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
MEMM(Alphabet inputAlphabet,
Alphabet outputAlphabet) |
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
TokenSequence2FeatureSequenceWithBigrams.getBigramAlphabet() |
Alphabet |
Pipe.getDataAlphabet() |
Alphabet |
AddClassifierTokenPredictions.getDataAlphabet() |
Alphabet |
Pipe.getTargetAlphabet() |
protected Alphabet |
SerialPipes.resolveDataAlphabet() |
protected Alphabet |
Pipe.resolveDataAlphabet() |
protected Alphabet |
ParallelPipes.resolveDataAlphabet() |
protected Alphabet |
IteratingPipe.resolveDataAlphabet() |
protected Alphabet |
SerialPipes.resolveTargetAlphabet() |
protected Alphabet |
Pipe.resolveTargetAlphabet() |
protected Alphabet |
ParallelPipes.resolveTargetAlphabet() |
protected Alphabet |
IteratingPipe.resolveTargetAlphabet() |
| Modifier and Type | Method and Description |
|---|---|
AugmentableFeatureVectorAddConjunctions |
AugmentableFeatureVectorAddConjunctions.addConjunction(String name,
Alphabet v,
int[] features,
boolean[] negations) |
void |
Pipe.setDataAlphabet(Alphabet dDict) |
void |
Pipe.setTargetAlphabet(Alphabet tDict) |
| Constructor and Description |
|---|
Array2FeatureVector(Alphabet dataDict,
Alphabet targetDict)
Construct a pipe based on the dimensions of the data and target.
|
FeatureValueString2FeatureVector(Alphabet dataDict) |
Noop(Alphabet dataDict,
Alphabet targetDict) |
Pipe(Alphabet dataDict,
Alphabet targetDict)
Construct pipe with data and target dictionaries.
|
Token2FeatureVector(Alphabet dataDict) |
Token2FeatureVector(Alphabet dataDict,
boolean binary,
boolean augmentable) |
TokenSequence2FeatureSequence(Alphabet dataDict) |
TokenSequence2FeatureSequenceWithBigrams(Alphabet dataDict) |
TokenSequence2FeatureVectorSequence(Alphabet dataDict) |
TokenSequence2FeatureVectorSequence(Alphabet dataDict,
boolean binary,
boolean augmentable) |
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
RandomTokenSequenceIterator.getAlphabet() |
Alphabet |
RandomFeatureVectorIterator.getAlphabet() |
| Constructor and Description |
|---|
RandomFeatureVectorIterator(Random r,
Alphabet vocab,
String[] classnames) |
RandomTokenSequenceIterator(Random r,
Alphabet vocab,
String[] classnames) |
| Modifier and Type | Class and Description |
|---|---|
class |
LabelAlphabet
A mapping from arbitrary objects (usually String's) to integers
(and corresponding Label objects) and back.
|
| Modifier and Type | Method and Description |
|---|---|
Alphabet |
Multinomial.getAlphabet() |
Alphabet |
Label.getAlphabet() |
Alphabet |
FeatureVector.getAlphabet() |
Alphabet |
FeatureSequence.getAlphabet() |
Alphabet |
FeatureSelection.getAlphabet() |
Alphabet |
Dirichlet.getAlphabet() |
Alphabet |
DenseFeatureVector.getAlphabet() |
Alphabet |
FeatureSequenceWithBigrams.getBiAlphabet() |
Alphabet |
InstanceList.getDataAlphabet()
Returns the
Alphabet mapping features of the data to
integers. |
Alphabet |
InstanceList.Stream.getDataAlphabet() |
Alphabet |
InstanceList.getTargetAlphabet()
Returns the
Alphabet mapping target output labels to
integers. |
Alphabet |
InstanceList.Stream.getTargetAlphabet() |
| Modifier and Type | Method and Description |
|---|---|
static FeatureSelection |
FeatureSelection.createFromRegex(Alphabet dictionary,
Pattern regex)
Creates a FeatureSelection that includes only those features whose names match a given regex.
|
static boolean |
FeatureConjunction.featuresOverlap(Alphabet dictionary,
int feature1,
int feature2) |
static int[] |
FeatureConjunction.getFeatureIndices(Alphabet dictionary,
String featureConjunctionName) |
static String |
FeatureConjunction.getName(Alphabet dictionary,
int[] features) |
static String |
FeatureConjunction.getName(Alphabet dictionary,
int[] features,
boolean[] negations) |
static String |
FeatureConjunction.getName(Alphabet dictionary,
int feature1,
int feature2) |
static int[] |
FeatureVector.getObjectIndices(Object[] entries,
Alphabet dict,
boolean addIfNotPresent) |
void |
Multinomial.Estimator.setAlphabet(Alphabet d) |
FeatureSequence |
TokenSequence.toFeatureSequence(Alphabet dict) |
FeatureVector |
TokenSequence.toFeatureVector(Alphabet dict) |
FeatureVector |
Token.toFeatureVector(Alphabet dict,
boolean binary) |
FeatureVector |
PropertyHolder.toFeatureVector(Alphabet dict,
boolean binary) |
| Constructor and Description |
|---|
AugmentableFeatureVector(Alphabet dict) |
AugmentableFeatureVector(Alphabet dict,
boolean binary) |
AugmentableFeatureVector(Alphabet dict,
double[] values) |
AugmentableFeatureVector(Alphabet dict,
double[] values,
int capacity) |
AugmentableFeatureVector(Alphabet dict,
int[] indices,
double[] values,
int capacity) |
AugmentableFeatureVector(Alphabet dict,
int[] indices,
double[] values,
int capacity,
boolean copy) |
AugmentableFeatureVector(Alphabet dict,
int[] indices,
double[] values,
int capacity,
boolean copy,
boolean checkIndicesSorted) |
AugmentableFeatureVector(Alphabet dict,
int[] indices,
double[] values,
int capacity,
int size,
boolean copy,
boolean checkIndicesSorted,
boolean removeDuplicates)
To make a binary vector, pass null for "values"
|
AugmentableFeatureVector(Alphabet dict,
int capacity,
boolean binary) |
AugmentableFeatureVector(Alphabet dict,
PropertyList pl,
boolean binary) |
AugmentableFeatureVector(Alphabet dict,
PropertyList pl,
boolean binary,
boolean growAlphabet) |
DenseFeatureVector(Alphabet dict,
double[] values) |
Dirichlet(Alphabet dict) |
Dirichlet(Alphabet dict,
double alpha) |
Dirichlet(double[] alphas,
Alphabet dict) |
Estimator(Alphabet dictionary) |
Estimator(double[] counts,
Alphabet dictionary) |
Estimator(double[] counts,
int size,
Alphabet dictionary) |
FeatureConjunction(Alphabet dictionary,
int[] features) |
FeatureConjunction(Alphabet dictionary,
int[] features,
boolean[] negations) |
FeatureConjunction(String name,
Alphabet dictionary,
int[] features,
boolean[] negations) |
FeatureConjunction(String name,
Alphabet dictionary,
int[] features,
boolean[] negations,
boolean checkSorted) |
FeatureConjunction(String name,
Alphabet dictionary,
int[] features,
boolean[] negations,
boolean checkSorted,
boolean copyFeatures,
boolean copyNegations)
If negations[i] is true, insist that the feature has non-zero
value; if false, insist that it has zero value.
|
FeatureCounts(Alphabet vocab,
double[] counts) |
FeatureSelection(Alphabet dictionary) |
FeatureSelection(Alphabet dictionary,
BitSet selectedFeatures) |
FeatureSequence(Alphabet dict) |
FeatureSequence(Alphabet dict,
int capacity) |
FeatureSequence(Alphabet dict,
int[] features)
Creates a FeatureSequence given all of the objects in the
sequence.
|
FeatureSequence(Alphabet dict,
int[] features,
int len) |
FeatureSequenceWithBigrams(Alphabet dict,
Alphabet bigramDictionary,
TokenSequence ts) |
FeatureVector(Alphabet dict,
double[] values)
Create a dense vector
|
FeatureVector(Alphabet dict,
int[] featureIndices)
Create binary vector
|
FeatureVector(Alphabet dict,
int[] featureIndices,
double[] values)
Create non-binary vector, possibly dense if "featureIndices" or possibly sparse, if not
|
FeatureVector(Alphabet dict,
int[] indices,
double[] values,
int capacity,
int size,
boolean copy,
boolean checkIndicesSorted,
boolean removeDuplicates) |
FeatureVector(Alphabet dict,
Object[] keys,
double[] values) |
FeatureVector(Alphabet dict,
PropertyList pl,
boolean binary) |
FeatureVector(Alphabet dict,
PropertyList pl,
boolean binary,
boolean growAlphabet) |
FeatureVector(FeatureVector fv,
Alphabet newVocab,
FeatureSelection fsNarrow,
FeatureSelection fsWide) |
FeatureVector(FeatureVector fv,
Alphabet newVocab,
int[] conjunctions)
New feature vector containing all the features of "fv", plus new
features created by making conjunctions between the features in
"conjunctions" and all the other features.
|
FeatureVectorSequence(Alphabet dict,
TokenSequence tokens) |
FeatureVectorSequence(Alphabet dict,
TokenSequence tokens,
boolean binary,
boolean augmentable) |
FeatureVectorSequence(Alphabet dict,
TokenSequence tokens,
boolean binary,
boolean augmentable,
boolean growAlphabet) |
GainRatio(Alphabet dataAlphabet,
double[] gainRatios,
double[] splitPoints,
double baseEntropy,
LabelVector baseLabelDistribution,
int numSplitPointsForBestFeature,
int minNumInsts) |
InfoGain(Alphabet vocab,
double[] infogains) |
InstanceList(Alphabet dataVocab,
Alphabet targetVocab)
Creates a list which will not pass added instances through a pipe.
|
InstanceList(Random r,
Alphabet vocab,
String[] classNames,
int meanInstancesPerLabel) |
LabelSequence(Alphabet dict) |
LaplaceEstimator(Alphabet dictionary) |
Logged(double[] probabilities,
Alphabet dictionary) |
Logged(double[] probabilities,
Alphabet dictionary,
boolean areLoggedAlready) |
Logged(double[] probabilities,
Alphabet dictionary,
int size) |
Logged(double[] probabilities,
Alphabet dictionary,
int size,
boolean areLoggedAlready) |
MEstimator(Alphabet dictionary,
double m) |
MLEstimator(Alphabet dictionary) |
Multinomial(double[] probabilities,
Alphabet dictionary) |
Multinomial(double[] probabilities,
Alphabet dictionary,
int size,
boolean copy,
boolean checkSum) |
PartiallyRankedFeatureVector(Alphabet dict,
AugmentableFeatureVector v) |
PartiallyRankedFeatureVector(Alphabet dict,
DenseVector v) |
PartiallyRankedFeatureVector(Alphabet dict,
double[] values) |
PartiallyRankedFeatureVector(Alphabet dict,
int[] indices,
double[] values) |
PartiallyRankedFeatureVector(Alphabet dict,
SparseVector v) |
RankedFeatureVector(Alphabet dict,
AugmentableFeatureVector v) |
RankedFeatureVector(Alphabet dict,
DenseVector v) |
RankedFeatureVector(Alphabet dict,
double[] values) |
RankedFeatureVector(Alphabet dict,
int[] indices,
double[] values) |
RankedFeatureVector(Alphabet dict,
SparseVector v) |
SparseVector(Alphabet dict,
PropertyList pl,
boolean binary) |
SparseVector(Alphabet dict,
PropertyList pl,
boolean binary,
boolean growAlphabet) |
| Constructor and Description |
|---|
MentionPair2FeatureVector(Alphabet dataDict) |
MentionPair2FeatureVectorFilter(Alphabet dataDict) |
| Constructor and Description |
|---|
NodeClusterPair2FeatureVector(Alphabet dataDict) |
VenuePaperCluster2FeatureVector(Alphabet dataDict) |
| Constructor and Description |
|---|
SGMLStringDistances(Alphabet dataDict) |
StringDistances(Alphabet dataDict) |
Copyright © 2019 JULIE Lab, Germany. All rights reserved.