cc.mallet.pipe
Class TokenSequence2TokenInstances
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.TokenSequence2TokenInstances
-
- All Implemented Interfaces:
- AlphabetCarrying, java.io.Serializable
public class TokenSequence2TokenInstances extends Pipe
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TokenSequence2TokenInstances()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and 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, 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:PipeGiven 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:
newIteratorFromin classPipe
-
-
DataMelt 3.0 © DataMelt by jWork.ORG