cc.mallet.pipe
Class FilterEmptyFeatureVectors

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

public class FilterEmptyFeatureVectors
extends Pipe

See Also:
Serialized Form

Constructor Summary
FilterEmptyFeatureVectors()
           
 
Method Summary
 java.util.Iterator<Instance> newIteratorFrom(java.util.Iterator<Instance> source)
          Given an InstanceIterator, return a new InstanceIterator whose instances have also been processed by this pipe.
 
Methods inherited from class cc.mallet.pipe.Pipe
alphabetsMatch, getAlphabet, getAlphabets, getDataAlphabet, getInstanceId, getTargetAlphabet, instanceFrom, instancesFrom, instancesFrom, isDataAlphabetSet, isTargetProcessing, pipe, 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

FilterEmptyFeatureVectors

public FilterEmptyFeatureVectors()
Method Detail

newIteratorFrom

public java.util.Iterator<Instance> newIteratorFrom(java.util.Iterator<Instance> source)
Description copied from class: Pipe
Given an InstanceIterator, return a new InstanceIterator whose instances have also been processed by this pipe. If you override this method, be sure to check and obey this pipe's skipIfFalse(Instance) method.

Overrides:
newIteratorFrom in class Pipe