Workflow workflow = new Workflow(wfpath);
workflow.appendPlainTextProcessor(new SentenceSegmentor(), null);
workflow.appendPlainTextProcessor(new InformalSentenceFilter(), null);
workflow.setMorphAnalyzer(new ChartMorphAnalyzer(), chartMorphAnalyzerConf);
// TODO: Add workflow.setMorphUserDic(userDicFile);
workflow.appendMorphemeProcessor(new UnknownProcessor(), null);
switch (workflowFlag) {
case WORKFLOW_HMM_POS_TAGGER_09:
workflow.setPosTagger(new HMMTagger(), hmmTaggerAnalyzerConf);
workflow.appendPosProcessor(new SimplePOSResult09(), null);