Uses of Class
opennlp.tools.coref.mention.MentionContext

Packages that use MentionContext
opennlp.tools.coref Package related to performing coreference resolution. 
opennlp.tools.coref.resolver Package related to resolution techniques for coreference resolution. 
 

Uses of MentionContext in opennlp.tools.coref
 

Methods in opennlp.tools.coref that return MentionContext
 MentionContext[] Linker.constructMentionContexts(Mention[] mentions)
          Creates mention contexts for the specified mention exents.
 MentionContext[] AbstractLinker.constructMentionContexts(Mention[] mentions)
           
 MentionContext DiscourseElement.getLastExtent()
          Returns the last mention for this element.
 

Methods in opennlp.tools.coref that return types with arguments of type MentionContext
 Iterator<MentionContext> DiscourseElement.getMentions()
          Returns an iterator over the mentions which iterates through them based on their occurrence in the document.
 Iterator<MentionContext> DiscourseElement.getRecentMentions()
          Returns an iterator over the mentions which iterates through them based on which were most recently mentioned.
 

Methods in opennlp.tools.coref with parameters of type MentionContext
 void DiscourseElement.addMention(MentionContext mention)
          Adds the specified mention to this discourse element.
protected  Gender DefaultLinker.computeGender(MentionContext mention)
           
protected abstract  Gender AbstractLinker.computeGender(MentionContext mention)
           
protected  Number DefaultLinker.computeNumber(MentionContext mention)
           
protected abstract  Number AbstractLinker.computeNumber(MentionContext mention)
           
protected  void AbstractLinker.resolve(MentionContext mention, DiscourseModel discourseModel)
          Resolves the specified mention to an entity in the specified discourse model or creates a new entity for the mention.
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.
 

Constructors in opennlp.tools.coref with parameters of type MentionContext
DiscourseElement(MentionContext mention)
          Creates a new discourse element which contains the specified mention.
DiscourseEntity(MentionContext mention)
          Creates a new entity based on the specified mention.
DiscourseEntity(MentionContext mention, GenderEnum gender, double genderProb, NumberEnum number, double numberProb)
          Creates a new entity based on the specified mention and its specified gender and number properties.
 

Uses of MentionContext in opennlp.tools.coref.resolver
 

Methods in opennlp.tools.coref.resolver that return MentionContext
static MentionContext ResolverUtils.getProperNounExtent(DiscourseEntity de)
           
 

Methods in opennlp.tools.coref.resolver with parameters of type MentionContext
 void NonReferentialResolver.addEvent(MentionContext mention)
          Designates that the specified mention be used for training.
 void FixedNonReferentialResolver.addEvent(MentionContext mention)
           
 void DefaultNonReferentialResolver.addEvent(MentionContext ec)
           
 boolean SpeechPronounResolver.canResolve(MentionContext mention)
           
 boolean SingularPronounResolver.canResolve(MentionContext mention)
           
 boolean Resolver.canResolve(MentionContext mention)
          Returns true if this resolver is able to resolve the referring expression of the same type as the specified mention.
 boolean ProperNounResolver.canResolve(MentionContext mention)
           
 boolean PluralPronounResolver.canResolve(MentionContext mention)
           
 boolean PluralNounResolver.canResolve(MentionContext mention)
           
 boolean PerfectResolver.canResolve(MentionContext ec)
           
 boolean IsAResolver.canResolve(MentionContext ec)
           
 boolean DefiniteNounResolver.canResolve(MentionContext mention)
           
 boolean CommonNounResolver.canResolve(MentionContext mention)
           
protected  boolean SpeechPronounResolver.excluded(MentionContext mention, DiscourseEntity entity)
           
 boolean SingularPronounResolver.excluded(MentionContext mention, DiscourseEntity entity)
           
 boolean ProperNounResolver.excluded(MentionContext mention, DiscourseEntity entity)
           
protected  boolean PluralNounResolver.excluded(MentionContext mention, DiscourseEntity entity)
           
protected  boolean MaxentResolver.excluded(MentionContext ec, DiscourseEntity de)
           
protected  boolean IsAResolver.excluded(MentionContext ec, DiscourseEntity de)
           
protected  boolean CommonNounResolver.excluded(MentionContext ec, DiscourseEntity de)
           
protected  boolean AbstractResolver.excluded(MentionContext mention, DiscourseEntity entity)
          Excludes entities which you are not compatible with the entity under consideration.
static String ResolverUtils.excludedDeterminerMentionString(MentionContext ec)
           
static String ResolverUtils.excludedHonorificMentionString(MentionContext ec)
           
static String ResolverUtils.excludedTheMentionString(MentionContext ec)
           
protected  String AbstractResolver.featureString(MentionContext mention)
          Returns the string of "_" delimited tokens for the specified mention.
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.getContextFeatures(MentionContext mention)
          Returns a list of features based on the surrounding context of the specified mention.
static List<String> ResolverUtils.getDistanceFeatures(MentionContext mention, DiscourseEntity entity)
          Returns distance features for the specified mention and entity.
static String ResolverUtils.getExactMatchFeature(MentionContext ec, MentionContext xec)
           
protected  List<String> DefaultNonReferentialResolver.getFeatures(MentionContext mention)
           
protected  List<String> SpeechPronounResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
protected  List<String> SingularPronounResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
protected  List<String> ProperNounResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
protected  List<String> PluralPronounResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
protected  List<String> PluralNounResolver.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> IsAResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
protected  List<String> DefiniteNounResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
protected  List<String> CommonNounResolver.getFeatures(MentionContext mention, DiscourseEntity entity)
           
static String ResolverUtils.getGenderCompatibilityFeature(MentionContext ec, DiscourseEntity de)
           
protected  Parse AbstractResolver.getHead(MentionContext mention)
          Returns the head parse for the specified mention.
protected  int AbstractResolver.getHeadIndex(MentionContext mention)
          Returns the index for the head word for the specified mention.
protected  String AbstractResolver.getHeadString(MentionContext mention)
          Returns the text of the head word for the specified mention.
protected  List<String> DefaultNonReferentialResolver.getNonReferentialFeatures(MentionContext mention)
          Returns a list of features used to predict whether the specified mention is non-referential.
 double NonReferentialResolver.getNonReferentialProbability(MentionContext mention)
          Returns the probability that the specified mention doesn't refer to any previous mention.
 double FixedNonReferentialResolver.getNonReferentialProbability(MentionContext mention)
           
 double DefaultNonReferentialResolver.getNonReferentialProbability(MentionContext mention)
           
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 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.
static String ResolverUtils.mentionString(MentionContext ec)
           
protected  boolean SpeechPronounResolver.outOfRange(MentionContext mention, DiscourseEntity entity)
           
protected  boolean SingularPronounResolver.outOfRange(MentionContext mention, DiscourseEntity entity)
           
protected  boolean PluralPronounResolver.outOfRange(MentionContext mention, DiscourseEntity entity)
           
protected  boolean PerfectResolver.outOfRange(MentionContext ec, DiscourseEntity de)
           
protected  boolean IsAResolver.outOfRange(MentionContext ec, DiscourseEntity de)
           
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.
 DiscourseEntity Resolver.resolve(MentionContext ec, DiscourseModel dm)
          Resolve this referring expression to a discourse entity in the discourse model.
 DiscourseEntity PerfectResolver.resolve(MentionContext ec, DiscourseModel dm)
           
 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)
           
static String ResolverUtils.stripNp(MentionContext mention)
          Returns a string for the specified mention with punctuation, honorifics, designators, and determiners removed.
 



Copyright © 2010. All Rights Reserved.