Package cc.mallet.fst
Class SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.fst.SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
- Enclosing class:
- SimpleTagger
public static class SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence extends Pipe
Converts an external encoding of a sequence of elements with binary features to aFeatureVectorSequence
. If target processing is on (training or labeled test data), it extracts element labels from the external encoding to create a targetLabelSequence
. Two external encodings are supported:- A
String
containing lines of whitespace-separated tokens. - a
String
[][]
.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleTaggerSentence2FeatureVectorSequence()
Creates a newSimpleTaggerSentence2FeatureVectorSequence
instance.
-
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
-
-