Package cc.mallet.fst.confidence
Class SequenceConfidenceInstance
- java.lang.Object
-
- cc.mallet.fst.confidence.SequenceConfidenceInstance
-
public class SequenceConfidenceInstance extends java.lang.Object
Stores aSequence
and a PropertyList, used when extracting features from a Sequence in a pipe for confidence prediction
-
-
Constructor Summary
Constructors Constructor Description SequenceConfidenceInstance(Instance inst)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyList
getFeatures()
double
getFeatureValue(java.lang.String key)
Instance
getInstance()
boolean
hasFeature(java.lang.String key)
void
setFeatureValue(java.lang.String key, double value)
-
-
-
Constructor Detail
-
SequenceConfidenceInstance
public SequenceConfidenceInstance(Instance inst)
-
-
Method Detail
-
getInstance
public Instance getInstance()
-
getFeatures
public PropertyList getFeatures()
-
setFeatureValue
public void setFeatureValue(java.lang.String key, double value)
-
hasFeature
public boolean hasFeature(java.lang.String key)
-
getFeatureValue
public double getFeatureValue(java.lang.String key)
-
-