Examples of addFTag()


Examples of com.clearnlp.constituent.CTNode.addFTag()

        removeCTNode(ec);
    }
    else  // relative clauses
    {
      CTNode parent = ante.getHighestChainedAncestor(CTLibEn.PTAG_SBAR);
      if (parent != null)    parent.addFTag(DEPLibEn.DEP_RCMOD);
      replaceEC(ec, ante);
    }
  }
 
  /** Called by {@link EnglishC2DConverter#mapEmtpyCategories(CTTree)}. */
 
View Full Code Here

Examples of com.clearnlp.constituent.CTNode.addFTag()

    for (i=0; i<size; i++)
    {
      child = children.get(i);
     
      if ((label = getSpecialLabel(child)) != null)
        child.addFTag(label);
      else
        break;
    }
   
    if (CTLibKaist.containsCoordination(children.subList(i,size), DELIM_PLUS))
View Full Code Here

Examples of com.clearnlp.constituent.CTNode.addFTag()

      for (; i<size; i++)
      {
        child = children.get(i);
       
        if ((label = getConjunctLabel(curr, child)) != null)
          child.addFTag(label);
      }
    }
  }
 
  private String getConjunctLabel(CTNode parent, CTNode child)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.