edu.upenn.cis.taggers
Class Tag

java.lang.Object
  extended by edu.upenn.cis.taggers.Tag

public class Tag
extends java.lang.Object


Constructor Summary
Tag(java.lang.String tagname)
           
 
Method Summary
 void addSegment(java.lang.String segment, int tokenIndex)
           
 int getEndOffset()
           
 int getStartOffset()
           
 java.lang.String getTagname()
           
 int getTokenEndIndex()
           
 int getTokenStartIndex()
           
 java.lang.String toString()
           
 void updateOffset(int start, int end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tag

public Tag(java.lang.String tagname)
Method Detail

getTagname

public java.lang.String getTagname()

addSegment

public void addSegment(java.lang.String segment,
                       int tokenIndex)

updateOffset

public void updateOffset(int start,
                         int end)

getStartOffset

public int getStartOffset()

getEndOffset

public int getEndOffset()

getTokenStartIndex

public int getTokenStartIndex()

getTokenEndIndex

public int getTokenEndIndex()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object