public class MentionChainImpl extends AbstractMentionChain
| Constructor and Description |
|---|
MentionChainImpl(Mention mention,
int offset,
int id)
Construct a mention chain implementation containing the
single specified mention at the specified offset, assigning
the chain the specified identifier.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
add(Mention mention)
Adds the specified mention appearing at the specified
sentence offset to this mention chain.
|
Killer[] |
killers()
The killing functions defined for this mention chain.
|
Matcher[] |
matchers()
The matching functions defined for this mention chain.
|
add, addHonorific, entityType, equals, equals, gender, hashCode, honorifics, identifier, killed, matchScore, maxSentenceOffset, mentions, setEntityType, setGender, toStringpublic MentionChainImpl(Mention mention, int offset, int id)
mention - Mention to add to mention chain.offset - Sentence offset of mention in document.id - Identifier for resulting mention chain.public Matcher[] matchers()
matchers in class AbstractMentionChainpublic Killer[] killers()
killers in class AbstractMentionChainprotected void add(Mention mention)
add in class AbstractMentionChainmention - Mention to add to this chain.Copyright © 2016 Alias-i, Inc.. All rights reserved.