|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkr.ac.kaist.swrc.jhannanum.plugin.SupplementPlugin.MorphemeProcessor.UnknownMorphProcessor.UnknownProcessor
public class UnknownProcessor
This plug-in is for morphemes tagged with 'unk'. These morphemes can not be found in the morpheme dictionaries so their POS tag was temporarily mapped with 'unknown'. The most of morphemes not registered in the dictionaries can be expected to be noun with highly probability. So this plug-in maps the 'unk' tag to 'ncn' and 'nqq'. It is a morpheme processor plug-in which is a supplement plug-in of phase 2 in HanNanum work flow.
Constructor Summary | |
---|---|
UnknownProcessor()
|
Method Summary | |
---|---|
SetOfSentences |
doProcess(SetOfSentences sos)
It performs post processing of morphological analysis. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnknownProcessor()
Method Detail |
---|
public SetOfSentences doProcess(SetOfSentences sos)
MorphemeProcessor
doProcess
in interface MorphemeProcessor
sos
- - the result of morphologcial analysis
public void initialize(java.lang.String baseDir, java.lang.String configFile) throws java.io.FileNotFoundException, java.io.IOException
Plugin
initialize
in interface Plugin
baseDir
- - the base directory of HanNanum filesconfigFile
- - the path for the configuration file
java.io.FileNotFoundException
java.io.IOException
public void shutdown()
Plugin
shutdown
in interface Plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |