jvntextpro.data
Class TWord

java.lang.Object
  extended by jvntextpro.data.TWord

public class TWord
extends java.lang.Object

The Class TWord.


Constructor Summary
TWord(java.lang.String _word)
          Instantiates a new t word.
TWord(java.lang.String _word, java.lang.String _tag)
          Instantiates a new t word.
 
Method Summary
 java.lang.String getSecondaryTag(int i)
          Gets the secondary tag.
 java.lang.String getTag()
          Gets the tag.
 java.lang.String getWord()
          Gets the word.
 void print()
          Prints the.
 void print(java.io.Writer out)
          Prints the.
 void setTag(java.lang.String t)
          Sets the tag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TWord

public TWord(java.lang.String _word,
             java.lang.String _tag)
Instantiates a new t word.

Parameters:
_word - the _word
_tag - the _tag

TWord

public TWord(java.lang.String _word)
Instantiates a new t word.

Parameters:
_word - the _word
Method Detail

getWord

public java.lang.String getWord()
Gets the word.

Returns:
the word

getTag

public java.lang.String getTag()
Gets the tag.

Returns:
the tag

setTag

public void setTag(java.lang.String t)
Sets the tag.

Parameters:
t - the new tag

getSecondaryTag

public java.lang.String getSecondaryTag(int i)
Gets the secondary tag.

Parameters:
i - the i
Returns:
the secondary tag

print

public void print()
Prints the.


print

public void print(java.io.Writer out)
           throws java.io.IOException
Prints the.

Parameters:
out - the out
Throws:
java.io.IOException - Signals that an I/O exception has occurred.