public void initialize(UimaContext uimaContext) throws ResourceInitializationException {
super.initialize(uimaContext);
logger.info("Chunker model file: " + chunkerModelPath);
try (InputStream fis = FileLocator.getAsStream(chunkerModelPath)) {
ChunkerModel model = new ChunkerModel(fis);
chunker = new opennlp.tools.chunker.ChunkerME(model);
} catch (IOException e) {
logger.info("Chunker model: " + chunkerModelPath);
throw new ResourceInitializationException(e);