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 FeatureExtractorEdisonExceptionpublic String getName()
getName in interface FeatureExtractorCopyright © 2017. All rights reserved.