public class ParseHeadWordPOS extends Object implements FeatureExtractor
If possible, use one of the two static objects in this class, corresponding to the Charniak and Stanford parses respectively.
Modifier and Type | Field and Description |
---|---|
static ParseHeadWordPOS |
CHARNIAK |
static ParseHeadWordPOS |
STANFORD |
Constructor and Description |
---|
ParseHeadWordPOS(String parseViewName) |
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
public static ParseHeadWordPOS CHARNIAK
public static ParseHeadWordPOS STANFORD
public ParseHeadWordPOS(String parseViewName)
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.