public class SupervisedSieve extends QMSieve
Sieve.MentionDatabeforeQuotePunctuation, commonSpeechWords, sieveName, subjVerbPatternanimacySet, ANIMATE_NOUN, characterMap, doc, NAME, PRONOUN, pronounCorefMap, rootNameNode| Constructor and Description |
|---|
SupervisedSieve(Annotation doc,
java.util.Map<java.lang.String,java.util.List<Person>> characterMap,
java.util.Map<java.lang.Integer,java.lang.String> pronounCorefMap,
java.util.Set<java.lang.String> animacyList) |
| Modifier and Type | Method and Description |
|---|---|
void |
doQuoteToMention(Annotation doc) |
void |
loadModel(java.lang.String filename) |
fillInMention, fillInMention, getMentionDatacreateNameMatcher, doCoreference, findClosestMentionInSpanBackward, findClosestMentionInSpanForward, findClosestMentionsInSpanBackward, findClosestMentionsInSpanForward, getNamesInParagraph, getQuoteParagraph, oneSpeakerSentence, rangeContainsCharIndex, resolveAmbiguities, scanForAnimates, scanForNames, scanForNamesNew, scanForPronouns, scanForPronouns, tokenRangeToString, tokenRangeToString, tokenToLocationpublic SupervisedSieve(Annotation doc, java.util.Map<java.lang.String,java.util.List<Person>> characterMap, java.util.Map<java.lang.Integer,java.lang.String> pronounCorefMap, java.util.Set<java.lang.String> animacyList)
public void loadModel(java.lang.String filename)
public void doQuoteToMention(Annotation doc)
doQuoteToMention in class QMSieve