![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| XMLDocumentFactory (final URL url) | |
| boolean | init (final String text) |
| String | getText () throws RuntimeException |
| List< WordSegment > | getWords () throws RuntimeException |
| int | getSentenceCount () throws RuntimeException |
| List< SentenceSegment > | getSentences () throws RuntimeException |
| List< Token > | getTokens (final int sentenceIdx) throws RuntimeException |
| APartsOfSpeech | getPoses (final int sentenceIdx) throws RuntimeException |
| AParseTree | getParseTree (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) throws RuntimeException |
| List< Entailment > | getEntailments (final int sentenceIdx) throws RuntimeException |
| List< Triple > | getTriples (final int sentenceIdx) throws RuntimeException |
| ACoreferences | getCoreferences () throws RuntimeException |
| AAnalysis | getAnalysis (final int sentenceIdx) throws RuntimeException |
| ATextAnalysis | getTextAnalysis (final TypedDependencyProvider provider, final TypedDependencyMode mode) 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 |
| TypedDependencyProvider[] | getSupportedProviders () |
| TypedDependencyMode[] | getSupportedModes () |
Public Member Functions inherited from grammarscope.io.xml.XMLDocument | |
| boolean | init () |
Document (as read from XML formatted data)
| grammarscope.io.xml.XMLDocumentFactory.XMLDocumentFactory | ( | final URL | url | ) |
Constructor
| url | XML document URL |
| AAnalysis grammarscope.io.xml.XMLDocumentFactory.getAnalysis | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get (sentence) analysis artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ACoreferences grammarscope.io.xml.XMLDocumentFactory.getCoreferences | ( | ) | throws RuntimeException |
Get coreferences artifact
Implements grammarscope.iface.IDocumentFactoryService.
| List<Entailment> grammarscope.io.xml.XMLDocumentFactory.getEntailments | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get entailments
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AGrammaticalStructure grammarscope.io.xml.XMLDocumentFactory.getGrammaticalStructure | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get grammatical structure artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ANamedEntities grammarscope.io.xml.XMLDocumentFactory.getNamedEntities | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get named entities artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AParseTree grammarscope.io.xml.XMLDocumentFactory.getParseTree | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parse artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| APartsOfSpeech grammarscope.io.xml.XMLDocumentFactory.getPoses | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parts-of-speech artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ARelationDependents grammarscope.io.xml.XMLDocumentFactory.getRelationDependents | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get relation dependents artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.io.xml.XMLDocumentFactory.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.io.xml.XMLDocumentFactory.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.io.xml.XMLDocumentFactory.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.io.xml.XMLDocumentFactory.getSemanticGraphs | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get semantic graph artifacts
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| int grammarscope.io.xml.XMLDocumentFactory.getSentenceCount | ( | ) | throws RuntimeException |
| List<SentenceSegment> grammarscope.io.xml.XMLDocumentFactory.getSentences | ( | ) | throws RuntimeException |
Get sentences
Implements grammarscope.iface.IDocumentFactoryService.
| Sentiment grammarscope.io.xml.XMLDocumentFactory.getSentiment | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get sentiment
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| TypedDependencyMode [] grammarscope.io.xml.XMLDocumentFactory.getSupportedModes | ( | ) |
Get supported typed dependency modes
Implements grammarscope.iface.IDocumentFactoryService.
| TypedDependencyProvider [] grammarscope.io.xml.XMLDocumentFactory.getSupportedProviders | ( | ) |
Get supported typed dependency providers
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.io.xml.XMLDocumentFactory.getText | ( | ) | throws RuntimeException |
Get text
Implements grammarscope.iface.IDocumentFactoryService.
| ATextAnalysis grammarscope.io.xml.XMLDocumentFactory.getTextAnalysis | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get text analysis
| provider | provider |
| mode | mode |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.io.xml.XMLDocumentFactory.getTextReport | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode, | ||
| final boolean | xMLModeFlag | ||
| ) | throws RuntimeException |
Get text report
| mode | typed dependency mode |
| xMLModeFlag | xml form |
| RuntimeException | exception |
Implements grammarscope.iface.IDocumentFactoryService.
| String [] grammarscope.io.xml.XMLDocumentFactory.getTextReports | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode, | ||
| final boolean | xMLModeFlag | ||
| ) | throws RuntimeException |
Get text reports
| mode | typed dependency mode |
| xMLModeFlag | xml form |
| RuntimeException | exception |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Token> grammarscope.io.xml.XMLDocumentFactory.getTokens | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get tokens
| sentenceIdx | sentence index |
| RuntimeException | runtime exception |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Triple> grammarscope.io.xml.XMLDocumentFactory.getTriples | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get triples
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| Map<TypedDependencyProvider, Map<TypedDependencyMode, ATypedDependencies> > grammarscope.io.xml.XMLDocumentFactory.getTypedDependencies | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get typed dependencies artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ATypedDependencies grammarscope.io.xml.XMLDocumentFactory.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.io.xml.XMLDocumentFactory.getWords | ( | ) | throws RuntimeException |
| boolean grammarscope.io.xml.XMLDocumentFactory.init | ( | final String | text | ) |
Init processing
| text | input text |
Implements grammarscope.iface.IDocumentFactory.
1.8.17