![]() |
GrammarScope
4.0.0
|


Public Member Functions | |
| PipelineAnnotation (final Pipeline pipeline, final String text) | |
| String | getText () |
| List< SentenceSegment > | getSentenceSegments () |
| List< WordSegment > | getWordSegments () |
| Segmentation | getSegmentation () |
| Tree | getParseTree (final int sentenceIdx) |
| List< Token > | getTokens (final int sentenceIdx) |
| GrammaticalStructure | getGrammaticalStructure (final int sentenceIdx) |
| Collection< TypedDependency > | getTypedDependencies (final int sentenceIdx, final TypedDependencyMode mode) |
| Collection< TypedDependency > | getTypedDependencies2 (final int sentenceIdx, final TypedDependencyMode mode) |
| SemanticGraph | getSemanticGraph (final int sentenceIdx, final TypedDependencyMode mode) |
| SemanticGraph | getSemanticGraph2 (final int sentenceIdx, final TypedDependencyMode mode) |
| List< NamedEntity > | getNamedEntities (final int sentenceIdx) |
| Sentiment | getSentiment (final int sentenceIdx) |
| List< Entailment > | getEntailments (final int sentenceIdx) |
| List< Triple > | getRelationTriples (final int sentenceIdx) |
| Map< Integer, CorefChain > | getCoreferenceChains () |
Package Attributes | |
| final TextBreadthAnalysis | analysis |
Private Attributes | |
| final Annotation | annotation |
Annotation (produced by pipeline)
| grammarscope.server.corenlp.PipelineAnnotation.PipelineAnnotation | ( | final Pipeline | pipeline, |
| final String | text | ||
| ) |
Constructor
| pipeline | pipeline |
| text | text |
| Map<Integer, CorefChain> grammarscope.server.corenlp.PipelineAnnotation.getCoreferenceChains | ( | ) |
Get text coreference chains
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| List<Entailment> grammarscope.server.corenlp.PipelineAnnotation.getEntailments | ( | final int | sentenceIdx | ) |
Get entailed sentences
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| GrammaticalStructure grammarscope.server.corenlp.PipelineAnnotation.getGrammaticalStructure | ( | final int | sentenceIdx | ) |
Get sentence grammatical structure
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| List<NamedEntity> grammarscope.server.corenlp.PipelineAnnotation.getNamedEntities | ( | final int | sentenceIdx | ) |
Get named entities
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| Tree grammarscope.server.corenlp.PipelineAnnotation.getParseTree | ( | final int | sentenceIdx | ) |
Get sentence parse tree
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| List<Triple> grammarscope.server.corenlp.PipelineAnnotation.getRelationTriples | ( | final int | sentenceIdx | ) |
Get relation triples (subject-relation-object)
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| Segmentation grammarscope.server.corenlp.PipelineAnnotation.getSegmentation | ( | ) |
Get segmentation
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| SemanticGraph grammarscope.server.corenlp.PipelineAnnotation.getSemanticGraph | ( | final int | sentenceIdx, |
| final TypedDependencyMode | mode | ||
| ) |
Get semantic graph
| sentenceIdx | sentence index |
| mode | typed dependency mode |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| SemanticGraph grammarscope.server.corenlp.PipelineAnnotation.getSemanticGraph2 | ( | final int | sentenceIdx, |
| final TypedDependencyMode | mode | ||
| ) |
Get semantic graph (workflow 2)
| sentenceIdx | sentence index |
| mode | typed dependency mode |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| List<SentenceSegment> grammarscope.server.corenlp.PipelineAnnotation.getSentenceSegments | ( | ) |
Get sentence segments
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| Sentiment grammarscope.server.corenlp.PipelineAnnotation.getSentiment | ( | final int | sentenceIdx | ) |
Get named entities
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| String grammarscope.server.corenlp.PipelineAnnotation.getText | ( | ) |
| List<Token> grammarscope.server.corenlp.PipelineAnnotation.getTokens | ( | final int | sentenceIdx | ) |
Get sentence tokens
| sentenceIdx | sentence index |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| Collection<TypedDependency> grammarscope.server.corenlp.PipelineAnnotation.getTypedDependencies | ( | final int | sentenceIdx, |
| final TypedDependencyMode | mode | ||
| ) |
Get sentence typed dependencies
| sentenceIdx | sentence index |
| mode | typed dependency mode |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| Collection<TypedDependency> grammarscope.server.corenlp.PipelineAnnotation.getTypedDependencies2 | ( | final int | sentenceIdx, |
| final TypedDependencyMode | mode | ||
| ) |
Get sentence typed dependencies (workflow 2)
| sentenceIdx | sentence index |
| mode | typed dependency mode |
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
| List<WordSegment> grammarscope.server.corenlp.PipelineAnnotation.getWordSegments | ( | ) |
Get word segments
Implements grammarscope.server.corenlp.iface.IPipelineAnnotation.
|
package |
Analysis derived from annotation
|
private |
Annotation (annotated text)
1.8.17