Examples of containsSHead()


Examples of com.clearnlp.dependency.DEPNode.containsSHead()

        sHead = dTree.get(p.i);
       
        if (isRefArgument(cNode))
          p.s = "R-"+p.s;
       
        if (!dNode.containsSHead(sHead) && dNode != sHead)
          dNode.addSHead(sHead, p.s);
      }
    }
   
    for (CTNode child : cNode.getChildren())
View Full Code Here

Examples of com.clearnlp.dependency.DEPNode.containsSHead()

   
    for (DEPArc arc : pred.getDependents())
    {
      dep = arc.getNode();
     
      if (dep.containsSHead(pred, P_ARG_REF))
      {
        ref = arc;
        break;
      }
    }
View Full Code Here

Examples of com.clearnlp.dependency.DEPNode.containsSHead()

   
    for (DEPArc arc : verb.getDependents())
    {
      dep = arc.getNode();
     
      if (dep.containsSHead(verb, SRLLib.P_ARG_REF))
        return dep;
    }
   
    return null;
  }
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.