private void removePrepositionalMod(List<DEPNode> l_subNodes, DEPNode node) { DEPNode pp = node.getFirstDependentByLabel(DEPLibEn.DEP_PREP); if (pp != null) l_subNodes.removeAll(pp.getSubNodeList()); }
private void removeRelativeClause(List<DEPNode> l_subNodes, DEPNode node) { DEPNode relcl = node.getFirstDependentByLabel(DEPLibEn.DEP_RELCL); if (relcl != null) l_subNodes.removeAll(relcl.getSubNodeList()); }