public class JSONOutputter extends AnnotationOutputter
AnnotationOutputter.Options| Constructor and Description |
|---|
JSONOutputter() |
JSONOutputter(com.google.gson.GsonBuilder gsonBuilder) |
| Modifier and Type | Method and Description |
|---|---|
static String |
jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation) |
static String |
jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
AnnotationOutputter.Options options) |
static void |
jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os) |
static void |
jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
AnnotationOutputter.Options options) |
static void |
jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
edu.stanford.nlp.pipeline.StanfordCoreNLP pipeline) |
static String |
jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation) |
static void |
jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os) |
static void |
jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
AnnotationOutputter.Options options) |
static void |
jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
edu.stanford.nlp.pipeline.StanfordCoreNLP pipeline) |
void |
print(edu.stanford.nlp.pipeline.Annotation doc,
OutputStream target,
AnnotationOutputter.Options options) |
getOptions, print, print, print, print, printpublic JSONOutputter(com.google.gson.GsonBuilder gsonBuilder)
public JSONOutputter()
public void print(edu.stanford.nlp.pipeline.Annotation doc,
OutputStream target,
AnnotationOutputter.Options options)
throws IOException
print in class AnnotationOutputterIOExceptionpublic static String jsonPrint(com.google.gson.GsonBuilder gsonBuilder, edu.stanford.nlp.pipeline.Annotation annotation) throws IOException
IOExceptionpublic static void jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os)
throws IOException
IOExceptionpublic static void jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
edu.stanford.nlp.pipeline.StanfordCoreNLP pipeline)
throws IOException
IOExceptionpublic static void jsonPrint(com.google.gson.GsonBuilder gsonBuilder,
edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
AnnotationOutputter.Options options)
throws IOException
IOExceptionpublic static String jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation) throws IOException
IOExceptionpublic static String jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation, AnnotationOutputter.Options options) throws IOException
IOExceptionpublic static void jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os)
throws IOException
IOExceptionpublic static void jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
edu.stanford.nlp.pipeline.StanfordCoreNLP pipeline)
throws IOException
IOExceptionpublic static void jsonPrint(edu.stanford.nlp.pipeline.Annotation annotation,
OutputStream os,
AnnotationOutputter.Options options)
throws IOException
IOExceptionCopyright © 2016–2018 FBK. All rights reserved.