public class PhraseTypeChunkCreator extends java.lang.Object implements ChunkCreator
org.apache.ctakes.chunker.ae.type
Constructor and Description |
---|
PhraseTypeChunkCreator() |
Modifier and Type | Method and Description |
---|---|
Annotation |
createChunk(JCas jCas,
int start,
int end,
java.lang.String chunkType) |
void |
initialize(UimaContext uimaContext) |
public void initialize(UimaContext uimaContext) throws ResourceInitializationException
initialize
in interface ChunkCreator
ResourceInitializationException
public Annotation createChunk(JCas jCas, int start, int end, java.lang.String chunkType)
createChunk
in interface ChunkCreator
jCas
- the view to which to add the created chunk.start
- the beginning offset of the chunkend
- the ending offset of the chunkchunkType
- a string description of the chunk type - e.g. "NP"