public class ExtractFeaturesConnector extends org.apache.uima.fit.component.JCasAnnotator_ImplBase implements ConnectorConstants
ExtractFeaturesTask
to apply the feature
extractors on each CAS.Modifier and Type | Field and Description |
---|---|
protected FeatureExtractorResource_ImplBase[] |
featureExtractors |
static String |
PARAM_ADD_INSTANCE_ID
Whether an ID should be added to each instance in the feature file
|
static String |
PARAM_OUTPUT_DIRECTORY
Directory in which the extracted features will be stored
|
PARAM_APPLY_WEIGHTING, PARAM_BIPARTITION_THRESHOLD, PARAM_DATA_WRITER_CLASS, PARAM_ENFORCE_MATCHING_FEATURES, PARAM_FEATURE_EXTRACTORS, PARAM_FEATURE_FILTERS, PARAM_FEATURE_MODE, PARAM_IS_TESTING, PARAM_LEARNING_MODE, PARAM_OUTCOMES, PARAM_REQUIRED_TYPES, PARAM_USE_SPARSE_FEATURES
Constructor and Description |
---|
ExtractFeaturesConnector() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete() |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas aJCas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String PARAM_OUTPUT_DIRECTORY
public static final String PARAM_ADD_INSTANCE_ID
protected FeatureExtractorResource_ImplBase[] featureExtractors
public void initialize(org.apache.uima.UimaContext context) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.fit.component.JCasAnnotator_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void collectionProcessComplete() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
collectionProcessComplete
in interface org.apache.uima.analysis_component.AnalysisComponent
collectionProcessComplete
in class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2013–2019 Ubiquitous Knowledge Processing (UKP) Lab. All rights reserved.