kr.ac.kaist.swrc.jhannanum.plugin
Interface Plugin

All Known Subinterfaces:
MorphAnalyzer, MorphemeProcessor, PlainTextProcessor, PosProcessor, PosTagger
All Known Implementing Classes:
ChartMorphAnalyzer, HMMTagger, InformalSentenceFilter, NounExtractor, SentenceSegmentor, SimpleMAResult09, SimpleMAResult22, SimplePOSResult09, SimplePOSResult22, UnknownProcessor

public interface Plugin

This interface is for plug-ins that can be set on the HanNanum work flow.

Author:
Sangwon Park (hudoni@world.kaist.ac.kr), CILab, SWRC, KAIST

Method Summary
 void initialize(java.lang.String baseDir, java.lang.String configFile)
          This method is called before the work flow starts in order to initialize the plug-in.
 void shutdown()
          This method is called before the work flow is closed.
 

Method Detail

initialize

void initialize(java.lang.String baseDir,
                java.lang.String configFile)
                throws java.lang.Exception
This method is called before the work flow starts in order to initialize the plug-in. A configuration file can be passed to the plug-in, which makes the plug-in more flexible.

Parameters:
baseDir - - the base directory of HanNanum files
configFile - - the path for the configuration file
Throws:
java.lang.Exception - x

shutdown

void shutdown()
This method is called before the work flow is closed.