Interface IOOPAnnotator
-
- All Superinterfaces:
edu.stanford.nlp.pipeline.Annotator
- All Known Implementing Classes:
AbstractAnnotator
,AbstractContextualAnnotator
,AbstractPosAnnotator
,AbstractTreeAnnotator
,ActionlessVerbsAnnotator
,ActorsAnnotator
,AdjectiveCategoriesAnnotator
,AdjectivesAnnotator
,AdverbCategoriesAnnotator
,AdverbsAnnotator
,AmericanizeAnnotator
,AngliciseAnnotator
,AsAnnotator
,BecauseAnnotator
,BiberAnnotator
,BiberDimensionsAnnotator
,CharCountAnnotator
,ColorsAnnotator
,CommonWordsAnnotator
,CoreNlpGenderAnnotator
,CoreNlpParagraphAnnotator
,CoreNlpSentimentAnnotator
,DatesAnnotator
,FlavorsAnnotator
,FleschKincaidAnnotator
,FunctionWordsAnnotator
,GenderAnnotator
,HowAnnotator
,IfAnnotator
,LikeAnnotator
,LocationsAnnotator
,MyersBriggsAnnotator
,NonAffirmativeAnnotator
,NounGroupsAnnotator
,NounHypernymsAnnotator
,NounsAnnotator
,ParagraphCountAnnotator
,PeopleAnnotator
,PerfecttenseAnnotator
,PointlessAdjectivesAnnotator
,PointlessAdverbsAnnotator
,PossessivesAnnotator
,PrepositionCategoriesAnnotator
,PrepositionsAnnotator
,PronounAnnotator
,PunctuationMarkAnnotator
,QuotesAnnotator
,SentenceCountAnnotator
,SettingsAnnotator
,SVOAnnotator
,SyllableCountAnnotator
,TemporalNGramsAnnotator
,TokenCountAnnotator
,TopicsAnnotator
,UncommonWordsAnnotator
,VaderSentimentAnnotator
,VerbGroupsAnnotator
,VerbHypernymsAnnotator
,VerblessSentencesAnnotator
,VerbnetGroupsAnnotator
,VerbsAnnotator
,VerbTenseAnnotator
,WhatAnnotator
,WhenAnnotator
,WhereAnnotator
,WhoAnnotator
,WhyAnnotator
,WikipediaCategoriesAnnotator
,WikipediaGlossAnnotator
,WikipediaPageviewTopicsAnnotator
,WordCountAnnotator
,WordlessWordsAnnotator
,WordnetGlossAnnotator
,WordsAnnotator
public interface IOOPAnnotator extends edu.stanford.nlp.pipeline.Annotator
Interface for all custom annotators.
Extends the corenlp annotator interface.
Implementations must be re-entrant.
Instances will be used by Analyzer as follows:
IOOPAnnotator oopAnnotator = new Annotator(); oopAnnotator.init(parameterStore); oopAnnotator.annotate(coreDocument); oopAnnotator.serialize(coreDocument, json); oopAnnotator.serializeAggregateDocument(coreDocument, json); oopAnnotator.getAnnotationClass(); oopAnnotator.getDescription();
- Author:
- Ram Sadasiv
- See Also:
AbstractAnnotator
-
-
Field Summary
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class
getAnnotationClass()
String
getDescription()
void
init(IParameterStore properties)
void
score(edu.stanford.nlp.pipeline.CoreDocument document)
void
serialize(edu.stanford.nlp.pipeline.CoreDocument document, com.fasterxml.jackson.databind.node.ObjectNode json)
void
serializeAggregateDocument(edu.stanford.nlp.pipeline.CoreDocument document, com.fasterxml.jackson.databind.node.ObjectNode json)
-
-
-
Method Detail
-
getAnnotationClass
Class getAnnotationClass()
-
getDescription
String getDescription()
-
score
void score(edu.stanford.nlp.pipeline.CoreDocument document)
-
serialize
void serialize(edu.stanford.nlp.pipeline.CoreDocument document, com.fasterxml.jackson.databind.node.ObjectNode json)
-
serializeAggregateDocument
void serializeAggregateDocument(edu.stanford.nlp.pipeline.CoreDocument document, com.fasterxml.jackson.databind.node.ObjectNode json)
-
init
void init(IParameterStore properties)
-
-