|
static String | buildDocument (final String[] theseReports, final boolean thisXMLFlag) |
|
static String | getReport (final int thisSentenceIdx, final String thisText, final SentenceSegment thisSentenceSegment, final List< WordSegment > theseWordSegments, final AParseTree thisParseTree, final AGrammaticalStructure thisGrammaticalStructure, final Map< TypedDependencyMode, ATypedDependencies > theseTypedDependencies, final Map< TypedDependencyMode, ASemanticGraph > thisSemanticGraph, final ANamedEntities theseNamedEntities, final boolean thisXMLFlag) throws RuntimeException |
|
static String[] | getReports (final int thisSentenceIdx, final String thisText, final SentenceSegment thisSentenceSegment, final List< WordSegment > theseWordSegments, final AParseTree thisParseTree, final AGrammaticalStructure thisGrammaticalStructure, final Map< TypedDependencyMode, ATypedDependencies > theseTypedDependencies, final Map< TypedDependencyMode, ASemanticGraph > thisSemanticGraph, final ANamedEntities theseNamedEntities, final boolean thisXMLFlag) throws RuntimeException |
|
static String[] | getReports (final AAnalysis thisAnalysis, final boolean thisXMLFlag) |
|
static String | tokensToString (final String thisSentenceText, final List< WordSegment > theseWordSegments, final boolean thisXMLFlag) |
|
static String | parseTreeToString (final AParseTree thisParseTree, final boolean thisXMLFlag) |
|
static String | grammaticalStructureToString (final AGrammaticalStructure thisGrammaticalStructure, final boolean thisXMLFlag) |
|
static String | typedDependenciesToString (final Map< TypedDependencyMode, ATypedDependencies > theseTypedDependencies, final boolean thisXMLFlag) |
|
static String | semanticGraphsToString (final Map< TypedDependencyMode, ASemanticGraph > theseSemanticGraphs, final boolean thisXMLFlag) |
|
static String | coreferencesToString (final ACoreferences theseCoreferences, final boolean thisXMLFlag) |
|
grammarscope.io.print.AnalysisPrinter.AnalysisPrinter |
( |
| ) |
|
|
private |
static String grammarscope.io.print.AnalysisPrinter.buildDocument |
( |
final String[] |
theseReports, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Build text report
- Parameters
-
theseReports | reports |
thisXMLFlag | XML format |
- Returns
- text report
static String grammarscope.io.print.AnalysisPrinter.coreferencesToString |
( |
final ACoreferences |
theseCoreferences, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Coreferences to string
- Parameters
-
theseCoreferences | coreferences |
thisXMLFlag | XML output format |
- Returns
- string
static String grammarscope.io.print.AnalysisPrinter.getReport |
( |
final int |
thisSentenceIdx, |
|
|
final String |
thisText, |
|
|
final SentenceSegment |
thisSentenceSegment, |
|
|
final List< WordSegment > |
theseWordSegments, |
|
|
final AParseTree |
thisParseTree, |
|
|
final AGrammaticalStructure |
thisGrammaticalStructure, |
|
|
final Map< TypedDependencyMode, ATypedDependencies > |
theseTypedDependencies, |
|
|
final Map< TypedDependencyMode, ASemanticGraph > |
thisSemanticGraph, |
|
|
final ANamedEntities |
theseNamedEntities, |
|
|
final boolean |
thisXMLFlag |
|
) |
| throws RuntimeException |
|
static |
Report
- Parameters
-
thisSentenceIdx | sentence index |
thisText | text |
thisSentenceSegment | sentence segment |
theseWordSegments | word segments |
thisParseTree | parse tree |
thisGrammaticalStructure | grammatical structure |
theseTypedDependencies | typed dependencies |
thisSemanticGraph | semantic graph |
theseNamedEntities | named entities |
thisXMLFlag | report inXML format |
- Returns
- report
- Exceptions
-
static String [] grammarscope.io.print.AnalysisPrinter.getReports |
( |
final int |
thisSentenceIdx, |
|
|
final String |
thisText, |
|
|
final SentenceSegment |
thisSentenceSegment, |
|
|
final List< WordSegment > |
theseWordSegments, |
|
|
final AParseTree |
thisParseTree, |
|
|
final AGrammaticalStructure |
thisGrammaticalStructure, |
|
|
final Map< TypedDependencyMode, ATypedDependencies > |
theseTypedDependencies, |
|
|
final Map< TypedDependencyMode, ASemanticGraph > |
thisSemanticGraph, |
|
|
final ANamedEntities |
theseNamedEntities, |
|
|
final boolean |
thisXMLFlag |
|
) |
| throws RuntimeException |
|
static |
Split reports
- Parameters
-
thisSentenceIdx | sentence index |
thisText | text |
thisSentenceSegment | sentence segment |
theseWordSegments | word segments |
thisParseTree | parse tree |
thisGrammaticalStructure | grammatical structure |
theseTypedDependencies | typed dependencies |
thisSemanticGraph | semantic graph |
theseNamedEntities | named entities |
thisXMLFlag | report inXML format |
- Returns
- reports
- Exceptions
-
static String [] grammarscope.io.print.AnalysisPrinter.getReports |
( |
final AAnalysis |
thisAnalysis, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Get reports
- Parameters
-
thisAnalysis | analysis |
thisXMLFlag | XML output format |
- Returns
- reports
static String grammarscope.io.print.AnalysisPrinter.grammaticalStructureToString |
( |
final AGrammaticalStructure |
thisGrammaticalStructure, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Grammatical structure
- Parameters
-
thisGrammaticalStructure | grammatical structure |
thisXMLFlag | XML output format |
- Returns
- string
static String grammarscope.io.print.AnalysisPrinter.namedEntitiesToString |
( |
final ANamedEntities |
theseNamedEntities, |
|
|
boolean |
thisXMLFlag |
|
) |
| |
|
staticprivate |
Named entities to string
- Parameters
-
theseNamedEntities | named entities |
thisXMLFlag | XML output format |
- Returns
- string
static String grammarscope.io.print.AnalysisPrinter.parseTreeToString |
( |
final AParseTree |
thisParseTree, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Parse tree to string
- Parameters
-
thisParseTree | parse tree |
thisXMLFlag | XML output format |
- Returns
- string
static String grammarscope.io.print.AnalysisPrinter.semanticGraphsToString |
( |
final Map< TypedDependencyMode, ASemanticGraph > |
theseSemanticGraphs, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Semantic graphs to string
- Parameters
-
theseSemanticGraphs | semantic graph |
thisXMLFlag | XML output format |
- Returns
- string
static String grammarscope.io.print.AnalysisPrinter.tokensToString |
( |
final String |
thisSentenceText, |
|
|
final List< WordSegment > |
theseWordSegments, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Tokens to string
- Parameters
-
thisSentenceText | sentence text |
theseWordSegments | sentence word segments |
thisXMLFlag | XML output format |
- Returns
- string
static String grammarscope.io.print.AnalysisPrinter.typedDependenciesToString |
( |
final Map< TypedDependencyMode, ATypedDependencies > |
theseTypedDependencies, |
|
|
final boolean |
thisXMLFlag |
|
) |
| |
|
static |
Typed dependencies to string
- Parameters
-
theseTypedDependencies | typed dependencies |
thisXMLFlag | XML output format |
- Returns
- string
The documentation for this class was generated from the following file: