public class StanfordParseHandler extends Annotator
config, isInitialized, requiredViews, viewName| Constructor and Description |
|---|
StanfordParseHandler(edu.stanford.nlp.pipeline.POSTaggerAnnotator posAnnotator,
edu.stanford.nlp.pipeline.ParserAnnotator parseAnnotator) |
StanfordParseHandler(edu.stanford.nlp.pipeline.POSTaggerAnnotator posAnnotator,
edu.stanford.nlp.pipeline.ParserAnnotator parseAnnotator,
int maxSentenceLength,
boolean throwExceptionOnSentenceLengthCheck) |
| Modifier and Type | Method and Description |
|---|---|
void |
addView(TextAnnotation textAnnotation)
create and add the view named by getViewName() to the TextAnnotation argument.
|
void |
initialize(ResourceManager resourceManager)
noop
|
doInitialize, getRequiredViews, getTagValues, getView, getViewName, isInitialized, isSentenceLevelpublic StanfordParseHandler(edu.stanford.nlp.pipeline.POSTaggerAnnotator posAnnotator,
edu.stanford.nlp.pipeline.ParserAnnotator parseAnnotator)
public StanfordParseHandler(edu.stanford.nlp.pipeline.POSTaggerAnnotator posAnnotator,
edu.stanford.nlp.pipeline.ParserAnnotator parseAnnotator,
int maxSentenceLength,
boolean throwExceptionOnSentenceLengthCheck)
public void initialize(ResourceManager resourceManager)
initialize in class AnnotatorresourceManager - public void addView(TextAnnotation textAnnotation) throws AnnotatorException
AnnotatoraddView in class AnnotatortextAnnotation - the TextAnnotation to modify.AnnotatorExceptionCopyright © 2017. All rights reserved.