cc.mallet.fst.confidence
Class SequenceConfidenceInstance

java.lang.Object
  extended by cc.mallet.fst.confidence.SequenceConfidenceInstance

public class SequenceConfidenceInstance
extends java.lang.Object

Stores a Sequence and a PropertyList, used when extracting features from a Sequence in a pipe for confidence prediction


Constructor Summary
SequenceConfidenceInstance(Instance inst)
           
 
Method Summary
 PropertyList getFeatures()
           
 double getFeatureValue(java.lang.String key)
           
 Instance getInstance()
           
 boolean hasFeature(java.lang.String key)
           
 void setFeatureValue(java.lang.String key, double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)