Package cc.mallet.pipe
Class FilterEmptyFeatureVectors
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.FilterEmptyFeatureVectors
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class FilterEmptyFeatureVectors extends Pipe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FilterEmptyFeatureVectors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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'sskipIfFalse(Instance)
method.- Overrides:
newIteratorFrom
in classPipe
-
-