Package | Description |
---|---|
opennlp.tools.coref |
Package related to performing coreference resolution.
|
opennlp.tools.coref.mention |
Package related to the modeling mentions for coreference resolution.
|
opennlp.tools.coref.sim |
Package related to the modeling mention similarity for coreference resolution.
|
Modifier and Type | Method and Description |
---|---|
MentionContext[] |
Linker.constructMentionContexts(Mention[] mentions)
Creates mention contexts for the specified mention exents.
|
MentionContext[] |
AbstractLinker.constructMentionContexts(Mention[] mentions) |
DiscourseEntity[] |
Linker.getEntities(Mention[] mentions)
Returns a list of entities which group the mentions into entity classes.
|
DiscourseEntity[] |
AbstractLinker.getEntities(Mention[] mentions) |
void |
Linker.setEntities(Mention[] mentions)
Indicated that the specified mentions can be used to train this linker.
|
void |
AbstractLinker.setEntities(Mention[] mentions) |
Modifier and Type | Class and Description |
---|---|
class |
MentionContext
Data structure representation of a mention with additional contextual information.
|
Modifier and Type | Method and Description |
---|---|
Mention[] |
AbstractMentionFinder.getMentions(Parse p) |
Mention[] |
MentionFinder.getMentions(Parse parse)
Returns an array of mentions.
|
Modifier and Type | Method and Description |
---|---|
int |
Mention.compareTo(Mention e) |
Constructor and Description |
---|
Mention(Mention mention) |
MentionContext(Mention mention,
int mentionIndexInSentence,
int mentionsInSentence,
int mentionIndexInDocument,
int sentenceIndex,
HeadFinder headFinder)
Constructs context information for the specified mention.
|
Modifier and Type | Class and Description |
---|---|
class |
Context
Specifies the context of a mention for computing gender, number, and semantic compatibility.
|
Modifier and Type | Method and Description |
---|---|
static Context[] |
Context.constructContexts(Mention[] mentions,
HeadFinder headFinder) |
Constructor and Description |
---|
Context(Mention mention,
HeadFinder headFinder) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.