Class PossessivesAnnotator
- java.lang.Object
-
- io.outofprintmagazine.nlp.pipeline.annotators.AbstractAnnotator
-
- io.outofprintmagazine.nlp.pipeline.annotators.AbstractPosAnnotator
-
- io.outofprintmagazine.nlp.pipeline.annotators.PossessivesAnnotator
-
- All Implemented Interfaces:
edu.stanford.nlp.pipeline.Annotator
,IOOPAnnotator
public class PossessivesAnnotator extends AbstractPosAnnotator implements edu.stanford.nlp.pipeline.Annotator, IOOPAnnotator
-
-
Field Summary
-
Fields inherited from class io.outofprintmagazine.nlp.pipeline.annotators.AbstractPosAnnotator
tags
-
Fields inherited from class io.outofprintmagazine.nlp.pipeline.annotators.AbstractAnnotator
dictionaryPOS, parameterStore, punctuationMarks, scorer, serializer
-
Fields inherited from interface edu.stanford.nlp.pipeline.Annotator
DEFAULT_REQUIREMENTS, 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 Summary
Constructors Constructor Description PossessivesAnnotator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
annotate(edu.stanford.nlp.pipeline.Annotation annotation)
Class
getAnnotationClass()
String
getDescription()
-
Methods inherited from class io.outofprintmagazine.nlp.pipeline.annotators.AbstractPosAnnotator
appendTagsFromFile, getTags, requires, scoreLemma, scoreLemma, scoreTag, scoreTag, scoreToken, scoreToken, setTags
-
Methods inherited from class io.outofprintmagazine.nlp.pipeline.annotators.AbstractAnnotator
addToScoreList, addToScoreMap, getContextWords, getParameterStore, getScorer, getSerializer, hasPunctuationMark, init, isDictionaryWord, isPunctuationMark, requirementsSatisfied, score, serialize, serializeAggregateDocument, setScorer, setSerializer, toAlphaNumeric
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface edu.stanford.nlp.pipeline.Annotator
requirementsSatisfied, requires, unmount
-
Methods inherited from interface io.outofprintmagazine.nlp.pipeline.annotators.IOOPAnnotator
init, score, serialize, serializeAggregateDocument
-
-
-
-
Method Detail
-
getAnnotationClass
public Class getAnnotationClass()
- Specified by:
getAnnotationClass
in interfaceIOOPAnnotator
- Specified by:
getAnnotationClass
in classAbstractAnnotator
-
annotate
public void annotate(edu.stanford.nlp.pipeline.Annotation annotation)
- Specified by:
annotate
in interfaceedu.stanford.nlp.pipeline.Annotator
- Specified by:
annotate
in classAbstractAnnotator
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceIOOPAnnotator
-
-