public static class SimpleTagger.SimpleTaggerSentence2FeatureVectorSequence extends Pipe
FeatureVectorSequence. If target processing
is on (training or labeled test data), it extracts element labels
from the external encoding to create a target LabelSequence.
Two external encodings are supported:
Both represent rows of tokens. When target processing is on, the last token
in each row is the label of the sequence element represented by
this row. All other tokens in the row, or all tokens in the row if
not target processing, are the names of features that are on for
the sequence element described by the row.| Constructor and Description |
|---|
SimpleTaggerSentence2FeatureVectorSequence()
Creates a new
SimpleTaggerSentence2FeatureVectorSequence instance. |
| Modifier and Type | Method and Description |
|---|---|
Instance |
pipe(Instance carrier)
Process an Instance.
|
getDataAlphabet, getInstanceId, getParent, getParentRoot, getTargetAlphabet, isDataAlphabetSet, isTargetProcessing, pipe, readResolve, resolveDataAlphabet, resolveTargetAlphabet, setDataAlphabet, setParent, setTargetAlphabet, setTargetProcessingpublic SimpleTaggerSentence2FeatureVectorSequence()
SimpleTaggerSentence2FeatureVectorSequence instance.public Instance pipe(Instance carrier)
PipeOne can create a new concrete subclass of Pipe simply by implementing this method.
Copyright © 2019 JULIE Lab, Germany. All rights reserved.