com.as.text_understanding.representation.tree.TreeNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of text-understanding Show documentation
Show all versions of text-understanding Show documentation
Analyzing natural-language text, in particular predicate-argument structure.
The newest version!
package com.as.text_understanding.representation.tree;
import java.util.List;
/**
* Represents a tree-node in a constituency parse-tree.
*
*
* Date: Feb 24, 2016
* @author Asher Stern
*
*/
public class TreeNode
{
public TreeNode(TreeItem item, List children)
{
super();
this.item = item;
this.children = children;
}
public TreeItem getItem()
{
return item;
}
public List getChildren()
{
return children;
}
private final TreeItem item;
private final List children;
}