Package cc.mallet.pipe
Class Target2Label
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.Target2Label
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class Target2Label extends Pipe
Convert object in the target field into a label in the target field.- Author:
- Andrew McCallum mccallum@cs.umass.edu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Target2Label()
Target2Label(Alphabet dataAlphabet, LabelAlphabet labelAlphabet)
Target2Label(LabelAlphabet labelAlphabet)
-
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
-
Target2Label
public Target2Label(Alphabet dataAlphabet, LabelAlphabet labelAlphabet)
-
Target2Label
public Target2Label()
-
Target2Label
public Target2Label(LabelAlphabet labelAlphabet)
-
-