public class AceEventMention extends Object
| Modifier and Type | Field and Description |
|---|---|
Span |
anchorExtent
the span of the anchor of the event, with start and end positions based
on the ACE offsets (excluding XML tags).
|
Span |
anchorJetExtent
the span of the anchor of the event, with start and end positions based
on Jet offsets (and so including following whitespace).
|
String |
anchorText
the text of the anchor
|
ArrayList<AceEventMentionArgument> |
arguments
arguments of the event mention (each of type AceEventMentionArgument)
|
double |
confidence
our confidence in the presence of this event mention
|
Span |
extent
the span of the extent of the event, with start and end positions based
on the ACE offsets (excluding XML tags).
|
String |
id
the ID of the mention
|
Span |
jetExtent
the span of the extent of the event, with start and end positions based
on Jet offsets (and so including following whitespace).
|
String |
text
the text of the extent of the event mention.
|
| Constructor and Description |
|---|
AceEventMention(Element mentionElement,
AceDocument acedoc,
String fileText)
create an AceEventMention from the information in the APF file.
|
AceEventMention(String id,
Span jetExtent,
Span anchorJetExtent,
String fileText) |
public String id
public ArrayList<AceEventMentionArgument> arguments
public Span extent
public Span jetExtent
public String text
public Span anchorExtent
public Span anchorJetExtent
public String anchorText
public double confidence
public AceEventMention(String id, Span jetExtent, Span anchorJetExtent, String fileText)
public AceEventMention(Element mentionElement, AceDocument acedoc, String fileText)
mentionElement - the XML element from the APF file containing
information about this mentionacedoc - the AceDocument to which this relation mention
belongspublic void write(PrintWriter w)
w.Copyright © 2016 New York University. All rights reserved.