use of edu.stanford.nlp.quoteattribution.Sieves.MSSieves.LooseConversationalSpeakerSieve in project CoreNLP by stanfordnlp.
the class QuoteAttributionAnnotator method getMSMapping.
private Map<String, MSSieve> getMSMapping(Annotation doc, Map<Integer, String> pronounCorefMap) {
Map<String, MSSieve> map = new HashMap<>();
map.put("det", new DeterministicSpeakerSieve(doc, characterMap, pronounCorefMap, animacyList));
map.put("loose", new LooseConversationalSpeakerSieve(doc, characterMap, pronounCorefMap, animacyList));
map.put("top", new BaselineTopSpeakerSieve(doc, characterMap, pronounCorefMap, animacyList, genderMap, familyRelations));
map.put("maj", new MajoritySpeakerSieve(doc, characterMap, pronounCorefMap, animacyList));
return map;
}
Aggregations