public class ParsePhraseType 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 ParsePhraseType |
CHARNIAK |
static ParsePhraseType |
STANFORD |
Constructor and Description |
---|
ParsePhraseType(String parseViewname)
Create a phrase type feature extractor
|
public static ParsePhraseType CHARNIAK
public static ParsePhraseType STANFORD
public Set<Feature> getFeatures(Constituent c) throws EdisonException
getFeatures
in interface FeatureExtractor
EdisonException
public String getName()
getName
in interface FeatureExtractor
Copyright © 2015. All rights reserved.