|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TemporalSpan
Representation of a temporal object found in text. TemporalSpan
s
are often associated with time Entity
objects, but systems should
not depend on that. For a reference on the temporal standard, see the
temporal site at MITRE.
Field Summary | |
---|---|
static AnnotationType<TemporalSpan> |
TYPE
|
Method Summary | |
---|---|
String |
getAnchorDirection()
Returns the anchor direction of the temporal object (optional). |
String |
getAnchorValue()
Returns the anchor value of the temporal object (optional). |
String |
getModifier()
Returns the modifier of the temporal object (optional). |
String |
getValue()
Returns the time value of the temporal object (optional). |
Boolean |
isMultiple()
Returns whether this temporal object is part of a set (optional). |
Methods inherited from interface com.languagecomputer.api.text.Text |
---|
getAnnotationType, getCongruentAnnotations, getDocument, getDocumentID, getEndCharOffset, getIntersectingAnnotations, getRawString, getStartCharOffset, getSubAnnotations, getSuperAnnotations |
Field Detail |
---|
static final AnnotationType<TemporalSpan> TYPE
Method Detail |
---|
String getValue()
null
.
null
if this functionality isn't
implemented.String getModifier()
null
.
null
if this functionality isn't
implemented.Boolean isMultiple()
null
.
null
if this functionality isn't implemented.String getAnchorValue()
ISO 8601
standard. Implementors that choose
not to provide the anchor value should return null
.
null
if this functionality isn't
implemented.String getAnchorDirection()
null
.
null
if this functionality
isn't implemented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |