![JAR search and dependency download from the Maven repository](/logo.png)
edu.berkeley.nlp.syntax.NamedTree Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of berkeleyparser Show documentation
Show all versions of berkeleyparser Show documentation
The Berkeley parser analyzes the grammatical structure of natural language using probabilistic context-free grammars (PCFGs).
The newest version!
package edu.berkeley.nlp.syntax;
import java.util.List;
public class NamedTree extends Tree
{
/**
*
*/
private static final long serialVersionUID = 8841212195373673057L;
private final String name;
/**
* @param label
* @param children
*/
public NamedTree(L label, List> children, String name)
{
super(label, children);
this.name = name;
// TODO Auto-generated constructor stub
}
/**
* @param label
*/
public NamedTree(L label, String name)
{
super(label);
this.name = name;
// TODO Auto-generated constructor stub
}
public String getName()
{
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy