public static class WordListFeatures.POSTagDict extends java.lang.Object implements FeatureExtractor.FeatureExtractorInterface
| Constructor and Description |
|---|
WordListFeatures.POSTagDict() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatures(java.util.List<java.lang.String> tokens,
FeatureExtractor.PositionFeaturePairs pairs)
Input: sentence
Output: labelIndexes, featureIDs/Values through positionFeaturePairs
We want to yield a sequence of (t, featID, featValue) pairs,
to be conjuncted against label IDs at position t.
|
public void addFeatures(java.util.List<java.lang.String> tokens,
FeatureExtractor.PositionFeaturePairs pairs)
FeatureExtractor.FeatureExtractorInterfaceaddFeatures in interface FeatureExtractor.FeatureExtractorInterface