public class QuoteAttributionAnnotator extends java.lang.Object implements Annotator
Modifier and Type | Class and Description |
---|---|
static class |
QuoteAttributionAnnotator.CanonicalMentionAnnotation |
static class |
QuoteAttributionAnnotator.CanonicalMentionBeginAnnotation |
static class |
QuoteAttributionAnnotator.CanonicalMentionEndAnnotation |
static class |
QuoteAttributionAnnotator.MentionAnnotation |
static class |
QuoteAttributionAnnotator.MentionBeginAnnotation |
static class |
QuoteAttributionAnnotator.MentionEndAnnotation |
static class |
QuoteAttributionAnnotator.MentionSieveAnnotation |
static class |
QuoteAttributionAnnotator.MentionTypeAnnotation |
static class |
QuoteAttributionAnnotator.SpeakerAnnotation |
static class |
QuoteAttributionAnnotator.SpeakerSieveAnnotation |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANIMACY_WORD_LIST |
boolean |
buildCharacterMapPerAnnotation |
static java.lang.String |
CHARACTERS_FILE |
static java.lang.String |
COREF_PATH |
static java.lang.String |
DEFAULT_MODEL_PATH |
static java.lang.String |
DEFAULT_MSSIEVES |
static java.lang.String |
DEFAULT_QMSIEVES |
static java.lang.String |
MODEL_PATH |
boolean |
useCoref |
boolean |
VERBOSE |
DEFAULT_REQUIREMENTS, STANFORD_CDC_TOKENIZE, STANFORD_CLEAN_XML, STANFORD_COLUMN_DATA_CLASSIFIER, STANFORD_COREF, STANFORD_COREF_MENTION, STANFORD_DEPENDENCIES, STANFORD_DETERMINISTIC_COREF, STANFORD_DOCDATE, STANFORD_ENTITY_MENTIONS, STANFORD_GENDER, STANFORD_KBP, STANFORD_LEMMA, STANFORD_LINK, STANFORD_MWT, STANFORD_NATLOG, STANFORD_NER, STANFORD_OPENIE, STANFORD_PARSE, STANFORD_POS, STANFORD_QUOTE, STANFORD_QUOTE_ATTRIBUTION, STANFORD_REGEXNER, STANFORD_RELATION, STANFORD_SENTIMENT, STANFORD_SSPLIT, STANFORD_TOKENIZE, STANFORD_TOKENSREGEX, STANFORD_TRUECASE, STANFORD_UD_FEATURES
Constructor and Description |
---|
QuoteAttributionAnnotator(java.util.Properties props) |
Modifier and Type | Method and Description |
---|---|
void |
annotate(Annotation annotation)
Given an Annotation, perform a task on this Annotation.
|
void |
entityMentionsToCharacterMap(Annotation annotation)
if no character list is provided, produce a list of person names from entity mentions annotation
|
java.util.Set<java.lang.Class<? extends CoreAnnotation>> |
requirementsSatisfied()
Returns a set of requirements for which tasks this annotator can
provide.
|
java.util.Set<java.lang.Class<? extends CoreAnnotation>> |
requires()
Returns the set of tasks which this annotator requires in order
to perform.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
exactRequirements, unmount
public static final java.lang.String DEFAULT_QMSIEVES
public static final java.lang.String DEFAULT_MSSIEVES
public static final java.lang.String DEFAULT_MODEL_PATH
public static java.lang.String ANIMACY_WORD_LIST
public static java.lang.String COREF_PATH
public static java.lang.String MODEL_PATH
public static java.lang.String CHARACTERS_FILE
public boolean buildCharacterMapPerAnnotation
public boolean useCoref
public final boolean VERBOSE
public QuoteAttributionAnnotator(java.util.Properties props)
public void entityMentionsToCharacterMap(Annotation annotation)
public void annotate(Annotation annotation)
Annotator
public java.util.Set<java.lang.Class<? extends CoreAnnotation>> requirementsSatisfied()
Annotator
requirementsSatisfied
in interface Annotator
public java.util.Set<java.lang.Class<? extends CoreAnnotation>> requires()
Annotator