@PipeBitInfo(name="Thread-Safe LVG", description="Annotates Lexical Variants for terms with attempted thread safety.", dependencies=BASE_TOKEN) public final class ThreadSafeLvg extends org.apache.uima.fit.component.JCasAnnotator_ImplBase
Constructor and Description |
---|
ThreadSafeLvg() |
Modifier and Type | Method and Description |
---|---|
static org.apache.uima.analysis_engine.AnalysisEngineDescription |
createAnnotatorDescription()
Necessary if the lvg.properties need to be copied into a temporary file.
|
void |
initialize(org.apache.uima.UimaContext context)
Calls initialize on the LvgSingleton.
|
void |
process(org.apache.uima.jcas.JCas jCas)
Calls initialize on the LvgSingleton.
|
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
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 static org.apache.uima.analysis_engine.AnalysisEngineDescription createAnnotatorDescription() throws org.apache.uima.resource.ResourceInitializationException, IOException
org.apache.uima.resource.ResourceInitializationException
- if the lvg annotator could not be initializedIOException
- if there was a problem creating the default LvgCmdApi resourceCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.