Package | Description |
---|---|
opennlp.tools.coref |
Package related to performing coreference resolution.
|
opennlp.tools.coref.resolver |
Package related to resolution techniques for coreference resolution.
|
Modifier and Type | Field and Description |
---|---|
protected DiscourseEntity[] |
AbstractLinker.entities
Array used to store the results of each call made to the linker.
|
Modifier and Type | Method and Description |
---|---|
protected DiscourseEntity |
AbstractLinker.checkForMerges(DiscourseModel dm,
DiscourseEntity[] des) |
DiscourseEntity[] |
DiscourseModel.getEntities()
Returns the entities in the discourse model.
|
DiscourseEntity[] |
Linker.getEntities(Mention[] mentions)
Returns a list of entities which group the mentions into entity classes.
|
DiscourseEntity[] |
AbstractLinker.getEntities(Mention[] mentions) |
DiscourseEntity |
DiscourseModel.getEntity(int i)
Returns the entity at the specified index.
|
Modifier and Type | Method and Description |
---|---|
void |
DiscourseModel.addEntity(DiscourseEntity e)
Adds the specified entity to this discourse model.
|
protected DiscourseEntity |
AbstractLinker.checkForMerges(DiscourseModel dm,
DiscourseEntity[] des) |
void |
DiscourseModel.mentionEntity(DiscourseEntity e)
Indicates that the specified entity has been mentioned.
|
void |
DiscourseModel.mergeEntities(DiscourseEntity e1,
DiscourseEntity e2,
float confidence)
Merges the specified entities into a single entity with the specified confidence.
|
protected void |
AbstractLinker.updateExtent(DiscourseModel dm,
MentionContext mention,
DiscourseEntity entity,
boolean useDiscourseModel)
Updates the specified discourse model with the specified mention as coreferent with the specified entity.
|
Modifier and Type | Method and Description |
---|---|
DiscourseEntity |
PerfectResolver.resolve(MentionContext ec,
DiscourseModel dm) |
DiscourseEntity |
Resolver.resolve(MentionContext ec,
DiscourseModel dm)
Resolve this referring expression to a discourse entity in the discourse model.
|
DiscourseEntity |
MaxentResolver.resolve(MentionContext ec,
DiscourseModel dm) |
DiscourseEntity |
Resolver.retain(MentionContext mention,
DiscourseModel model)
Uses the specified mention and discourse model to train this resolver.
|
DiscourseEntity |
MaxentResolver.retain(MentionContext mention,
DiscourseModel dm) |
DiscourseEntity |
AbstractResolver.retain(MentionContext mention,
DiscourseModel dm) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
MaxentResolver.defaultReferent(DiscourseEntity de)
Returns whether the specified entity satisfies the criteria for being a default referent.
|
protected boolean |
IsAResolver.defaultReferent(DiscourseEntity de) |
protected boolean |
SpeechPronounResolver.excluded(MentionContext mention,
DiscourseEntity entity) |
boolean |
SingularPronounResolver.excluded(MentionContext mention,
DiscourseEntity entity) |
protected boolean |
CommonNounResolver.excluded(MentionContext ec,
DiscourseEntity de) |
protected boolean |
MaxentResolver.excluded(MentionContext ec,
DiscourseEntity de) |
protected boolean |
PluralNounResolver.excluded(MentionContext mention,
DiscourseEntity entity) |
boolean |
ProperNounResolver.excluded(MentionContext mention,
DiscourseEntity entity) |
protected boolean |
AbstractResolver.excluded(MentionContext mention,
DiscourseEntity entity)
Excludes entities which you are not compatible with the entity under consideration.
|
protected boolean |
IsAResolver.excluded(MentionContext ec,
DiscourseEntity de) |
protected List<String> |
ProperNounResolver.getAcronymFeatures(MentionContext mention,
DiscourseEntity entity) |
static List<String> |
ResolverUtils.getCompatibilityFeatures(MentionContext mention,
DiscourseEntity entity,
TestSimilarityModel simModel)
Returns features indicating whether the specified mention and the specified entity are compatible.
|
static List<String> |
ResolverUtils.getDistanceFeatures(MentionContext mention,
DiscourseEntity entity)
Returns distance features for the specified mention and entity.
|
protected List<String> |
SpeechPronounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
DefiniteNounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
PluralPronounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
SingularPronounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
CommonNounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
MaxentResolver.getFeatures(MentionContext mention,
DiscourseEntity entity)
Returns a list of features for deciding whether the specified mention refers to the specified discourse entity.
|
protected List<String> |
PluralNounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
ProperNounResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
protected List<String> |
IsAResolver.getFeatures(MentionContext mention,
DiscourseEntity entity) |
static String |
ResolverUtils.getGenderCompatibilityFeature(MentionContext ec,
DiscourseEntity de) |
static String |
ResolverUtils.getMentionCountFeature(DiscourseEntity de) |
static String |
ResolverUtils.getNumberCompatibilityFeature(MentionContext ec,
DiscourseEntity de) |
static List<String> |
ResolverUtils.getPronounMatchFeatures(MentionContext mention,
DiscourseEntity entity)
Returns features indicating whether the specified mention is compatible with the pronouns
of the specified entity.
|
static MentionContext |
ResolverUtils.getProperNounExtent(DiscourseEntity de) |
static String |
ResolverUtils.getSemanticCompatibilityFeature(MentionContext ec,
DiscourseEntity de,
TestSimilarityModel simModel) |
static List<String> |
ResolverUtils.getStringMatchFeatures(MentionContext mention,
DiscourseEntity entity)
Returns string-match features for the the specified mention and entity.
|
protected boolean |
PerfectResolver.outOfRange(MentionContext ec,
DiscourseEntity de) |
protected boolean |
SpeechPronounResolver.outOfRange(MentionContext mention,
DiscourseEntity entity) |
protected boolean |
PluralPronounResolver.outOfRange(MentionContext mention,
DiscourseEntity entity) |
protected boolean |
SingularPronounResolver.outOfRange(MentionContext mention,
DiscourseEntity entity) |
protected boolean |
AbstractResolver.outOfRange(MentionContext mention,
DiscourseEntity entity)
Determines if the specified entity is too far from the specified mention to be resolved to it.
|
protected boolean |
IsAResolver.outOfRange(MentionContext ec,
DiscourseEntity de) |
Copyright © 2019 The Apache Software Foundation. All rights reserved.