Modifier and Type | Field and Description |
---|---|
AParseTree |
AAnalysis.parseTree
Parse tree
|
Modifier and Type | Method and Description |
---|---|
protected AParseTree |
AbstractDocumentFactory.getArtifactParseTree(int sentenceIdx)
Get parse tree
|
AParseTree |
AParseTree.getNode() |
AParseTree |
AbstractDocumentFactory.getParseTree(int sentenceIdx) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<TreeWalker.ITree<AParseTree>> |
APartsOfSpeechFactory.ATree.children() |
Modifier and Type | Method and Description |
---|---|
APartsOfSpeech |
APartsOfSpeechFactory.make(AParseTree parseTree)
Make part-of-speech from Stanford parse tree
|
private static java.lang.String |
AbstractDocumentFactory.treeToString(AParseTree parseTree,
boolean isXml)
Parse tree to string
|
Constructor and Description |
---|
AAnalysis(int sentenceId,
SentenceSegment segment,
java.lang.String text,
java.util.List<WordSegment> wordSegments,
java.util.List<Token> tokens,
AParseTree tree,
AGrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>> typedDependencies,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>> semanticGraphs,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples)
Constructor
|
ATree(AParseTree tree)
Constructor
|
Modifier and Type | Method and Description |
---|---|
private javax.swing.JComponent |
AnalysisDialog.makeParsePanel(AParseTree tree)
Make parse tree panel
|
void |
AnalysisDialog.set(java.lang.String text,
AParseTree aParseTree,
AGrammaticalStructure aGrammaticalStructure,
ASemanticGraph semanticGraph,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples,
boolean lemmatize)
Set data
|
void |
ParseTreeDialog.setTree(AParseTree artifact)
Set tree
|
Modifier and Type | Field and Description |
---|---|
protected AParseTree |
ParseView.tree |
Modifier and Type | Method and Description |
---|---|
AParseTree |
ParseView.getTree() |
Modifier and Type | Method and Description |
---|---|
java.awt.Dimension |
ParseView.getTreeDimension(AParseTree tree,
java.awt.Font font) |
protected static double |
ParseView.height(AParseTree tree,
java.awt.FontMetrics fM) |
protected static java.lang.String |
ParseView.nodeToString(AParseTree tree) |
private static double |
ParseView.paintTree(AParseTree t,
java.awt.geom.Point2D start,
java.awt.Graphics2D g2,
java.awt.FontMetrics fM) |
protected java.awt.FontMetrics |
ParseView.pickFont(java.awt.Graphics2D g2,
AParseTree tree,
java.awt.Dimension space) |
void |
ParseView.setTree(AParseTree tree) |
protected static double |
ParseView.width(AParseTree tree,
java.awt.FontMetrics fM) |
protected static ParseView.WidthResult |
ParseView.widthResult(AParseTree tree,
java.awt.FontMetrics fM) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ToolTipUtils.treeToTooltipString(AParseTree tree,
long format)
Convert tree to tooltip string
|
Modifier and Type | Field and Description |
---|---|
private Document.MapCache<java.lang.Integer,AParseTree> |
Document.parseTrees
Parse tree cache
|
Modifier and Type | Method and Description |
---|---|
AParseTree |
Document.getParseTree(int sentenceIdx) |
Modifier and Type | Class and Description |
---|---|
class |
MutableAParseTree
Mutable parse tree artifact
|
Modifier and Type | Method and Description |
---|---|
AParseTree |
AbstractDocumentFactory.getParseTree(int sentenceIdx) |
AParseTree |
AParseTreeFactory.make(edu.stanford.nlp.trees.Tree treeRoot)
Make parse tree artifact from stanford tree
|
Modifier and Type | Method and Description |
---|---|
void |
MutableAParseTree.setParent(AParseTree parent)
Set parent
|
Modifier and Type | Method and Description |
---|---|
void |
MutableAParseTree.setChildren(java.util.List<AParseTree> children)
Set children
|
Modifier and Type | Method and Description |
---|---|
AParseTree |
IDocumentFactoryService.getParseTree(int sentenceIdx)
Get parse artifact
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
AnalysisPrinter.getReport(int sentenceIdx,
java.lang.String text,
SentenceSegment sentenceSegment,
java.util.Map<java.lang.Integer,Token> tokens,
AParseTree parseTree,
AGrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>> typedDependencies,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>> semanticGraph,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples,
boolean xMLFlag)
Report
|
static java.lang.String[] |
AnalysisPrinter.getReports(int sentenceIdx,
java.lang.String text,
SentenceSegment sentenceSegment,
java.util.List<Token> tokens,
AParseTree parseTree,
AGrammaticalStructure grammaticalStructure,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>> typedDependencies,
java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>> semanticGraph,
ANamedEntities namedEntities,
Sentiment sentiment,
java.util.List<Entailment> entailments,
java.util.List<Triple> triples,
boolean xMLFlag)
Split reports
|
static java.lang.String |
Printer.parseTreeToString(AParseTree parseTree)
Parse tree to string
|
static java.lang.String |
AnalysisPrinter.parseTreeToString(AParseTree parseTree,
boolean xMLFlag)
Parse tree to string
|
static java.lang.String |
Printer.parseTreeToString(AParseTree parseTree,
long format)
Parse tree to string
|
Modifier and Type | Method and Description |
---|---|
private AParseTree |
TreeReader.getTreeFromInputStream() |
static AParseTree |
TreeReader.make(java.lang.String inputString)
This gives you a tree from a String representation (as a bracketed Tree, of the kind produced by
toString() , pennPrint() , or as
in the Penn Treebank. |
AParseTree |
TreeNormalizer.normalizeWholeTree(AParseTree t) |
AParseTree |
TreeReader.readTree()
Reads a single tree in standard Penn Treebank format from the input stream.
|
Modifier and Type | Method and Description |
---|---|
AParseTree |
TreeNormalizer.normalizeWholeTree(AParseTree t) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Integer,AParseTree> |
XMLDocument.parses
Parse trees
|
Modifier and Type | Method and Description |
---|---|
AParseTree |
XMLDocumentFactory.getParseTree(int sentenceIdx) |
private AParseTree |
XMLDocument.makeParse(org.w3c.dom.Element sentenceElement)
Make parse tree from element
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
XMLPrinter.parseTreeToXMLString(AParseTree parseTree)
Make XML string from parse tree
|
private void |
XMLPrinter.walkTree(AParseTree tree,
java.lang.StringBuffer sb,
java.lang.String indent)
Walk tree graph node
|
Modifier and Type | Method and Description |
---|---|
private void |
XMLDocument.processSentences(org.w3c.dom.Element sentencesElement,
java.lang.StringBuffer textBuilder,
java.util.List<java.util.List<WordSegment>> segments,
java.util.Map<java.lang.Integer,AParseTree> parseTrees,
java.util.Map<java.lang.Integer,AGrammaticalStructure> grammaticalStructures,
java.util.Map<java.lang.Integer,java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ATypedDependencies>>> typedDependencies,
java.util.Map<java.lang.Integer,java.util.Map<TypedDependencyProvider,java.util.Map<TypedDependencyMode,ASemanticGraph>>> semanticGraphs,
java.util.Map<java.lang.Integer,Sentiment> sentiments,
java.util.Map<java.lang.Integer,java.util.List<Entailment>> entailments,
java.util.Map<java.lang.Integer,java.util.List<Triple>> triples)
Process sentence
|
Modifier and Type | Method and Description |
---|---|
AParseTree |
NullDocumentFactory.getParseTree(int sentenceIdx) |