public class AceEventMention extends AceMention
mExtentmId| Constructor and Description |
|---|
AceEventMention(String id,
AceCharSeq extent,
AceCharSeq anchor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArg(AceEntityMention em,
String role) |
AceCharSeq |
getAnchor() |
AceEntityMention |
getArg(String role) |
Collection<AceEventMentionArgument> |
getArgs() |
int |
getMaxTokenEnd()
Returns the largest start of all argument heads (or the beginning of the
mention's extent if there are no arguments)
|
int |
getMinTokenStart()
Returns the smallest start of all argument heads (or the beginning of the
mention's extent if there are no arguments)
|
AceEvent |
getParent() |
Set<String> |
getRoles() |
void |
setAnchor(AceCharSeq anchor) |
void |
setParent(AceEvent e) |
String |
toString() |
getExtent, toXmlappendOffset, getIdpublic AceEventMention(String id, AceCharSeq extent, AceCharSeq anchor)
public Collection<AceEventMentionArgument> getArgs()
public AceEntityMention getArg(String role)
public void addArg(AceEntityMention em, String role)
public void setParent(AceEvent e)
public AceEvent getParent()
public void setAnchor(AceCharSeq anchor)
public AceCharSeq getAnchor()
public int getMinTokenStart()
public int getMaxTokenEnd()