public class ParseSiblings extends Object implements FeatureExtractor
If possible, use one of the two static objects in this class, for the Charniak and Stanford parses respectively.
| Modifier and Type | Field and Description |
|---|---|
static ParseSiblings |
CHARNIAK |
static ParseSiblings |
STANFORD |
| Constructor and Description |
|---|
ParseSiblings(String parseViewName) |
| Modifier and Type | Method and Description |
|---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
public static ParseSiblings CHARNIAK
public static ParseSiblings STANFORD
public ParseSiblings(String parseViewName)
public Set<Feature> getFeatures(Constituent c) throws EdisonException
getFeatures in interface FeatureExtractorEdisonExceptionpublic String getName()
getName in interface FeatureExtractorCopyright © 2017. All rights reserved.