kr.ac.kaist.swrc.jhannanum.demo
Class ManualWorkflowSetUp
java.lang.Object
kr.ac.kaist.swrc.jhannanum.demo.ManualWorkflowSetUp
public class ManualWorkflowSetUp
- extends java.lang.Object
This is a demo program of HanNanum that helps users to understand how to set up
HanNanum plug-ins manually for own purpose. It basically uses a work flow with
5 plug-ins for morphological analysis and POS tagging, which is good for general
use, but you can test other work flows referring the commented codes.
Used plug-ins: SentenceSegmentor, InformalSentenceFilter, ChartMorphAnalyzer, UnknownProcessor, and HMMTagger.
It performs POS tagging for a Korean document with the following procedure:
1. Create a work flow for morphological analysis and POS tagging with 5 plug-ins.
2. Activate the work flow in multi-thread mode.
3. Analyze a document that consists of several sentences.
4. Print the result on the console.
5. Repeats the procedure 3~4 with activated work flow.
6. Close the work flow.
- Author:
- Sangwon Park (hudoni@world.kaist.ac.kr), CILab, SWRC, KAIST
Method Summary |
static void |
main(java.lang.String[] args)
The main method of this demo program. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManualWorkflowSetUp
public ManualWorkflowSetUp()
main
public static void main(java.lang.String[] args)
- The main method of this demo program.
- Parameters:
args
-