cc.mallet.pipe
Class FeatureSequence2FeatureVector

java.lang.Object
  extended by cc.mallet.pipe.Pipe
      extended by cc.mallet.pipe.FeatureSequence2FeatureVector
All Implemented Interfaces:
AlphabetCarrying, java.io.Serializable

public class FeatureSequence2FeatureVector
extends Pipe
implements java.io.Serializable

Convert the data field from a feature sequence to a feature vector.

See Also:
Serialized Form

Constructor Summary
FeatureSequence2FeatureVector()
           
FeatureSequence2FeatureVector(boolean binary)
           
 
Method Summary
 Instance pipe(Instance carrier)
          Really this should be 'protected', but isn't for historical reasons.
 
Methods inherited from class cc.mallet.pipe.Pipe
alphabetsMatch, getAlphabet, getAlphabets, getDataAlphabet, getInstanceId, getTargetAlphabet, instanceFrom, instancesFrom, instancesFrom, isDataAlphabetSet, isTargetProcessing, newIteratorFrom, preceedingPipeDataAlphabetNotification, preceedingPipeTargetAlphabetNotification, precondition, readResolve, setDataAlphabet, setOrCheckDataAlphabet, setOrCheckTargetAlphabet, setTargetAlphabet, setTargetProcessing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureSequence2FeatureVector

public FeatureSequence2FeatureVector(boolean binary)

FeatureSequence2FeatureVector

public FeatureSequence2FeatureVector()
Method Detail

pipe

public Instance pipe(Instance carrier)
Description copied from class: Pipe
Really this should be 'protected', but isn't for historical reasons.

Overrides:
pipe in class Pipe