private String getConjunctLabel(CTNode parent, CTNode child) { String label; if (CTLibKaist.isConjunct(child, DELIM_PLUS)) return DEPLibKr.DEP_CONJ; if ((label = getSpecialLabel(child)) != null) return label; if (child.isPTag(CTLibKaist.PTAG_ADVP) && !parent.isPTag(CTLibKaist.PTAG_ADVP)) return DEPLibKr.DEP_ADV; return DEPLibKr.DEP_CONJ; }
// 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; }