Example usage for Java edu.stanford.nlp.pipeline Annotation fields, constructors, methods, implement or subclass
The text is from its open source code.
Annotation(Annotation map) Copy constructor. | |
Annotation(String text) The text becomes the CoreAnnotations.TextAnnotation of the newly created Annotation. | |
Annotation(List Make a new Annotation from a List of tokenized sentences. |
void | compact() Reduces memory consumption to the minimum for representing the values currently stored stored in this object. |
boolean | containsKey(Class extends Key |
Annotation | copy() Copies the map, but not a deep copy. |
VALUE | get(Class extends Key |
Set | keySet() |
VALUE | remove(Class extends Key |
VALUE | set(Class extends Key |
String | toString() The basic toString() method of an Annotation simply prints out the text over which any annotations have been made (TextAnnotation). |