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