this.dict = dict;
if (etype == ParserEventTypeEnum.CHUNK) {
this.chunkerContextGenerator = new ChunkContextGenerator();
}
else if (etype == ParserEventTypeEnum.TAG) {
this.tagContextGenerator = new DefaultPOSContextGenerator(null);
}
this.rules = rules;
punctSet = rules.getPunctuationTags();
this.etype = etype;