public interface ChunkCreator
Chunker.CHUNKER_CREATOR_CLASS_PARAM
Modifier and Type | Method and Description |
---|---|
Annotation |
createChunk(JCas jCas,
int begin,
int end,
java.lang.String chunkType) |
void |
initialize(UimaContext annotatorContext) |
void initialize(UimaContext annotatorContext) throws ResourceInitializationException
ResourceInitializationException
Annotation createChunk(JCas jCas, int begin, int end, java.lang.String chunkType) throws 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"AnalysisEngineProcessException