public class ConditionalFeatureExtractor extends Object implements FeatureExtractor
Constructor and Description |
---|
ConditionalFeatureExtractor(Predicate<Constituent> condition,
FeatureExtractor ifTrue,
FeatureExtractor ifFalse) |
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
public ConditionalFeatureExtractor(Predicate<Constituent> condition, FeatureExtractor ifTrue, FeatureExtractor ifFalse)
public Set<Feature> getFeatures(Constituent c) throws EdisonException
getFeatures
in interface FeatureExtractor
EdisonException
public String getName()
getName
in interface FeatureExtractor
Copyright © 2017. All rights reserved.