Class CoreNlpParagraphAnnotator

  • All Implemented Interfaces:
    edu.stanford.nlp.pipeline.Annotator, IOOPAnnotator

    public class CoreNlpParagraphAnnotator
    extends edu.stanford.nlp.paragraphs.ParagraphAnnotator
    implements edu.stanford.nlp.pipeline.Annotator, IOOPAnnotator
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IParameterStore properties  
      • Fields inherited from class edu.stanford.nlp.paragraphs.ParagraphAnnotator

        PARAGRAPH_BREAK
      • 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 Detail

      • CoreNlpParagraphAnnotator

        public CoreNlpParagraphAnnotator()
    • Method Detail

      • requires

        public Set<Class<? extends edu.stanford.nlp.ling.CoreAnnotation>> requires()
        Specified by:
        requires in interface edu.stanford.nlp.pipeline.Annotator
        Overrides:
        requires in class edu.stanford.nlp.paragraphs.ParagraphAnnotator
      • score

        public void score​(edu.stanford.nlp.pipeline.CoreDocument document)
        Specified by:
        score in interface IOOPAnnotator
      • serialize

        public void serialize​(edu.stanford.nlp.pipeline.CoreDocument document,
                              com.fasterxml.jackson.databind.node.ObjectNode json)
        Specified by:
        serialize in interface IOOPAnnotator
      • serializeAggregateDocument

        public void serializeAggregateDocument​(edu.stanford.nlp.pipeline.CoreDocument document,
                                               com.fasterxml.jackson.databind.node.ObjectNode json)
        Specified by:
        serializeAggregateDocument in interface IOOPAnnotator