public class TimexChunk extends Object
Constructor and Description |
---|
TimexChunk() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String key,
String value) |
String |
beginAnnotation(int tid) |
String |
endAnnotation() |
String |
getAttribute(String key) |
HashMap<String,String> |
getAttributes() |
int |
getCharEnd() |
int |
getCharStart() |
String |
getContent() |
org.joda.time.Interval |
getInterval() |
void |
setCharEnd(int charEnd) |
void |
setCharStart(int charStart) |
void |
setContent(String content) |
void |
setInterval(org.joda.time.Interval interval) |
String |
toTIMEXString()
Return TIMEX3 tags and the string content
|
String |
toTIMEXTag()
Just return the TIMEX3 tag
|
public void setContent(String content)
public String getContent()
public org.joda.time.Interval getInterval()
public void setInterval(org.joda.time.Interval interval)
public String beginAnnotation(int tid)
public String endAnnotation()
public int getCharStart()
public int getCharEnd()
public void setCharStart(int charStart)
public void setCharEnd(int charEnd)
public String toTIMEXString()
public String toTIMEXTag()
Copyright © 2017. All rights reserved.