public class BSFAnnotator
extends org.apache.uima.analysis_component.JCasAnnotator_ImplBase
SourceFile
attribute
containing the script's source file to execute.
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_DIGEST |
static String |
PATH_SEPARATOR |
static String |
SCRIPT_SOURCE_FILE |
Constructor and Description |
---|
BSFAnnotator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.apache.uima.UimaContext aContext)
Initializes the annotator by compiling the script.
|
void |
process(org.apache.uima.jcas.JCas jcas)
Call the process function implemented in the script
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public static final String MESSAGE_DIGEST
public static final String PATH_SEPARATOR
public static final String SCRIPT_SOURCE_FILE
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException
initialize
in interface org.apache.uima.analysis_component.AnalysisComponent
initialize
in class org.apache.uima.analysis_component.AnalysisComponent_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
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.