/// <summary> It removes the plug-ins on the work flow.</summary> public virtual void clear() { close(); if (isInitialized) { queuePhase1.Clear(); queuePhase2.Clear(); queuePhase3.Clear(); isThreadMode = false; outputPhaseNum = 0; outputQueueNum = 0; plainTextPluginCnt = 0; morphemePluginCnt = 0; posPluginCnt = 0; morphAnalyzer = null; posTagger = null; } }
/// <summary> Sets the POS tagger plug-in, which is the major plug-in on the third phase, on the work flow.</summary> /// <param name="tagger">- the POS tagger plug-in /// </param> /// <param name="configFile">- the path for the configuration file (relative path to the base directory) /// </param> public virtual void setPosTagger(kr.ac.kaist.swrc.jhannanum.plugin.MajorPlugin.PosTagger.PosTagger tagger, System.String configFile) { posTagger = tagger; posTaggerConfFile = baseDir + "/" + configFile; }