public class TfidfConsumer
extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_FEATURE_PATH
This annotator is type agnostic, so it is mandatory to specify the type of the working
annotation and how to obtain the string representation with the feature path.
|
static String |
PARAM_LOWERCASE
If set to true, the whole text is handled in lower case.
|
static String |
PARAM_OUTPUT_PATH
Deprecated.
|
static String |
PARAM_TARGET_LOCATION
Specifies the path and filename where the model file is written.
|
Constructor and Description |
---|
TfidfConsumer() |
Modifier and Type | Method and Description |
---|---|
void |
collectionProcessComplete()
When this method is called by the framework, the dfModel is serialized.
|
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jcas) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
@Deprecated public static final String PARAM_OUTPUT_PATH
public static final String PARAM_TARGET_LOCATION
public static final String PARAM_LOWERCASE
public static final String PARAM_FEATURE_PATH
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 jcas) 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 © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.