@PipeBitInfo(name="NE Predicate Annotator", description="Creates Events from Identified Annotations and Predicates.", dependencies=IDENTIFIED_ANNOTATION, products=EVENT) public class NEPredicateEventAnnotator extends TemporalEntityAnnotator_ImplBase
Constructor and Description |
---|
NEPredicateEventAnnotator() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
createAnnotatorDescription(File modelDirectory)
Deprecated.
use String path instead of File.
ClearTK will automatically Resolve the String to an InputStream.
This will allow resources to be read within from a jar as well as File.
|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
createAnnotatorDescription(String modelPath) |
void |
process(org.apache.uima.jcas.JCas jCas,
Segment segment) |
process
collectionProcessComplete, initialize, isTraining
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public void process(org.apache.uima.jcas.JCas jCas, Segment segment) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class TemporalEntityAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription createAnnotatorDescription(String modelPath) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
public static org.apache.uima.analysis_engine.AnalysisEngineDescription createAnnotatorDescription(File modelDirectory) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.