edu.stanford.nlp.dcoref
Class RuleBasedCorefMentionFinder

java.lang.Object
  extended by edu.stanford.nlp.dcoref.RuleBasedCorefMentionFinder
All Implemented Interfaces:
CorefMentionFinder

public class RuleBasedCorefMentionFinder
extends java.lang.Object
implements CorefMentionFinder


Field Summary
protected  Annotator parserProcessor
           
 
Constructor Summary
RuleBasedCorefMentionFinder()
           
 
Method Summary
 java.util.List<java.util.List<Mention>> extractPredictedMentions(Annotation doc, int _maxID, Dictionaries dict)
          Main method of mention detection.
 java.util.List<java.util.List<Mention>> filterPredictedMentions(java.util.List<java.util.List<Mention>> allGoldMentions, Annotation doc, Dictionaries dict)
          When mention boundaries are given
protected  Tree findSyntacticHead(Mention m, Tree root, java.util.List<CoreLabel> tokens)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parserProcessor

protected Annotator parserProcessor
Constructor Detail

RuleBasedCorefMentionFinder

public RuleBasedCorefMentionFinder()
Method Detail

filterPredictedMentions

public java.util.List<java.util.List<Mention>> filterPredictedMentions(java.util.List<java.util.List<Mention>> allGoldMentions,
                                                                       Annotation doc,
                                                                       Dictionaries dict)
When mention boundaries are given


extractPredictedMentions

public java.util.List<java.util.List<Mention>> extractPredictedMentions(Annotation doc,
                                                                        int _maxID,
                                                                        Dictionaries dict)
Main method of mention detection. Extract all NP, PRP or NE, and filter out by manually written patterns

Specified by:
extractPredictedMentions in interface CorefMentionFinder

findSyntacticHead

protected Tree findSyntacticHead(Mention m,
                                 Tree root,
                                 java.util.List<CoreLabel> tokens)


Stanford NLP Group