org.apache.ctakes.constituency.parser.util
Class TreeUtils
java.lang.Object
org.apache.ctakes.constituency.parser.util.TreeUtils
public class TreeUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeUtils
public TreeUtils()
getNodeList
public static List<TreebankNode> getNodeList(TopTreebankNode tree)
getNodeList
public static List<opennlp.tools.parser.Parse> getNodeList(opennlp.tools.parser.Parse tree)
tree2str
public static String tree2str(TreebankNode pathTree)
contains
public static boolean contains(SimpleTree node,
SimpleTree frag)
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.