edu.stanford.nlp.pipeline
Class XMLOutputter

java.lang.Object
  extended by edu.stanford.nlp.pipeline.XMLOutputter

public class XMLOutputter
extends java.lang.Object


Constructor Summary
XMLOutputter()
           
 
Method Summary
static nu.xom.Document annotationToDoc(Annotation annotation, StanfordCoreNLP pipeline)
          Converts the given annotation to an XML document
static void xmlPrint(Annotation annotation, java.io.OutputStream os, StanfordCoreNLP pipeline)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLOutputter

public XMLOutputter()
Method Detail

xmlPrint

public static void xmlPrint(Annotation annotation,
                            java.io.OutputStream os,
                            StanfordCoreNLP pipeline)
                     throws java.io.IOException
Throws:
java.io.IOException

annotationToDoc

public static nu.xom.Document annotationToDoc(Annotation annotation,
                                              StanfordCoreNLP pipeline)
Converts the given annotation to an XML document



Stanford NLP Group