@PipeBitInfo(name="Meta Time Annotator", description="...", dependencies={SECTION,SENTENCE,BASE_TOKEN,TIMEX}) public class MetaTimeAnnotator extends TemporalSequenceAnnotator_ImplBase
Constructor and Description |
---|
MetaTimeAnnotator() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getAnnotatorDescription(File directory) |
static Class<? extends org.apache.uima.fit.component.JCasAnnotator_ImplBase>[] |
getComponents() |
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
getDataWriterDescription(Class<? extends org.cleartk.ml.SequenceDataWriter<String>> dataWriterClass,
File directory) |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.jcas.JCas jCas) |
void |
process(org.apache.uima.jcas.JCas jCas,
Segment segment) |
classify, collectionProcessComplete, isTraining
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static Class<? extends org.apache.uima.fit.component.JCasAnnotator_ImplBase>[] getComponents()
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getDataWriterDescription(Class<? extends org.cleartk.ml.SequenceDataWriter<String>> dataWriterClass, File directory) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription getAnnotatorDescription(File directory) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
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 interface org.apache.uima.fit.factory.initializable.Initializable
initialize
in class org.cleartk.ml.CleartkSequenceAnnotator<String>
org.apache.uima.resource.ResourceInitializationException
public void process(org.apache.uima.jcas.JCas jCas, Segment segment) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class TemporalSequenceAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public void process(org.apache.uima.jcas.JCas jCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class TemporalSequenceAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.