| 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 |
AbstractMentionChain
An abstract implementation of a mention chain in terms of matching
and killing functions.
|
class |
MentionChainImpl
An implementation of mention chains.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<MentionChain> |
WithinDocCoref.SENTENCE_FINAL_COMPARATOR
A comparator for comparing two mentions chains.
|
| Modifier and Type | Method and Description |
|---|---|
MentionChain[] |
WithinDocCoref.mentionChains()
Returns the set of mention chains, sorted in order of
identifier from first appearance to last.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractMentionChain.equals(MentionChain that)
Returns
true if the specified mention chain is
equal to this mention chain. |
boolean |
Killer.kill(Mention mention,
MentionChain chain)
Return
true if the match between mention and
mention chain should be excluded. |
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. |
| 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.