Package cc.mallet.pipe
Class Token2FeatureVector
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.pipe.Token2FeatureVector
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class Token2FeatureVector extends Pipe implements java.io.Serializable
convert the property list on a token into a feature vector- Author:
- Andrew McCallum mccallum@cs.umass.edu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Token2FeatureVector()
Token2FeatureVector(boolean binary, boolean augmentable)
Token2FeatureVector(Alphabet dataDict)
Token2FeatureVector(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.-
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
-
Token2FeatureVector
public Token2FeatureVector(Alphabet dataDict, boolean binary, boolean augmentable)
-
Token2FeatureVector
public Token2FeatureVector(Alphabet dataDict)
-
Token2FeatureVector
public Token2FeatureVector(boolean binary, boolean augmentable)
-
Token2FeatureVector
public Token2FeatureVector()
-
-