public class DeterministicSpeakerSieve extends MSSieve
Sieve.MentionData
animacySet, ANIMATE_NOUN, characterMap, doc, NAME, PRONOUN, pronounCorefMap, rootNameNode
Constructor and Description |
---|
DeterministicSpeakerSieve(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> animacySet) |
Modifier and Type | Method and Description |
---|---|
void |
doMentionToSpeaker(Annotation doc) |
createNameMatcher, doCoreference, findClosestMentionInSpanBackward, findClosestMentionInSpanForward, findClosestMentionsInSpanBackward, findClosestMentionsInSpanForward, getNamesInParagraph, getQuoteParagraph, oneSpeakerSentence, rangeContainsCharIndex, resolveAmbiguities, scanForAnimates, scanForNames, scanForNamesNew, scanForPronouns, scanForPronouns, tokenRangeToString, tokenRangeToString, tokenToLocation
public DeterministicSpeakerSieve(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> animacySet)
public void doMentionToSpeaker(Annotation doc)
doMentionToSpeaker
in class MSSieve