![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| boolean | init (final String text) |
| String | getText () throws RuntimeException |
| List< WordSegment > | getWords () throws RuntimeException |
| List< SentenceSegment > | getSentences () throws RuntimeException |
| int | getSentenceCount () 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) 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 | getReport (final int sentenceIdx, final boolean xmlFlag) throws RuntimeException |
| String[] | getReports (final int sentenceIdx, final boolean xmlFlag) throws RuntimeException |
| String | getTextReport (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xmlFlag) throws RuntimeException |
| String[] | getTextReports (final TypedDependencyProvider provider, final TypedDependencyMode mode, final boolean xmlFlag) throws RuntimeException |
| TypedDependencyProvider[] | getSupportedProviders () |
| TypedDependencyMode[] | getSupportedModes () |
Private Attributes | |
| String | text |
| AAnalysis grammarscope.server.NullDocumentFactory.getAnalysis | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get (sentence) analysis artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ACoreferences grammarscope.server.NullDocumentFactory.getCoreferences | ( | ) | throws RuntimeException |
Get coreferences artifact
Implements grammarscope.iface.IDocumentFactoryService.
| List<Entailment> grammarscope.server.NullDocumentFactory.getEntailments | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get entailments
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AGrammaticalStructure grammarscope.server.NullDocumentFactory.getGrammaticalStructure | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get grammatical structure artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ANamedEntities grammarscope.server.NullDocumentFactory.getNamedEntities | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get named entities artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| AParseTree grammarscope.server.NullDocumentFactory.getParseTree | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parse artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| APartsOfSpeech grammarscope.server.NullDocumentFactory.getPoses | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get parts-of-speech artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ARelationDependents grammarscope.server.NullDocumentFactory.getRelationDependents | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get relation dependents artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.server.NullDocumentFactory.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.server.NullDocumentFactory.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.server.NullDocumentFactory.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.server.NullDocumentFactory.getSemanticGraphs | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get semantic graph artifacts
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| int grammarscope.server.NullDocumentFactory.getSentenceCount | ( | ) | throws RuntimeException |
| List<SentenceSegment> grammarscope.server.NullDocumentFactory.getSentences | ( | ) | throws RuntimeException |
Get sentences
Implements grammarscope.iface.IDocumentFactoryService.
| Sentiment grammarscope.server.NullDocumentFactory.getSentiment | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get sentiment
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| TypedDependencyMode [] grammarscope.server.NullDocumentFactory.getSupportedModes | ( | ) |
Get supported typed dependency modes
Implements grammarscope.iface.IDocumentFactoryService.
| TypedDependencyProvider [] grammarscope.server.NullDocumentFactory.getSupportedProviders | ( | ) |
Get supported typed dependency providers
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.server.NullDocumentFactory.getText | ( | ) | throws RuntimeException |
Get text
Implements grammarscope.iface.IDocumentFactoryService.
| ATextAnalysis grammarscope.server.NullDocumentFactory.getTextAnalysis | ( | final TypedDependencyProvider | provider, |
| final TypedDependencyMode | mode | ||
| ) | throws RuntimeException |
Get text analysis
| provider | provider |
| mode | mode |
Implements grammarscope.iface.IDocumentFactoryService.
| String grammarscope.server.NullDocumentFactory.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.server.NullDocumentFactory.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.server.NullDocumentFactory.getTokens | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get tokens
| sentenceIdx | sentence index |
| RuntimeException | runtime exception |
Implements grammarscope.iface.IDocumentFactoryService.
| List<Triple> grammarscope.server.NullDocumentFactory.getTriples | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get triples
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| Map<TypedDependencyProvider, Map<TypedDependencyMode, ATypedDependencies> > grammarscope.server.NullDocumentFactory.getTypedDependencies | ( | final int | sentenceIdx | ) | throws RuntimeException |
Get typed dependencies artifact
| sentenceIdx | sentence index |
Implements grammarscope.iface.IDocumentFactoryService.
| ATypedDependencies grammarscope.server.NullDocumentFactory.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.server.NullDocumentFactory.getWords | ( | ) | throws RuntimeException |
| boolean grammarscope.server.NullDocumentFactory.init | ( | final String | text | ) |
Init processing
| text | input text |
Implements grammarscope.iface.IDocumentFactory.
|
private |
1.8.17