Class QMSieve
- java.lang.Object
-
- edu.stanford.nlp.quoteattribution.Sieves.Sieve
-
- edu.stanford.nlp.quoteattribution.Sieves.QMSieves.QMSieve
-
- Direct Known Subclasses:
ClosestMentionSieve,ConversationalSieve,DependencyParseSieve,LooseConversationalSieve,OneNameSentenceSieve,ParagraphEndQuoteClosestSieve,SupervisedSieve,TrigramSieve,VocativeSieve
public abstract class QMSieve extends Sieve
- Author:
- Michael Fang
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.stanford.nlp.quoteattribution.Sieves.Sieve
Sieve.MentionData
-
-
Field Summary
Fields Modifier and Type Field Description protected static Set<String>beforeQuotePunctuationA logger for this classprotected static Set<String>commonSpeechWordsprotected StringsieveNameprotected static SemgrexPatternsubjVerbPattern-
Fields inherited from class edu.stanford.nlp.quoteattribution.Sieves.Sieve
animacySet, ANIMATE_NOUN, characterMap, doc, NAME, PRONOUN, pronounCorefMap, rootNameNode
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voiddoQuoteToMention(Annotation doc)protected static voidfillInMention(CoreMap quote, Sieve.MentionData md, String sieveName)static voidfillInMention(CoreMap quote, String text, int begin, int end, String sieveName, String mentionType)protected Sieve.MentionDatagetMentionData(CoreMap quote)-
Methods inherited from class edu.stanford.nlp.quoteattribution.Sieves.Sieve
createNameMatcher, doCoreference, findClosestMentionInSpanBackward, findClosestMentionInSpanForward, findClosestMentionsInSpanBackward, findClosestMentionsInSpanForward, getNamesInParagraph, getQuoteParagraph, oneSpeakerSentence, rangeContainsCharIndex, resolveAmbiguities, scanForAnimates, scanForNames, scanForNamesNew, scanForPronouns, scanForPronouns, tokenRangeToString, tokenRangeToString, tokenToLocation
-
-
-
-
Method Detail
-
doQuoteToMention
public abstract void doQuoteToMention(Annotation doc)
-
fillInMention
public static void fillInMention(CoreMap quote, String text, int begin, int end, String sieveName, String mentionType)
-
fillInMention
protected static void fillInMention(CoreMap quote, Sieve.MentionData md, String sieveName)
-
getMentionData
protected Sieve.MentionData getMentionData(CoreMap quote)
-
-