E- The type of objects whose features are extracted.
public abstract class ModifiedFeatureExtractor<E> extends FeatureExtractorFilter<E> implements FeatureExtractor<E>
ModifiedFeatureExtractorallows feature values to be modified in a feature-specific fashion.
|Constructor and Description|
Construct a modified feature extractor with the specified base extractor.
|Modifier and Type||Method and Description|
Return the modified form of the feature vector produced by the base feature extractor.
Return the value for the specified original feature and value, or
filter(String,Number)to produce a new value, which if non-null, is added to the result.
nullto remove the feature altogether.
This implementation passes through the value.
feature- Feature corresponding to the value.
value- Value to filter.