![]() |
GrammarScope
4.0.0
|
Static Public Member Functions | |
static String | buildDocument (final String[] reports, final boolean xMLFlag) |
static String | getReport (final int sentenceIdx, final String text, final SentenceSegment sentenceSegment, final Map< Integer, Token > tokens, final AParseTree parseTree, final AGrammaticalStructure grammaticalStructure, final Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies >> typedDependencies, final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraph, final ANamedEntities namedEntities, final Sentiment sentiment, final List< Entailment > entailments, final List< Triple > triples, final boolean xMLFlag) throws RuntimeException |
static String[] | getReports (@SuppressWarnings("unused") final int sentenceIdx, final String text, final SentenceSegment sentenceSegment, final List< Token > tokens, final AParseTree parseTree, final AGrammaticalStructure grammaticalStructure, final Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies >> typedDependencies, final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraph, final ANamedEntities namedEntities, final Sentiment sentiment, final List< Entailment > entailments, final List< Triple > triples, final boolean xMLFlag) throws RuntimeException |
static String[] | getReports (final AAnalysis analysis, final boolean xMLFlag) |
static String | tokensToString (final List< Token > tokens, final boolean xMLFlag) |
static String | tokensToString (final Map< Integer, Token > tokens, final boolean xMLFlag) |
static String | parseTreeToString (final AParseTree parseTree, final boolean xMLFlag) |
static String | grammaticalStructureToString (final AGrammaticalStructure grammaticalStructure, final boolean xMLFlag) |
static String | typedDependenciesToString (final Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies >> typedDependencies, final boolean xMLFlag) |
static String | semanticGraphsToString (final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraphs, final boolean xMLFlag) |
static String | coreferencesToString (final ACoreferences coreferences, final boolean xMLFlag) |
Private Member Functions | |
AnalysisPrinter () | |
Static Private Member Functions | |
static String | namedEntitiesToString (final ANamedEntities namedEntities, final boolean xMLFlag) |
static String | sentimentToString (final Sentiment sentiment, final boolean xMLFlag) |
static String | entailmentsToString (final List< Entailment > entailments, final boolean isXml) |
static String | triplesToString (final List< Triple > triples, final boolean isXml) |
Static Private Attributes | |
static final XMLPrinter | xMLPrinter = new XMLPrinterGrammarScope() |
|
private |
|
static |
Build text report
reports | reports |
xMLFlag | XML format |
|
static |
Coreferences to string
coreferences | coreferences |
xMLFlag | XML output format |
|
staticprivate |
Entailments to string
entailments | entailments |
isXml | xml format |
|
static |
Report
sentenceIdx | sentence index |
text | text |
sentenceSegment | sentence segment |
tokens | tokens |
parseTree | parse tree |
grammaticalStructure | grammatical structure |
typedDependencies | typed dependencies |
semanticGraph | semantic graph |
namedEntities | named entities |
sentiment | sentiment |
entailments | entailments |
triples | triples |
xMLFlag | report inXML format |
RuntimeException | exception |
|
static |
Split reports
sentenceIdx | sentence index |
text | text |
sentenceSegment | sentence segment |
tokens | token |
parseTree | parse tree |
grammaticalStructure | grammatical structure |
typedDependencies | typed dependencies |
semanticGraph | semantic graph |
namedEntities | named entities |
sentiment | sentiment |
entailments | entailments |
triples | triples |
xMLFlag | report inXML format |
RuntimeException | exception |
|
static |
Get reports
analysis | analysis |
xMLFlag | XML output format |
|
static |
Grammatical structure
grammaticalStructure | grammatical structure |
xMLFlag | XML output format |
|
staticprivate |
Named entities to string
namedEntities | named entities |
xMLFlag | XML output format |
|
static |
Parse tree to string
parseTree | parse tree |
xMLFlag | XML output format |
|
static |
Semantic graphs to string
semanticGraphs | semantic graph |
xMLFlag | XML output format |
|
staticprivate |
Named entities to string
sentiment | sentiment |
xMLFlag | XML output format |
|
static |
Tokens to string
tokens | tokens |
xMLFlag | XML output format |
|
static |
Tokens to string
tokens | sentence word segments |
xMLFlag | XML output format |
|
staticprivate |
Triples to string
triples | triples |
isXml | xml format |
|
static |
Typed dependencies to string
typedDependencies | typed dependencies |
xMLFlag | XML output format |
|
staticprivate |
XML printer