public void initialize(UimaContext context) throws ResourceInitializationException {
super.initialize(context);
// define chunking
this.timeChunking = new BIOChunking<BaseToken, TimeMention>(BaseToken.class, TimeMention.class);
CombinedExtractor allExtractors = new CombinedExtractor(
new CoveredTextExtractor(),
// new CharacterCategoryPatternExtractor(PatternType.REPEATS_MERGED),
// new CharacterCategoryPatternExtractor(PatternType.ONE_PER_CHAR),
new TypePathExtractor(BaseToken.class, "partOfSpeech"),
new TimeWordTypeExtractor());