Package cc.mallet.pipe
Class Noop
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.Noop
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class Noop extends Pipe implements java.io.Serializable
A pipe that does nothing to the instance fields but which has side effects on the dictionary.- Author:
- Andrew McCallum mccallum@cs.umass.edu
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
Noop
public Noop()
-
Noop
public Noop(Alphabet dataDict, Alphabet targetDict)
Pass through input without change, but force the creation of Alphabet's, so it can be shared by future DictionariedPipe's. You might want to use this before ParallelPipes where the previous pipes do not need dictionaries, but later steps in each parallel path do, and they all must share the same dictionary.
-
-