|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkr.ac.kaist.swrc.jhannanum.plugin.MajorPlugin.MorphAnalyzer.ChartMorphAnalyzer.PostProcessor
public class PostProcessor
This class is for post processing of morphological analysis.
Field Summary | |
---|---|
private java.lang.String |
A_
the triple character representation of '어' |
private java.lang.String |
AR
the triple character representation of '아' |
private java.lang.String |
DOB
the triple character representation of '돕' |
private java.lang.String |
EU
the triple character representation of '으' |
private java.lang.String |
GOB
the triple character representation of '곱' |
private java.lang.String |
HA
the triple character representation of '하' |
private java.lang.String |
NU
the triple character representation of '는다' |
private java.lang.String |
PV
the triple character representation of 'ㅏㅑㅗ' |
private java.lang.String |
SU
the triple character representation of '습니' |
private java.lang.String |
XEU
the triple character representation of '끄뜨쓰크트' |
Constructor Summary | |
---|---|
PostProcessor()
Constructor. |
Method Summary | |
---|---|
SetOfSentences |
doPostProcessing(SetOfSentences sos)
It does post processing of morphological analysis to deal with some exceptions. |
private boolean |
isPV(char c)
Checks whether the specified character is one of 'ㅏ', 'ㅑ', 'ㅗ'. |
private boolean |
isXEU(char c)
Checks whether the specified character is one of '끄', '뜨', '쓰', '크', '트'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String HA
private java.lang.String AR
private java.lang.String A_
private java.lang.String PV
private java.lang.String XEU
private java.lang.String DOB
private java.lang.String GOB
private java.lang.String EU
private java.lang.String SU
private java.lang.String NU
Constructor Detail |
---|
public PostProcessor()
Method Detail |
---|
public SetOfSentences doPostProcessing(SetOfSentences sos)
sos
- - the result of morphological analysis
private boolean isPV(char c)
c
- - the character to check
private boolean isXEU(char c)
c
- - the character to check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |