// KAIST private String getSpecialLabel(CTNode C) { CTNode d = C.c2d.getDependencyHead(); if (CTLibKaist.isPunctuation(C) || CTLibKaist.isPunctuation(d)) return DEPLibKr.DEP_PUNCT; if (CTLibKaist.isOnlyEJX(C, DELIM_PLUS)) return DEPLibKr.DEP_EJX; if (C.isPTag(CTLibKaist.PTAG_AUXP)) return DEPLibKr.DEP_AUX; if (CTLibKaist.isConjunction(C, DELIM_PLUS)) return DEPLibKr.DEP_CC; if (CTLibKaist.isConjunct(C, DELIM_PLUS)) return DEPLibKr.DEP_CONJ; return null; }
@Override protected int getHeadFlag(CTNode child) { if (child.c2d.hasHead()) return -1; if (child.isPTag(CTLibKaist.PTAG_AUXP)) return 1; if (child.isPTag(CTLibKaist.PTAG_IP)) return 2; if (child.hasFTag(CTLibKaist.FTAG_PRN)) return 3; if (CTLibKaist.isOnlyEJX(child, DELIM_PLUS)) return 4; if (CTLibKaist.isPunctuation(child)) return 5; return 0; }