![]() |
GrammarScope
4.0.0
|
Public Member Functions | |
String | getText () |
List< WordSegment > | getWordSegments () |
List< SentenceSegment > | getSentenceSegments () |
Segmentation | getSegmentation () |
List< Token > | getTokens (int sentenceIdx) |
Tree | getParseTree (int sentenceIdx) |
GrammaticalStructure | getGrammaticalStructure (int sentenceIdx) |
Collection< TypedDependency > | getTypedDependencies (int sentenceIdx, TypedDependencyMode mode) |
Collection< TypedDependency > | getTypedDependencies2 (int sentenceIdx, TypedDependencyMode mode) |
SemanticGraph | getSemanticGraph (int sentenceIdx, TypedDependencyMode mode) |
SemanticGraph | getSemanticGraph2 (int sentenceIdx, TypedDependencyMode mode) |
Sentiment | getSentiment (int sentenceIdx) |
List< NamedEntity > | getNamedEntities (int sentenceIdx) |
List< Entailment > | getEntailments (int sentenceIdx) |
List< Triple > | getRelationTriples (int sentenceIdx) |
Map< Integer, CorefChain > | getCoreferenceChains () |
Pipeline annotation
Map<Integer, CorefChain> grammarscope.server.corenlp.iface.IPipelineAnnotation.getCoreferenceChains | ( | ) |
Get text coreference chains
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
List<Entailment> grammarscope.server.corenlp.iface.IPipelineAnnotation.getEntailments | ( | int | sentenceIdx | ) |
Get entailed sentences
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
GrammaticalStructure grammarscope.server.corenlp.iface.IPipelineAnnotation.getGrammaticalStructure | ( | int | sentenceIdx | ) |
Get sentence grammatical structure
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
List<NamedEntity> grammarscope.server.corenlp.iface.IPipelineAnnotation.getNamedEntities | ( | int | sentenceIdx | ) |
Get named entities
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
Tree grammarscope.server.corenlp.iface.IPipelineAnnotation.getParseTree | ( | int | sentenceIdx | ) |
Get sentence parse tree
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
List<Triple> grammarscope.server.corenlp.iface.IPipelineAnnotation.getRelationTriples | ( | int | sentenceIdx | ) |
Get relation triples (subject-relation-object)
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
Segmentation grammarscope.server.corenlp.iface.IPipelineAnnotation.getSegmentation | ( | ) |
SemanticGraph grammarscope.server.corenlp.iface.IPipelineAnnotation.getSemanticGraph | ( | int | sentenceIdx, |
TypedDependencyMode | mode | ||
) |
Get semantic graph
sentenceIdx | sentence index |
mode | typed dependency mode |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
SemanticGraph grammarscope.server.corenlp.iface.IPipelineAnnotation.getSemanticGraph2 | ( | int | sentenceIdx, |
TypedDependencyMode | mode | ||
) |
Get semantic graph (workflow 2)
sentenceIdx | sentence index |
mode | typed dependency mode |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
List<SentenceSegment> grammarscope.server.corenlp.iface.IPipelineAnnotation.getSentenceSegments | ( | ) |
Get sentence segments
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
Sentiment grammarscope.server.corenlp.iface.IPipelineAnnotation.getSentiment | ( | int | sentenceIdx | ) |
Get named entities
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
String grammarscope.server.corenlp.iface.IPipelineAnnotation.getText | ( | ) |
List<Token> grammarscope.server.corenlp.iface.IPipelineAnnotation.getTokens | ( | int | sentenceIdx | ) |
Get sentence tokens
sentenceIdx | sentence index |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
Collection<TypedDependency> grammarscope.server.corenlp.iface.IPipelineAnnotation.getTypedDependencies | ( | int | sentenceIdx, |
TypedDependencyMode | mode | ||
) |
Get sentence typed dependencies
sentenceIdx | sentence index |
mode | typed dependency mode |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
Collection<TypedDependency> grammarscope.server.corenlp.iface.IPipelineAnnotation.getTypedDependencies2 | ( | int | sentenceIdx, |
TypedDependencyMode | mode | ||
) |
Get sentence typed dependencies (workflow 2)
sentenceIdx | sentence index |
mode | typed dependency mode |
Implemented in grammarscope.server.corenlp.PipelineAnnotation.
List<WordSegment> grammarscope.server.corenlp.iface.IPipelineAnnotation.getWordSegments | ( | ) |
Get word segments
Implemented in grammarscope.server.corenlp.PipelineAnnotation.