public class OpenCalaisAnnotator
extends org.apache.uima.analysis_component.CasAnnotator_ImplBase
Constructor and Description |
---|
OpenCalaisAnnotator() |
Modifier and Type | Method and Description |
---|---|
protected InputStream |
callServiceOnText(String modifiedText) |
void |
initialize(org.apache.uima.UimaContext context) |
void |
process(org.apache.uima.cas.CAS aCas) |
void |
typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem) |
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
public void process(org.apache.uima.cas.CAS aCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
protected InputStream callServiceOnText(String modifiedText) throws IOException, UnsupportedEncodingException
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.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.resource.ResourceInitializationException
public void typeSystemInit(org.apache.uima.cas.TypeSystem typeSystem) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
typeSystemInit
in class org.apache.uima.analysis_component.CasAnnotator_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2006–2014 The Apache Software Foundation. All rights reserved.