public class POSMikheevFeatureExtractor extends Object implements FeatureExtractor
Modifier and Type | Field and Description |
---|---|
protected POSMikheevCounter |
counter |
Constructor and Description |
---|
POSMikheevFeatureExtractor(String viewName,
POSMikheevCounter counter)
Construct the feature extractor given a trained counter.
|
POSMikheevFeatureExtractor(String viewName,
String json)
Construct the feature extractor given a trained counter in JSON format.
|
POSMikheevFeatureExtractor(String viewName,
String corpusName,
String home)
Construct the feature extractor given a training corpus file.
|
Modifier and Type | Method and Description |
---|---|
Set<Feature> |
getFeatures(Constituent c) |
String |
getName() |
protected POSMikheevCounter counter
public POSMikheevFeatureExtractor(String viewName, POSMikheevCounter counter)
viewName
- Name of viewcounter
- trained POS Mikheev counterpublic POSMikheevFeatureExtractor(String viewName, String corpusName, String home) throws Exception
viewName
- Name of viewcorpusName
- Name of Corpushome
- file name or directory name of the source corpusException
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.