![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| AbstractDocumentFactory () | |
| boolean | init (final String text) |
| TypedDependencyProvider[] | getSupportedProviders () throws RuntimeException |
| TypedDependencyMode[] | getSupportedModes () throws RuntimeException |
| String | getText () throws RuntimeException |
| List< SentenceSegment > | getSentences () throws RuntimeException |
| int | getSentenceCount () throws RuntimeException |
| List< WordSegment > | getWords () throws RuntimeException |
| List< Token > | getTokens (final int sentenceIdx) throws RuntimeException |
| AParseTree | getParseTree (final int sentenceIdx) throws RuntimeException |
| APartsOfSpeech | getPoses (final int sentenceIdx) throws RuntimeException |
| AGrammaticalStructure | getGrammaticalStructure (final int sentenceIdx) throws RuntimeException |
| ARelationDependents | getRelationDependents (final int sentenceIdx) throws RuntimeException |
| ATypedDependencies | getTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies > > | getTypedDependencies (final int sentenceIdx) throws RuntimeException |
| ASemanticGraph | getSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > | getSemanticGraphs (final int sentenceIdx) throws RuntimeException |
| ANamedEntities | getNamedEntities (final int sentenceIdx) throws RuntimeException |
| Sentiment | getSentiment (final int sentenceIdx) |
| List< Entailment > | getEntailments (final int sentenceIdx) |
| List< Triple > | getTriples (final int sentenceIdx) |
| ACoreferences | getCoreferences () throws RuntimeException |
| ATextAnalysis | getTextAnalysis (final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| AAnalysis | getAnalysis (final int sentenceIdx) throws RuntimeException |
| String[] | getReports (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException |
| String | getReport (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException |
| String | getTextReport (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException |
| String[] | getTextReports (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException |
| abstract String | processText (final String text) throws Exception |
| AbstractDocumentFactory () | |
| boolean | init (final String text) |
| TypedDependencyProvider[] | getSupportedProviders () throws RuntimeException |
| TypedDependencyMode[] | getSupportedModes () throws RuntimeException |
| String | getText () throws RuntimeException |
| List< SentenceSegment > | getSentences () throws RuntimeException |
| int | getSentenceCount () throws RuntimeException |
| List< WordSegment > | getWords () throws RuntimeException |
| List< Token > | getTokens (final int sentenceIdx) throws RuntimeException |
| AParseTree | getParseTree (final int sentenceIdx) throws RuntimeException |
| APartsOfSpeech | getPoses (final int sentenceIdx) throws RuntimeException |
| AGrammaticalStructure | getGrammaticalStructure (final int sentenceIdx) throws RuntimeException |
| ARelationDependents | getRelationDependents (final int sentenceIdx) throws RuntimeException |
| ATypedDependencies | getTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyProvider, Map< TypedDependencyMode, ATypedDependencies > > | getTypedDependencies (final int sentenceIdx) throws RuntimeException |
| ASemanticGraph | getSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > | getSemanticGraphs (final int sentenceIdx) throws RuntimeException |
| ANamedEntities | getNamedEntities (final int sentenceIdx) throws RuntimeException |
| Sentiment | getSentiment (final int sentenceIdx) |
| List< Entailment > | getEntailments (final int sentenceIdx) |
| List< Triple > | getTriples (final int sentenceIdx) |
| ACoreferences | getCoreferences () throws RuntimeException |
| ATextAnalysis | getTextAnalysis (final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| AAnalysis | getAnalysis (final int sentenceIdx) throws RuntimeException |
| String[] | getReports (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException |
| String | getReport (final int sentenceIdx, final boolean xMLFlag) throws RuntimeException |
| String | getTextReport (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException |
| String[] | getTextReports (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xMLModeFlag) throws RuntimeException |
| abstract String | processText (final String text) throws Exception |
Protected Member Functions | |
| ATextAnalysis | getTextAnalysis () |
| Segmentation | getArtifactSegmentation () throws RuntimeException |
| AParseTree | getArtifactParseTree (final int sentenceIdx) throws RuntimeException |
| AGrammaticalStructure | getArtifactGrammaticalStructure (final int sentenceIdx) throws RuntimeException |
| ATypedDependencies | getArtifactTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyMode, ATypedDependencies > | getArtifactTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider) throws RuntimeException |
| ASemanticGraph | getArtifactSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > | getArtifactSemanticGraphs (final int sentenceIdx) throws RuntimeException |
| ANamedEntities | getArtifactNamedEntities (final int sentenceIdx) throws RuntimeException |
| Sentiment | getArtifactSentiment (final int sentenceIdx) throws RuntimeException |
| List< Entailment > | getArtifactEntailments (final int sentenceIdx) |
| List< Triple > | getArtifactTriples (final int sentenceIdx) |
| ACoreferences | getArtifactCoreferences () throws RuntimeException |
| ATextAnalysis | getTextAnalysis () |
| Segmentation | getArtifactSegmentation () throws RuntimeException |
| AParseTree | getArtifactParseTree (final int sentenceIdx) throws RuntimeException |
| AGrammaticalStructure | getArtifactGrammaticalStructure (final int sentenceIdx) throws RuntimeException |
| ATypedDependencies | getArtifactTypedDependencies (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| ASemanticGraph | getArtifactSemanticGraph (final int sentenceIdx, final TypedDependencyProvider provider, final TypedDependencyMode mode) throws RuntimeException |
| Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph > > | getArtifactSemanticGraphs (final int sentenceIdx) throws RuntimeException |
| ANamedEntities | getArtifactNamedEntities (final int sentenceIdx) throws RuntimeException |
| Sentiment | getArtifactSentiment (final int sentenceIdx) throws RuntimeException |
| List< Entailment > | getArtifactEntailments (final int sentenceIdx) |
| List< Triple > | getArtifactTriples (final int sentenceIdx) |
| ACoreferences | getArtifactCoreferences () throws RuntimeException |
Protected Attributes | |
| ATextAnalysis | textAnalysis |
| String | text |
Static Package Attributes | |
| static XMLPrinter | xMLPrinter = new XMLPrinterGrammarScope() |
Static Private Member Functions | |
| static List< SentenceSegment > | groupToSentence (final List< List< WordSegment >> sentenceWordSegments) |
| static List< WordSegment > | flatten (final List< List< WordSegment >> sentenceWordSegments) |
| static Segment | getSpan (final List<? extends Segment > segments) |
| static String | tokensToString (final List< Token > tokens, final boolean isXml) |
| static String | treeToString (final AParseTree parseTree, final boolean isXml) |
| static String | grammaticalStructureToString (final AGrammaticalStructure grammaticalStructure, final boolean isXml) |
| static String | typedDependenciesToString (final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraphs, final boolean isXml) |
| static String | semanticGraphsToString (final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraphs, final boolean isXml) |
| static String | namedEntitiesToString (final ANamedEntities namedEntities, final boolean isXml) |
| static String | sentimentToString (final Sentiment sentiment, final boolean isXml) |
| static String | entailmentsToString (final List< Entailment > entailments, final boolean isXml) |
| static String | triplesToString (final List< Triple > triples, final boolean isXml) |
| static String | coreferencesToString (final ACoreferences coreferences, final boolean isXml) |
| static List< SentenceSegment > | groupToSentence (final List< List< WordSegment >> sentenceWordSegments) |
| static List< WordSegment > | flatten (final List< List< WordSegment >> sentenceWordSegments) |
| static Segment | getSpan (final List<? extends Segment > segments) |
| static String | tokensToString (final List< Token > tokens, final boolean isXml) |
| static String | treeToString (final AParseTree parseTree, final boolean isXml) |
| static String | grammaticalStructureToString (final AGrammaticalStructure grammaticalStructure, final boolean isXml) |
| static String | typedDependenciesToString (final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraphs, final boolean isXml) |
| static String | semanticGraphsToString (final Map< TypedDependencyProvider, Map< TypedDependencyMode, ASemanticGraph >> semanticGraphs, final boolean isXml) |
| static String | namedEntitiesToString (final ANamedEntities namedEntities, final boolean isXml) |
| static String | sentimentToString (final Sentiment sentiment, final boolean isXml) |
| static String | entailmentsToString (final List< Entailment > entailments, final boolean isXml) |
| static String | triplesToString (final List< Triple > triples, final boolean isXml) |
| static String | coreferencesToString (final ACoreferences coreferences, final boolean isXml) |
Private Attributes | |
| List< WordSegment > | wordSegments |
| List< SentenceSegment > | sentenceSegments |
| grammarscope.artifacts.AbstractDocumentFactory.AbstractDocumentFactory | ( | ) |
Constructor
| grammarscope.artifacts.AbstractDocumentFactory.AbstractDocumentFactory | ( | ) |
Constructor
|
staticprivate |
Coreferences to string
| coreferences | coreferences |
| isXml | xml format |
|
staticprivate |
Coreferences to string
| coreferences | coreferences |
| isXml | xml format |
|
staticprivate |
Entailments to string
| entailments | entailments |
| isXml | xml format |
|
staticprivate |
Entailments to string
| entailments | entailments |
| isXml | xml format |
|
staticprivate |
Flatten hierarchical list of per-sentence word segments
| sentenceWordSegments | hierarchical list of per-sentence word segments |
|
staticprivate |
Flatten hierarchical list of per-sentence word segments
| sentenceWordSegments | hierarchical list of per-sentence word segments |
| AAnalysis grammarscope.artifacts.AbstractDocumentFactory.getAnalysis | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get (sentence) analysis artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AAnalysis grammarscope.artifacts.AbstractDocumentFactory.getAnalysis | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get (sentence) analysis artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
|
protected |
Get coreferences
|
protected |
Get coreferences
|
protected |
Get entailments
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get entailments
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get grammatical structure
| sentenceIdx | sentence |
|
protected |
Get grammatical structure
| sentenceIdx | sentence |
|
protected |
Get named entities
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get named entities
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get parse tree
| sentenceIdx | word list sentence |
| RuntimeException | exception |
|
protected |
Get parse tree
| sentenceIdx | word list sentence |
| RuntimeException | exception |
|
protected |
Get segmentation
| RuntimeException | exception |
|
protected |
Get segmentation
| RuntimeException | exception |
|
protected |
Get semantic graph
| sentenceIdx | sentence |
| provider | typed dependency provider |
| mode | typed dependency mode |
|
protected |
Get semantic graph
| sentenceIdx | sentence |
| provider | typed dependency provider |
| mode | typed dependency mode |
|
protected |
Get semantic graphs
| sentenceIdx | sentence |
|
protected |
Get semantic graphs
| sentenceIdx | sentence |
|
protected |
Get sentiment
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get sentiment
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get triples
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get triples
| sentenceIdx | sentence index |
| RuntimeException | exception |
|
protected |
Get typed dependencies
| sentenceIdx | sentence |
| provider | typed dependency provider |
| RuntimeException | exception |
|
protected |
Get typed dependencies
| sentenceIdx | sentence |
| provider | typed dependency provider |
| mode | typed dependency mode |
| RuntimeException | exception |
|
protected |
Get typed dependencies
| sentenceIdx | sentence |
| provider | typed dependency provider |
| mode | typed dependency mode |
| RuntimeException | exception |
| ACoreferences grammarscope.artifacts.AbstractDocumentFactory.getCoreferences | ( | ) | throws RuntimeException |
Get coreferences artifact
Implements grammarscope.iface.IDocumentFactoryService.
| ACoreferences grammarscope.artifacts.AbstractDocumentFactory.getCoreferences | ( | ) | throws RuntimeException |
Get coreferences artifact
Implements grammarscope.iface.IDocumentFactoryService.
| List<Entailment> grammarscope.artifacts.AbstractDocumentFactory.getEntailments | ( | final int | sentenceIdx | ) |
Get entailments
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Entailment> grammarscope.artifacts.AbstractDocumentFactory.getEntailments | ( | final int | sentenceIdx | ) |
Get entailments
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AGrammaticalStructure grammarscope.artifacts.AbstractDocumentFactory.getGrammaticalStructure | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get grammatical structure artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AGrammaticalStructure grammarscope.artifacts.AbstractDocumentFactory.getGrammaticalStructure | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get grammatical structure artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ANamedEntities grammarscope.artifacts.AbstractDocumentFactory.getNamedEntities | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get named entities artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ANamedEntities grammarscope.artifacts.AbstractDocumentFactory.getNamedEntities | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get named entities artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AParseTree grammarscope.artifacts.AbstractDocumentFactory.getParseTree | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parse artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AParseTree grammarscope.artifacts.AbstractDocumentFactory.getParseTree | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parse artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| APartsOfSpeech grammarscope.artifacts.AbstractDocumentFactory.getPoses | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parts-of-speech artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| APartsOfSpeech grammarscope.artifacts.AbstractDocumentFactory.getPoses | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parts-of-speech artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ARelationDependents grammarscope.artifacts.AbstractDocumentFactory.getRelationDependents | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get relation dependents artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ARelationDependents grammarscope.artifacts.AbstractDocumentFactory.getRelationDependents | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get relation dependents artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.artifacts.AbstractDocumentFactory.getReport | ( | final int | sentenceIdx, |
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (sentence) analysis string
| sentenceIdx | sentence index |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.artifacts.AbstractDocumentFactory.getReport | ( | final int | sentenceIdx, |
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (sentence) analysis string
| sentenceIdx | sentence index |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| String [] grammarscope.artifacts.AbstractDocumentFactory.getReports | ( | final int | sentenceIdx, |
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (sentence) analysis strings
| sentenceIdx | sentence index |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| String [] grammarscope.artifacts.AbstractDocumentFactory.getReports | ( | final int | sentenceIdx, |
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (sentence) analysis strings
| sentenceIdx | sentence index |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| ASemanticGraph grammarscope.artifacts.AbstractDocumentFactory.getSemanticGraph | ( | final int | sentenceIdx, |
| final TypedDependencyProvider | provider, | ||
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get semantic graph artifact
| sentenceIdx | sentence index |
| provider | typed dependency provider |
| mode | typed dependency mode |
Implements grammarscope.iface.IDocumentFactoryService.
| ASemanticGraph grammarscope.artifacts.AbstractDocumentFactory.getSemanticGraph | ( | final int | sentenceIdx, |
| final TypedDependencyProvider | provider, | ||
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get semantic graph artifact
| sentenceIdx | sentence index |
| provider | typed dependency provider |
| mode | typed dependency mode |
Implements grammarscope.iface.IDocumentFactoryService.
| Map<TypedDependencyProvider, Map<TypedDependencyMode, ASemanticGraph> > grammarscope.artifacts.AbstractDocumentFactory.getSemanticGraphs | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get semantic graph artifacts
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| Map<TypedDependencyProvider, Map<TypedDependencyMode, ASemanticGraph> > grammarscope.artifacts.AbstractDocumentFactory.getSemanticGraphs | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get semantic graph artifacts
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| int grammarscope.artifacts.AbstractDocumentFactory.getSentenceCount | ( | ) | throws RuntimeException |
| int grammarscope.artifacts.AbstractDocumentFactory.getSentenceCount | ( | ) | throws RuntimeException |
| List<SentenceSegment> grammarscope.artifacts.AbstractDocumentFactory.getSentences | ( | ) | throws RuntimeException |
Get sentences
Implements grammarscope.iface.IDocumentFactoryService.
| List<SentenceSegment> grammarscope.artifacts.AbstractDocumentFactory.getSentences | ( | ) | throws RuntimeException |
Get sentences
Implements grammarscope.iface.IDocumentFactoryService.
| Sentiment grammarscope.artifacts.AbstractDocumentFactory.getSentiment | ( | final int | sentenceIdx | ) |
Get sentiment
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| Sentiment grammarscope.artifacts.AbstractDocumentFactory.getSentiment | ( | final int | sentenceIdx | ) |
Get sentiment
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
|
staticprivate |
Span
| segments | segments |
|
staticprivate |
Span
| segments | segments |
| TypedDependencyMode [] grammarscope.artifacts.AbstractDocumentFactory.getSupportedModes | ( | ) | throws RuntimeException |
Get supported typed dependency modes
Implements grammarscope.iface.IDocumentFactoryService.
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.parser.DocumentFactorySync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.
| TypedDependencyMode [] grammarscope.artifacts.AbstractDocumentFactory.getSupportedModes | ( | ) | throws RuntimeException |
Get supported typed dependency modes
Implements grammarscope.iface.IDocumentFactoryService.
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.parser.DocumentFactorySync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.
| TypedDependencyProvider [] grammarscope.artifacts.AbstractDocumentFactory.getSupportedProviders | ( | ) | throws RuntimeException |
Get supported typed dependency providers
Implements grammarscope.iface.IDocumentFactoryService.
| TypedDependencyProvider [] grammarscope.artifacts.AbstractDocumentFactory.getSupportedProviders | ( | ) | throws RuntimeException |
Get supported typed dependency providers
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.artifacts.AbstractDocumentFactory.getText | ( | ) | throws RuntimeException |
Get text
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.artifacts.AbstractDocumentFactory.getText | ( | ) | throws RuntimeException |
Get text
Implements grammarscope.iface.IDocumentFactoryService.
|
protected |
Get text analysis
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync.
|
protected |
Get text analysis
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync.
| ATextAnalysis grammarscope.artifacts.AbstractDocumentFactory.getTextAnalysis | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get text analysis
| provider | provider |
| mode | mode |
Implements grammarscope.iface.IDocumentFactoryService.
| ATextAnalysis grammarscope.artifacts.AbstractDocumentFactory.getTextAnalysis | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get text analysis
| provider | provider |
| mode | mode |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.artifacts.AbstractDocumentFactory.getTextReport | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode, | ||
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (text) analysis string
| provider | provider |
| mode | mode |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.artifacts.AbstractDocumentFactory.getTextReport | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode, | ||
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (text) analysis string
| provider | provider |
| mode | mode |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| String [] grammarscope.artifacts.AbstractDocumentFactory.getTextReports | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode, | ||
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (text) analysis strings
| provider | provider |
| mode | mode |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| String [] grammarscope.artifacts.AbstractDocumentFactory.getTextReports | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode, | ||
| final boolean | xmlFlag | ||
| ) | throws RuntimeException |
Get (text) analysis strings
| provider | provider |
| mode | mode |
| xmlFlag | XML format requested |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Token> grammarscope.artifacts.AbstractDocumentFactory.getTokens | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get tokens
| sentenceIdx | sentence index |
| RuntimeException | runtime exception |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Token> grammarscope.artifacts.AbstractDocumentFactory.getTokens | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get tokens
| sentenceIdx | sentence index |
| RuntimeException | runtime exception |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Triple> grammarscope.artifacts.AbstractDocumentFactory.getTriples | ( | final int | sentenceIdx | ) |
Get triples
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Triple> grammarscope.artifacts.AbstractDocumentFactory.getTriples | ( | final int | sentenceIdx | ) |
Get triples
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| Map<TypedDependencyProvider, Map<TypedDependencyMode, ATypedDependencies> > grammarscope.artifacts.AbstractDocumentFactory.getTypedDependencies | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get typed dependencies artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| Map<TypedDependencyProvider, Map<TypedDependencyMode, ATypedDependencies> > grammarscope.artifacts.AbstractDocumentFactory.getTypedDependencies | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get typed dependencies artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ATypedDependencies grammarscope.artifacts.AbstractDocumentFactory.getTypedDependencies | ( | final int | sentenceIdx, |
| final TypedDependencyProvider | provider, | ||
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get typed dependencies artifact
| sentenceIdx | sentence index |
| provider | typed dependency provider |
| mode | typed dependency mode |
Implements grammarscope.iface.IDocumentFactoryService.
| ATypedDependencies grammarscope.artifacts.AbstractDocumentFactory.getTypedDependencies | ( | final int | sentenceIdx, |
| final TypedDependencyProvider | provider, | ||
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get typed dependencies artifact
| sentenceIdx | sentence index |
| provider | typed dependency provider |
| mode | typed dependency mode |
Implements grammarscope.iface.IDocumentFactoryService.
| List<WordSegment> grammarscope.artifacts.AbstractDocumentFactory.getWords | ( | ) | throws RuntimeException |
| List<WordSegment> grammarscope.artifacts.AbstractDocumentFactory.getWords | ( | ) | throws RuntimeException |
|
staticprivate |
Grammatical structure to string
| grammaticalStructure | grammatical structure |
| isXml | xml format |
|
staticprivate |
Grammatical structure to string
| grammaticalStructure | grammatical structure |
| isXml | xml format |
|
staticprivate |
Make sentence segments and map : returns (list of segments, segment to list of words map)
| sentenceWordSegments | list of sentences |
|
staticprivate |
Make sentence segments and map : returns (list of segments, segment to list of words map)
| sentenceWordSegments | list of sentences |
| boolean grammarscope.artifacts.AbstractDocumentFactory.init | ( | final String | text | ) |
Init processing
| text | input text |
Implements grammarscope.iface.IDocumentFactory.
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.parser.DocumentFactorySync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.
| boolean grammarscope.artifacts.AbstractDocumentFactory.init | ( | final String | text | ) |
Init processing
| text | input text |
Implements grammarscope.iface.IDocumentFactory.
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.parser.DocumentFactorySync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.
|
staticprivate |
Named entities to string
| namedEntities | named entities |
| isXml | xml format |
|
staticprivate |
Named entities to string
| namedEntities | named entities |
| isXml | xml format |
|
abstract |
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.parser.DocumentFactorySync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.
|
abstract |
Reimplemented in grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, grammarscope.artifacts.ejb.client.parser.DocumentFactorySync, grammarscope.artifacts.ejb.client.corenlp.DocumentFactorySync, grammarscope.artifacts.ejb.client.parser.DocumentFactoryAsync, and grammarscope.artifacts.ejb.client.parser.DocumentFactorySync.
|
staticprivate |
Semantic graph to string
| semanticGraphs | semantic graphs |
| isXml | xml format |
|
staticprivate |
Semantic graph to string
| semanticGraphs | semantic graphs |
| isXml | xml format |
|
staticprivate |
Sentiment to string
| sentiment | sentiment |
| isXml | xml format |
|
staticprivate |
Sentiment to string
| sentiment | sentiment |
| isXml | xml format |
|
staticprivate |
Tokens to string
| tokens | tokens |
| isXml | xml format |
|
staticprivate |
Tokens to string
| tokens | tokens |
| isXml | xml format |
|
staticprivate |
Parse tree to string
| parseTree | parse tree |
| isXml | xml format |
|
staticprivate |
Parse tree to string
| parseTree | parse tree |
| isXml | xml format |
|
staticprivate |
Triples to string
| triples | triples |
| isXml | xml format |
|
staticprivate |
Triples to string
| triples | triples |
| isXml | xml format |
|
staticprivate |
Typed dependencies to string
| semanticGraphs | semantic graphs |
| isXml | xml format |
|
staticprivate |
Typed dependencies to string
| semanticGraphs | semantic graphs |
| isXml | xml format |
|
private |
Sentence segments
|
protected |
Text
|
protected |
Analysis
|
private |
Word segments
|
staticpackage |
XML Printer
1.8.17