/* This is incorrect! Need to subcategorize participial post-modifier (POSTMOD) */ private void removeParticipialMod(List<DEPNode> l_subNodes, DEPNode node) { List<DEPNode> ppmod = node.getDependentListByLabel(DEPLibEn.DEP_AMOD); if (ppmod != null) l_subNodes.removeAll(ppmod); }
private void removePunctuations(List<DEPNode> l_subNodes, DEPNode node) { List<DEPNode> puncts = node.getDependentListByLabel(DEPLibEn.DEP_PUNCT); if (puncts != null) l_subNodes.removeAll(puncts); }