![]() |
GrammarScope
4.0.0
|
Public Member Functions | |
Analysis (final String text, final SentenceSegment segment, final List< Token > tokens, final Tree parseTree, final GrammaticalStructure grammaticalStructure, final Map< TypedDependencyMode, Collection< TypedDependency >> typedDependencies, final Map< TypedDependencyMode, Collection< TypedDependency >> typedDependencies2, final Map< TypedDependencyMode, SemanticGraph > semanticGraphs, final Map< TypedDependencyMode, SemanticGraph > semanticGraphs2, final List< NamedEntity > namedEntities, final Sentiment sentiment, final List< Entailment > entailments, final List< Triple > triples) | |
Public Attributes | |
final String | text |
final SentenceSegment | segment |
final List< Token > | tokens |
final Tree | parseTree |
final GrammaticalStructure | grammaticalStructure |
final Map< TypedDependencyMode, Collection< TypedDependency > > | typedDependencies |
final Map< TypedDependencyMode, Collection< TypedDependency > > | typedDependencies2 |
final Map< TypedDependencyMode, SemanticGraph > | semanticGraphs |
final Map< TypedDependencyMode, SemanticGraph > | semanticGraphs2 |
final List< NamedEntity > | namedEntities |
final Sentiment | sentiment |
final List< Entailment > | entailments |
final List< Triple > | triples |
Static Private Attributes | |
static final long | serialVersionUID = 5333913419938383353L |
Class that bundles sentence analysis results
grammarscope.server.iface.Analysis.Analysis | ( | final String | text, |
final SentenceSegment | segment, | ||
final List< Token > | tokens, | ||
final Tree | parseTree, | ||
final GrammaticalStructure | grammaticalStructure, | ||
final Map< TypedDependencyMode, Collection< TypedDependency >> | typedDependencies, | ||
final Map< TypedDependencyMode, Collection< TypedDependency >> | typedDependencies2, | ||
final Map< TypedDependencyMode, SemanticGraph > | semanticGraphs, | ||
final Map< TypedDependencyMode, SemanticGraph > | semanticGraphs2, | ||
final List< NamedEntity > | namedEntities, | ||
final Sentiment | sentiment, | ||
final List< Entailment > | entailments, | ||
final List< Triple > | triples | ||
) |
Constructor
text | text |
segment | segment |
tokens | token |
parseTree | parse tree |
grammaticalStructure | grammatical structure |
typedDependencies | mode-indexed typed dependencies |
semanticGraphs | mode-indexed semantic graphs |
namedEntities | named entities |
sentiment | sentiment |
entailments | entailed sentences |
triples | relation triples |
final List<Entailment> grammarscope.server.iface.Analysis.entailments |
Sentence's entailed sentences
final GrammaticalStructure grammarscope.server.iface.Analysis.grammaticalStructure |
Sentence's grammatical structure
final List<NamedEntity> grammarscope.server.iface.Analysis.namedEntities |
Sentence's named entities
final Tree grammarscope.server.iface.Analysis.parseTree |
Sentence's parse tree
final SentenceSegment grammarscope.server.iface.Analysis.segment |
Sentence's segment
final Map<TypedDependencyMode, SemanticGraph> grammarscope.server.iface.Analysis.semanticGraphs |
Sentence's semantic graphs
final Map<TypedDependencyMode, SemanticGraph> grammarscope.server.iface.Analysis.semanticGraphs2 |
Sentence's semantic graphs (workflow 2)
final Sentiment grammarscope.server.iface.Analysis.sentiment |
Sentence's sentiment
|
staticprivate |
final String grammarscope.server.iface.Analysis.text |
Sentence's text
final List<Token> grammarscope.server.iface.Analysis.tokens |
Sentence's tokens
final List<Triple> grammarscope.server.iface.Analysis.triples |
Sentence's relation triples
final Map<TypedDependencyMode, Collection<TypedDependency> > grammarscope.server.iface.Analysis.typedDependencies |
Sentence's typed dependencies
final Map<TypedDependencyMode, Collection<TypedDependency> > grammarscope.server.iface.Analysis.typedDependencies2 |
Sentence's typed dependencies (workflow 2)