public abstract class QMSieve extends Sieve
Sieve.MentionData| Modifier and Type | Field and Description |
|---|---|
protected static Set<String> |
beforeQuotePunctuation |
protected static Set<String> |
commonSpeechWords |
protected String |
sieveName |
protected static SemgrexPattern |
subjVerbPattern |
animacySet, ANIMATE_NOUN, characterMap, doc, NAME, PRONOUN, pronounCorefMap, rootNameNode| Constructor and Description |
|---|
QMSieve(Annotation doc,
Map<String,List<Person>> characterMap,
Map<Integer,String> pronounCorefMap,
Set<String> animacySet,
String sieveName) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doQuoteToMention(Annotation doc) |
protected static void |
fillInMention(CoreMap quote,
Sieve.MentionData md,
String sieveName) |
static void |
fillInMention(CoreMap quote,
String text,
int begin,
int end,
String sieveName,
String mentionType) |
protected Sieve.MentionData |
getMentionData(CoreMap quote) |
createNameMatcher, doCoreference, findClosestMentionInSpanBackward, findClosestMentionInSpanForward, findClosestMentionsInSpanBackward, findClosestMentionsInSpanForward, getNamesInParagraph, getQuoteParagraph, oneSpeakerSentence, rangeContainsCharIndex, resolveAmbiguities, scanForAnimates, scanForNames, scanForNamesNew, scanForPronouns, scanForPronouns, tokenRangeToString, tokenRangeToString, tokenToLocationprotected static final SemgrexPattern subjVerbPattern
protected String sieveName
public abstract void doQuoteToMention(Annotation doc)
public static void fillInMention(CoreMap quote, String text, int begin, int end, String sieveName, String mentionType)
protected static void fillInMention(CoreMap quote, Sieve.MentionData md, String sieveName)
protected Sieve.MentionData getMentionData(CoreMap quote)