org.jscience.ml.tigerxml.core
Class VRoot

java.lang.Object
  extended by org.jscience.ml.tigerxml.GraphNode
      extended by org.jscience.ml.tigerxml.NT
          extended by org.jscience.ml.tigerxml.core.VRoot
All Implemented Interfaces:
java.io.Serializable

public class VRoot
extends NT
implements java.io.Serializable

Represents the virtual root node in a syntax tree. This is a restricted NT with some peculiarities.

See Also:
GraphNode, NT, Serialized Form

Field Summary
 
Fields inherited from class org.jscience.ml.tigerxml.GraphNode
verbosity
 
Constructor Summary
VRoot()
          Creates an empty VRoot setting all member variables to null or empty.
VRoot(Sentence sent)
          Creates a VRoot, collects and links its daughters.
 
Method Summary
 
Methods inherited from class org.jscience.ml.tigerxml.NT
addDaughter, addSecDaughter, getAllDaughters, getAllDaughtersByLabel, getAllDescendants, getAllDescendantsByLabel, getCat, getDaughters, getDaughtersByLabel, getDescendants, getDescendantsByLabel, getSecDaughters, getSpan, getTerminals, getText, getWords, hasSecDaughters, print2Xml, setCat
 
Methods inherited from class org.jscience.ml.tigerxml.GraphNode
before, dominates, equals, getCorpus, getDominatingNodeByCat, getEdge2Mother, getEdge2SecMother, getId, getIndex, getLeftmostTerminal, getMother, getPath, getSecMothers, getSentence, getVerbosity, hasMother, hasSecMothers, hasSurfaceWord, isDominatedBy, isDominatedBy, isTerminal, printNode, printNode, printNodeErr, printNodeErr, printTree, printTreeErr, setEdge2Mother, setId, setIndex, setMother, setSecMother, setSentence, setTerminal, setVerbosity, toNodeInfoString, toString, toTreeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VRoot

public VRoot()
Creates an empty VRoot setting all member variables to null or empty.


VRoot

public VRoot(Sentence sent)
Creates a VRoot, collects and links its daughters.

Parameters:
sent - The sentence in which to insert this VRoot.