Package cc.mallet.pipe
Class TokenSequence2FeatureSequence
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.TokenSequence2FeatureSequence
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class TokenSequence2FeatureSequence extends Pipe
Convert the token sequence in the data field each instance to a feature sequence.- Author:
- Andrew McCallum mccallum@cs.umass.edu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenSequence2FeatureSequence()
TokenSequence2FeatureSequence(Alphabet dataDict)
-
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
-
TokenSequence2FeatureSequence
public TokenSequence2FeatureSequence(Alphabet dataDict)
-
TokenSequence2FeatureSequence
public TokenSequence2FeatureSequence()
-
-