| Package | Description |
|---|---|
| com.aliasi.coref |
Classes for determining entity coreference within documents.
|
| com.aliasi.coref.matchers |
Classes for matching and killing functions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CachedMention
A
CachedMention stores all of the retun values
specified by the Mention interface. |
| Modifier and Type | Method and Description |
|---|---|
Mention |
MentionFactory.create(String phrase,
String entityType)
Return a mention based on the specified phrase and entity type.
|
Mention |
AbstractMentionFactory.create(String phrase,
String entityType)
Return a mention based on the specified phrase and entity type.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Mention> |
MentionChain.mentions()
Returns the set of mentions underlying this mention chain.
|
Set<Mention> |
AbstractMentionChain.mentions()
Returns the set of mentions underlying this mention chain.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
MentionChainImpl.add(Mention mention)
Adds the specified mention appearing at the specified
sentence offset to this mention chain.
|
protected void |
AbstractMentionChain.add(Mention mention)
Adds the specified mention appearing at the specified sentence
offset to this mention chain.
|
void |
MentionChain.add(Mention mention,
int sentenceOffset)
Adds the specified mention appearing at the specified
sentence offset to this mention chain.
|
void |
AbstractMentionChain.add(Mention mention,
int sentenceOffset)
Adds the specified mention appearing at the specified
sentence offset to this mention chain, and calls the
method
AbstractMentionChain.add(Mention), which may be overridden
by subclasses to carry out additional bookkeeping when
new mentions are added. |
boolean |
Killer.kill(Mention mention,
MentionChain chain)
Return
true if the match between mention and
mention chain should be excluded. |
boolean |
MentionChain.killed(Mention mention)
Returns
true if there is a killing function that
defeats the match of the mention against the mention chain. |
boolean |
AbstractMentionChain.killed(Mention mention)
Returns
true if there is a killing function that
defeats the match of the mention against the mention chain. |
int |
Matcher.match(Mention mention,
MentionChain chain)
Returns the match score between a specified mention and mention
chain.
|
int |
BooleanMatcherAdapter.match(Mention mention,
MentionChain mentionChain)
Final implementation of the matching function required by
Matcher. |
abstract boolean |
BooleanMatcherAdapter.matchBoolean(Mention mention,
MentionChain mentionChain)
Returns
true if the specified mention matches
the specified mention chain. |
int |
MentionChain.matchScore(Mention mention)
Returns the best match score of the mention versus the mention
chain according to the matching functions determined by the
antecedent.
|
int |
AbstractMentionChain.matchScore(Mention mention)
Returns the best match score of the mention versus the mention
chain according to the matching functions determined by the
antecedent.
|
MentionChain |
MentionFactory.promote(Mention mention,
int offset)
Returns a new mention chain based on the specified mention.
|
MentionChain |
AbstractMentionFactory.promote(Mention mention,
int offset)
Returns a new mention chain based on the specified mention.
|
int |
WithinDocCoref.resolveMention(Mention mention,
int offset)
Resolves a specified mention at a specified offset, returning
the integer identifier of the mention, or
-1 if the
mention could not be resolved, which should only occur for
pronominal mentions. |
| Constructor and Description |
|---|
AbstractMentionChain(Mention mention,
int offset,
int identifier) |
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 |
|---|---|
boolean |
GenderKiller.kill(Mention mention,
MentionChain chain)
Returns
true if the specified mention and
mention chain have incompatible genders. |
boolean |
HonorificConflictKiller.kill(Mention mention,
MentionChain chain)
Returns
true if the specified mention
and mention chain have incompatible honorifics. |
boolean |
ExactPhraseMatch.matchBoolean(Mention mention,
MentionChain chain)
Returns
true if the normal phrase of the mention
is equal to the normal phrase of a mention in the mention chain. |
boolean |
SequenceSubstringMatch.matchBoolean(Mention mention,
MentionChain chain)
Returns
true if the normal tokens in the mention
are within a threshold edit distance of the normal tokens in
one of the mentions in the chain. |
boolean |
SynonymMatch.matchBoolean(Mention mention,
MentionChain chain)
Returns
true if the mention's normal phrase has a
synonym that is the normal phrase of one of the chain's mentions. |
boolean |
EntityTypeMatch.matchBoolean(Mention mention,
MentionChain chain)
Returns
true if the mention has the type
that was specified in the constructor. |
Copyright © 2016 Alias-i, Inc.. All rights reserved.