org.jscience.ml.tigerxml
Class T

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

public class T
extends GraphNode

Represents a terminal node in a syntax tree.

See Also:
GraphNode, Serialized Form

Constructor Summary
T()
          Creates a new T object.
T(org.w3c.dom.Element tElement, Sentence sent, int pos)
          Creates a new T object.
T(org.w3c.dom.Element tElement, Sentence sent, int pos, int verbosity)
          Creates a new T object.
 
Method Summary
 java.lang.String getLemma()
          DOCUMENT ME!
 java.lang.String getMorph()
          DOCUMENT ME!
 java.lang.String getPos()
          DOCUMENT ME!
 int getPosition()
          DOCUMENT ME!
 java.lang.String getWord()
          Returns the String of this Terminal.
protected  void print2Xml(java.io.FileWriter out_xml)
          DOCUMENT ME!
 void setLemma(java.lang.String lemma)
          DOCUMENT ME!
 void setMorph(java.lang.String newmorph)
          DOCUMENT ME!
 void setPos(java.lang.String newpos)
          DOCUMENT ME!
 void setPosition(int position)
          DOCUMENT ME!
 void setWord(java.lang.String newWord)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.ml.tigerxml.GraphNode
before, dominates, equals, getCorpus, getDominatingNodeByCat, getEdge2Mother, getEdge2SecMother, getId, getIndex, getLeftmostTerminal, getMother, getPath, getSecMothers, getSentence, getText, 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

T

public T()
Creates a new T object.


T

public T(org.w3c.dom.Element tElement,
         Sentence sent,
         int pos)
Creates a new T object.

Parameters:
tElement - DOCUMENT ME!
sent - DOCUMENT ME!
pos - DOCUMENT ME!

T

public T(org.w3c.dom.Element tElement,
         Sentence sent,
         int pos,
         int verbosity)
Creates a new T object.

Parameters:
tElement - DOCUMENT ME!
sent - DOCUMENT ME!
pos - DOCUMENT ME!
verbosity - DOCUMENT ME!
Method Detail

getLemma

public java.lang.String getLemma()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setLemma

public void setLemma(java.lang.String lemma)
DOCUMENT ME!

Parameters:
lemma - DOCUMENT ME!

getPos

public java.lang.String getPos()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setPos

public void setPos(java.lang.String newpos)
DOCUMENT ME!

Parameters:
newpos - DOCUMENT ME!

getMorph

public java.lang.String getMorph()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setMorph

public void setMorph(java.lang.String newmorph)
DOCUMENT ME!

Parameters:
newmorph - DOCUMENT ME!

getWord

public java.lang.String getWord()
Returns the String of this Terminal.

Returns:
The String representation of this Terminal.

setWord

public void setWord(java.lang.String newWord)
DOCUMENT ME!

Parameters:
newWord - DOCUMENT ME!

setPosition

public void setPosition(int position)
DOCUMENT ME!

Parameters:
position - DOCUMENT ME!

getPosition

public int getPosition()
DOCUMENT ME!

Returns:
DOCUMENT ME!

print2Xml

protected void print2Xml(java.io.FileWriter out_xml)
DOCUMENT ME!

Parameters:
out_xml - DOCUMENT ME!