org.apache.ctakes.constituency.parser.util
Class TreeUtils

java.lang.Object
  extended by org.apache.ctakes.constituency.parser.util.TreeUtils

public class TreeUtils
extends Object


Constructor Summary
TreeUtils()
           
 
Method Summary
static boolean contains(SimpleTree node, SimpleTree frag)
           
static List<opennlp.tools.parser.Parse> getNodeList(opennlp.tools.parser.Parse tree)
           
static List<TreebankNode> getNodeList(TopTreebankNode tree)
           
static String tree2str(TreebankNode pathTree)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeUtils

public TreeUtils()
Method Detail

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.