All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
addEntity(AceEntity e) |
void |
addEntityMention(AceEntityMention em) |
void |
addEvent(AceEvent r) |
void |
addEventMention(AceEventMention e) |
void |
addRelation(AceRelation r) |
void |
addRelationMention(AceRelationMention e) |
void |
addToken(AceToken t) |
void |
constructSentenceRelationMentions() |
int |
countCommas(int start,
int end) |
int |
countVerbs(int start,
int end) |
int |
findChunkEnd(int pos) |
int |
findChunkStart(int pos) |
ArrayList<ArrayList<AceEntityMention>> |
getAllEntityMentions() |
ArrayList<ArrayList<AceEventMention>> |
getAllEventMentions() |
ArrayList<ArrayList<AceRelationMention>> |
getAllRelationMentions() |
AceEntity |
getEntity(String id) |
AceEntityMention |
getEntityMention(String id) |
Map<String,AceEntityMention> |
getEntityMentions() |
ArrayList<AceEntityMention> |
getEntityMentions(int sent) |
AceEvent |
getEvent(String id) |
AceEventMention |
getEventMention(String id) |
Map<String,AceEventMention> |
getEventMentions() |
ArrayList<AceEventMention> |
getEventMentions(int sent) |
Set<String> |
getKeySetEntities() |
String |
getPrefix() |
AceRelation |
getRelation(String id) |
AceRelationMention |
getRelationMention(String id) |
Map<String,AceRelationMention> |
getRelationMentions() |
ArrayList<AceRelationMention> |
getRelationMentions(int sent) |
List<AceToken> |
getSentence(int index) |
int |
getSentenceCount() |
List<List<AceToken>> |
getSentences() |
AceToken |
getToken(int i) |
int |
getTokenCount() |
boolean |
isApposition(int left,
int right) |
boolean |
isChunkHead(int pos) |
AceCharSeq |
makeCharSeq(int startToken,
int endToken) |
void |
matchCharSeqs(String filePrefix)
Matches all relevant mentions, i.e.
|
static AceDocument |
parseDocument(String prefix,
boolean usePredictedBoundaries)
Parses an ACE document.
|
static AceDocument |
parseDocument(String prefix,
boolean usePredictedBoundaries,
String AceVersion) |
boolean |
sameChunk(int left,
int right)
Verifies if the two tokens are part of the same chunk
|
void |
setPrefix(String p) |
void |
setSentences(List<List<AceToken>> sentences) |
void |
setSource(String p) |
String |
toString() |
String |
toXml(int offset) |