public interface ChunkCreator
Chunker.CHUNKER_CREATOR_CLASS_PARAM
Modifier and Type | Method and Description |
---|---|
org.apache.uima.jcas.tcas.Annotation |
createChunk(org.apache.uima.jcas.JCas jCas,
int begin,
int end,
String chunkType) |
void |
initialize(org.apache.uima.UimaContext annotatorContext) |
void initialize(org.apache.uima.UimaContext annotatorContext) throws org.apache.uima.resource.ResourceInitializationException
org.apache.uima.resource.ResourceInitializationException
org.apache.uima.jcas.tcas.Annotation createChunk(org.apache.uima.jcas.JCas jCas, int begin, int end, String chunkType) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
jCas
- the view to which to add the created chunk.begin
- the beginning offset of the chunkend
- the ending offset of the chunkchunkType
- a string description of the chunk type - e.g. "NP"org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.