public class LabeledParsedStringDocument extends LabeledStringDocument implements LabeledParsedDocument
| Constructor and Description | 
|---|
| LabeledParsedStringDocument(String label,
                           DependencyExtractor extractor,
                           String parse) | 
| Modifier and Type | Method and Description | 
|---|---|
| DependencyTreeNode[] | parsedDocument()Returns the dependency tree of the next document as a sequence of  DependencyTreeNodeinstances. | 
| String | prettyPrintText()Returns a pretty-printed version of the document's text without any of
 the parsing-related annotation and using heuristics to appropriately
 space punctuation, quotes, and contractions. | 
| String | text()Returns the text of the parsed document without any of the
 parsing-related annotation, with each parsed token separated by
 whitespace. | 
labelreader, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitlabelpublic LabeledParsedStringDocument(String label, DependencyExtractor extractor, String parse)
public DependencyTreeNode[] parsedDocument()
DependencyTreeNode instances.parsedDocument in interface ParsedDocumentpublic String text()
text in interface ParsedDocumentpublic String prettyPrintText()
ParsedDocument.text(), but makes no claims as to reproducing the
 original surface form of the document prior to parsing.prettyPrintText in interface ParsedDocumentCopyright © 2012. All Rights Reserved.