Constructor and Description |
---|
Segment(int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Segment o) |
static Segment |
createFromParentString(int begin,
int end,
java.lang.String string) |
int |
getBegin() |
int |
getEnd() |
java.lang.String |
getLemma() |
java.lang.String |
getSubstring() |
boolean |
isNeoclassical() |
void |
setLemma(java.lang.String lemma) |
void |
setNeoclassical(boolean neoclassical) |
void |
setSubstring(java.lang.String substring) |
java.lang.String |
toString() |
public int compareTo(Segment o)
compareTo
in interface java.lang.Comparable<Segment>
public int getBegin()
public int getEnd()
public java.lang.String getSubstring()
public void setSubstring(java.lang.String substring)
public boolean isNeoclassical()
public void setNeoclassical(boolean neoclassical)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getLemma()
public void setLemma(java.lang.String lemma)
public static Segment createFromParentString(int begin, int end, java.lang.String string)